Manuscript Offprint

arXiv:2609.10969

Engineering Reliable Commit Gates for Agentic AI: Cost-Aware Verification Portfolios under Common-Mode Data Failures

Zihao Zheng, Baichuan Li, Junyi Yao, Jiayu Long

Zihao Zheng*, Baichuan Li†, Junyi Yao*, Jiayu Long*

*Washington University in St. Louis, St. Louis, MO, USA

†Southern Methodist University, Dallas, TX, USA

Abstract—Agentic systems commit state-changing actions, but additional verifiers can inherit the same upstream fault. We present VP-CONTROL, a runtime-assurance design and deterministic benchmark for cost-aware commit gates. Its 48 task templates yield 2,880 scenarios across six fault regimes. A fixed-call 2×22 \times 2 experiment separates verifier-model diversity from evidence-source diversity. On frozen proposals from two local actor families, a cross-model vote over shared evidence approves 62.9% of unsafe proposals, versus 22.9% with an independent source. The source effect is 40.9 percentage points, compared with 11.3 for model diversity. A portfolio controller selects verification plans using only deployment-observable metadata. Approximate cluster-adjusted calibration at a nominal 5% per-task target yields 1.9% unsafe execution and 38.2% automated safe coverage on the locked test. Matched-budget portfolios also improve on fixed verification policies. Transfer remains conditional: unseen fault families yield 16–26% risk, and a FinQA check fails to reproduce the source effect with the tested small verifiers. A preregistered live HTTP/SQLite study tests concurrent writes and lost responses. After-check races defeat verifier-only gates; transactional partial guards prevent only covered failures, while a full atomic guard records no unsafe effects across 216 episodes. Idempotent request identifiers prevent duplicate effects after lost responses. The results motivate explicit evidence lineage, cost-aware selection, and commit-time enforcement, while exposing the limits of approximate calibration and local-tool generalization.

Index Terms—agentic AI, software engineering, runtime verification, fault injection, observability, selective automation, risk control

I. INTRODUCTION

Tool-using language-model agents can restart jobs, modify access control, promote snapshots, and delete artifacts. These operations are not merely answers; they are externally visible software effects. A production runtime therefore needs a commit gate between an agent proposal and the target system. The gate may re-check the proposal, ask another model, read another data source, run a transactional precondition, or defer to a person. Each mechanism has a cost and a distinct failure surface.

The engineering problem is often simplified to “add another verifier.” That rule silently assumes independent evidence. In deployed data pipelines, however, two interfaces may be backed by the same replica, cache, extraction job, or memory record. A stale upstream can then make different verifier models agree on the same wrong state. More votes do not repair a common-mode data failure. A second boundary arises when correct evidence becomes obsolete between a check and the write: even an independent read cannot enforce a precondition that changes before execution. The design question is therefore which evidence to buy, which clauses to enforce atomically, and when to defer.

Recent work examines multi-agent framework maintenance [1], architectural accountability [2], and planner-executor-judge workflows [3]. We study the commit boundary through an observable gate interface, controlled fault injection, and comparisons on identical proposals.

We ask four research questions.

RQ1: Evidence diversity. How much does a second verifier help when it changes the model, the evidence source, or both, under shared-upstream faults?

RQ2: Runtime control. Can a controller choose among heterogeneous verification mechanisms to reduce unsafe commits at a fixed budget, or meet a risk target without unnecessary deferral?

RQ3: Boundaries. Which shifts and observability failures break the result, and does returning better evidence to the actor replace enforcement?

RQ4: Live integration. When the gate acts on a real tool with concurrent writes and lost responses, which of these properties survive, and what do atomic guards and idempotent retries add?

The contribution is an empirical account of these choices at an agent's commit boundary, with three concrete results. First, a fixed-call factorial benchmark isolates evidence lineage from model identity: in the controlled task population, the source effect is substantially larger than the model effect. Second, an interpretable portfolio uses observable metadata to improve the risk-cost trade-off over fixed checks on frozen proposals, while exposing calibration and transfer failures. Third, a live HTTP/SQLite study establishes the boundary of that benefit: under a forced after-check race, pre-action evidence is insufficient; a partial atomic guard protects only its declared clauses, and a full atomic guard is preferable when the entire predicate is expressible. The benchmark, observable policy interface, and transaction traces make these comparisons reproducible.

Evidence dependence, atomic checks, and idempotent retries are established principles. Our contribution lies in their joint evaluation as alternatives and complements for agent commit gates, including where verification portfolios cease to help. The main experiment isolates one proposed state-changing action; the replan study tests one feedback step and the live arm one action against a real tool, leaving long-horizon coordination outside the evaluated claim.

References (21)