Manuscript Offprint

arXiv:2608.26225

Agent Mesh: Reliability Primitives for Non-Idempotent Agent Delegation - Identity Adequacy and Evidence Adequacy

Mazhar Shaikh, Anurag Rajkumar Bombarde, Harshal Pathak

Identity Adequacy and Evidence Adequacy

Mazhar Shaikh 1^{1} Anurag Rajkumar Bombarde 1^{1} Harshal Pathak 2^{2}

Abstract—Autonomous agents are increasingly deployed to perform bounded software tasks—generating a component, running a suite, repairing a defect—under an orchestrator that retries, resumes, and budgets them. The reliability machinery such orchestrators reach for is the service mesh's: retry, timeout, and error-rate circuit breaking. We report a failure study of a production agentic software-delivery platform (66,185 lines, 59 modules) over 147 numbered incidents spanning 81 identified runs, each recorded with a measured cost and, in the majority of cases, a mutation proof that reverting the fix reproduces the failure. The study finds that all three assumptions those primitives rest on are violated in practice, and quantifies the consequences: a loop of fifty-four consecutive successful tool calls that no error-rate breaker could see; a progress signal computed over an identifier that was constant by construction, which guaranteed a false trip on the third repair round and drove one run from six of six components to three; twenty-one events accumulated across six invocations of one delegation, making a correct and demonstrably idempotent component unwinnable; a misrouted failure that woke five components for a two-component fault and left three bystanders regressing working code; and twelve distinct incidents in which the enforcement layer blocked correct work, the most expensive costing 107 agent turns and zero accepted writes. We find one cross-cutting cause and its dual. Identity adequacy: in five separate subsystems an identity that failed to discriminate produced a confident wrong answer, and two of them derived the corrective rule independently. Evidence adequacy: a reliability decision may be taken only on evidence capable of moving, attributable to what it measures, and deterministic under identical conditions. From the findings we derive seven reliability primitives whose enforcement unit is the delegation rather than the message, report what changed when each was deployed, and specify the controlled evaluation the study motivates but does not itself constitute.

Index Terms—agentic AI, LLM agents, multi-agent systems, reliability, failure study, idempotency, circuit breaker, failure attribution, empirical software engineering

I. INTRODUCTION

An agent delegation is the assignment of a bounded software task to an autonomous agent that interleaves reasoning with tool invocation to accomplish it [13], composing its actions at inference time. We are deliberately agnostic to how that loop is expressed: nothing below depends on a particular framework, only on a delegation being effectful, generating its operation set at inference time, costing tokens whether or not its work is kept, and being retried, resumed, or repaired by a peer. Orchestrators that schedule such delegations at scale need reliability machinery, and the machinery they inherit is the service mesh's: bounded retry on failure, wall-clock timeout, and a circuit breaker driven by error rate. Those primitives rest on three assumptions—that requests are idempotent or can be made so with a developer-supplied key, that latency signals failure, and that a discarded request costs nothing.

This paper reports what happens when those assumptions meet real agent traffic. Our subject is a production agentic software-delivery platform that implements, tests, and repairs multi-stack codebases from a requirements definition, and its recorded failure corpus: 147 numbered incidents across 81 identified runs. We did not construct the corpus to test a hypothesis; it accumulated as an operational record, and the analysis is retrospective.

Two incidents introduce the shape of the problem.

An independent-verifier agent issued the same tool call, with one distinct payload, fifty-four times over eleven minutes, and stopped only when a human killed the run. Every one of those calls returned success. No error path was ever reached, so no error-rate breaker could have fired; the step budget, sized from the workload, bought a proportionally large licence to spin.

Separately, a service’s event log—kept deliberately outside the transactional workspace so a cleanliness check would not revert it, and therefore outside everything that cleans—accumulated 21 events across four hours and six check invocations. A test asserting that exactly one event had been published failed with three, having observed effects committed by previous invocations of the same delegation. The component was unwinnable however correct its code was. The service’s own idempotency was intact: each of the six invocations published exactly three events. The duplication was in the ledger, not the producer.

a) Contributions.: (1) A failure study of a production agentic delivery platform, with the incident corpus, its collection method, and its costs (Sections II and III). (2) Seven findings, each supported by measured incidents, covering how agents fail, why error rate and wall clock are the wrong signals, how effects escape transactional containment, how failure attribution damages correct work, and how the enforcement layer becomes a primary source of outages (Section IV). (3) A cross-cutting result—identity adequacy—that unifies

Preprint for arXiv (cs.AI; cross-listed cs.SE, cs.DC, cs.MA), August 2026. Supplementary material accompanying the preprint documents the platform's evidence boundaries, recovery machinery, and incident corpus.

1^{1}Primary authors; contributed equally. 2^{2}Contributing author.

five otherwise unrelated subsystem failures, and which two subsystems derived independently (Section V). (4) Agent Mesh: the set of reliability primitives the findings imply, defined against an abstract delegation interface so it is not specific to our architecture, together with what changed when each was deployed (Sections VI and VII). (5) The controlled evaluation the study motivates, stated with a designed kill criterion, together with an explicit account of what is not yet built (Section VIII).

b) What this paper is not.: It is not a controlled evaluation, and we are careful throughout about which claims the design supports: findings about what fails and why are evidenced by recorded incidents; claims about how much the proposed primitives help are not made. The incidents are observed, not induced; the platform is one system; and the primitives are reported with deployment outcomes rather than with a baseline comparison. Section VIII specifies the controlled study, and Section IX states what the observational design cannot support.

References (26)