arXiv:2610.41453cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41453

Evidence-Guided Recovery for AI Agents with Ambiguous Tool Outcomes and Partial Execution

Genliang Zhu, Xiaobo Chen, Ziyuan Wang, Chu Wang

GENLIANG ZHU, Accentrust, Canada and Georgia Institute of Technology, USA

XIAOBO CHEN, University of Massachusetts Amherst, USA

ZIYUAN WANG, Duke University, USA

CHU WANG, Accentrust, Canada and University of Illinois Urbana-Champaign, USA

Tool timeouts can leave AI agents facing ambiguous tool outcomes and partial execution: an action may have failed, committed or remained in flight while other workflow steps have already completed. We formulate evidence-guided task recovery over approved obligations, provider capabilities and states compatible with public evidence. A shared admissibility check handles key expiry, authorization timing, dependencies and residual effects; a terminal certificate separates actual goal satisfaction from publicly supported safe completion. The known-model implementation combines standard observation-contingent planning with a separately implemented effect-history adjudicator. In a finite study of 37 assignments, planning and three active controls each certify 28 completions; four saved synthetic fee units incur additional computation. A preregistered assignment-held-out comparison then evaluates planning advice against evidence prompting with two local model bundles. Across 58 paired units in 19 previously developed task families, advice certifies 30 completions versus 9, a 36.2-percentage-point difference (exact family sign-flip p=0.0078p = 0.0078), using 272 proposals versus 399. All 116 trajectories pass independent replay. Both models exhibit a positive completion difference. The comparison measures the evaluated advice interface under a common shield; search-versus-rule advice requires a separate matched comparison. Unknown and handoff outcomes remain explicit, with guarantees tied to the declared provider capabilities rather than arbitrary third-party exactly-once execution.

Additional Key Words and Phrases: AI agents, tool use, failure recovery, ambiguous tool outcomes, partial execution, idempotency, compensation, planning under partial observation

1 Introduction

An agent that creates an invoice, updates a business record, and notifies a customer interacts with several independently operated services. A timeout at the first service does not reveal whether the invoice was created. A batch update may have changed some records before returning an error. A notification can be delivered while its acknowledgment is lost. Repeating the entire workflow can duplicate irreversible effects; stopping can leave legitimate obligations unfulfilled. The operational problem is therefore not only to avoid another write, but to determine which remaining work can safely be completed.

The distinction between a failed invocation and an unknown remote outcome is fundamental to remote procedure calls [2]. Durable identifiers, receiver-side deduplication, and application-level evidence can improve recovery, but their guarantees depend on the endpoints that participate. A local transaction cannot make an uncooperative remote service atomic. End-to-end arguments explain why correctness conditions that depend on an application's effects require support at the relevant endpoints [11]. Compensation provides a different form of recovery: a permitted later action can repair some state, without erasing the fact that the original action occurred [4].

Agent research now addresses these problems directly. SagaLLM combines persistent context, validation, and compensating recovery [3]. Atomix distinguishes transaction settlement from execution progress and coordinates different effect classes [9]. LIMBO studies how models, harnesses, and tool contracts affect duplicate side effects, including late commits and limited read paths [8].

Authors' Contact Information: Genliang Zhu, Accentrust, Vancouver, Canada and Georgia Institute of Technology, School of Computer Science, Atlanta, Georgia, USA, research@accentrust.com; Xiaobo Chen, University of Massachusetts Amherst, Amherst, Massachusetts, USA; Ziyuan Wang, Duke University, Durham, North Carolina, USA; Chu Wang, Accentrust, Vancouver, Canada and University of Illinois Urbana-Champaign, Department of Computer Science, Urbana, Illinois, USA.

UndoBench separates nominal task competence from fault recovery using paired executions and both effect-history and state evaluation [10]. Building on these recovery and evaluation foundations, we focus on selecting evidence acquisition and continued execution for the remaining task under a fixed provider contract.

We study the decision problem that remains when the provider's capabilities are fixed. A recovery controller must choose whether to spend resources obtaining evidence, wait for an observation to become decisive, retry under a valid deduplication contract, continue independent obligations, compensate a reversible step, or hand the task to an authorized operator. These choices interact. Waiting for one uncertain step can consume the time needed for another obligation. A cheap query can be inconclusive until a visibility delay has passed. Compensation can create its own ambiguous outcome. Retrying before a key expires can be safe under one contract and unsafe under another. An operator may not respond before the business deadline.

The controller receives the approved task, public capability contracts, public observations, and a supplied finite transition model. That model includes the candidate initial commit times, complete future write/compensation attempt sequences, and their weights. It does not receive the realized assignment or private effect ledger. Thus, this is known-model partial-observation planning, not recovery from a timeout using capability flags alone. We represent uncertainty by all states compatible with these inputs. A common admissibility check excludes actions that add a checked violation or abstract pending hazard in any compatible state. Within that common action set, a finite-horizon planner compares evidence acquisition and continued execution. Probabilities guide selection; they cannot turn a low-probability prohibited transition into an admissible action.

The contribution is a recovery decision interface and its controlled evaluation, built on established observation-contingent planning:

(1) An explicit contract connects remaining obligations, public provider evidence and residual in-flight effects. It distinguishes a correct current snapshot from certified completion stable at every accepted finite-tail prefix.

(2) An executable known-model recovery profile compares common action checks, capability rules, one-step selection and standard observation-contingent search under matched observations, authority and resources. Separately implemented adjudication and exhaustive development diagnostics check effects and completed search layers.

(3) A source-bound empirical decomposition separates deterministic policy behavior from model-facing advice. A registered assignment-held-out study records 116 model episodes: planning advice certifies 30/58 paired units versus 9/58 with evidence prompting, while strong deterministic controls already tie at 28/37 in their separate frame.

Table 1 maps these claims to their evidence. The model-facing comparison measures the evaluated advice interface under its common shield; isolating search depth would require matched alternative advice. Weights describe the supplied finite model, and the resource analysis reports synthetic fees separately from selection computation and deployment costs.

The intended application is a cross-system coordinator that preserves useful progress and gives an actionable explanation when completion cannot be certified. The coordinator does not grant additional authority, manufacture provider capabilities, or promise exactly-once completion for arbitrary services. A task with no trustworthy way to distinguish a pending effect from a completed one can legitimately remain unresolved. Such an outcome is kept separate from task completion, successful compensation, and a merely plausible success message.

What changes between the model conditions. The execution layer checks every proposed action against the same compatible support. The evidence layer presents the same public task and observations. The advice condition additionally presents a planner's next-action recommendation;

Table 1. Recovery claims and executed evidence. The common shield, policy choice and model interface are distinct layers.

ObjectEvidenceInterpretation
Evidence and completionSeparate effect-history replay and finite-tail checksPublic completion differs from actual private goal satisfaction; unknown remains explicit.
Policy selection37 assignments, five policies; complete-layer and root-vector auditsFour active policies tie at 28/37; search trades synthetic fee savings for computation.
Model-facing advice58 paired model-assignment units; 116 independently replayed episodes30 versus 9 certificates under the shared shield; not a search-versus-rule-advice comparison.
Native persistenceEight executor qualifications; separate upstream demo/smokeQualified call paths, not planner-provider end-to-end effectiveness.

the model still proposes the action and the shared shield still determines admissibility. Zero newly introduced checked violations is therefore attributed to that common execution contract, whereas differences in completion and proposals describe the advice interface. The treatment bundles recommendation availability with its computation. Rule-derived advice and a legal-action-list interface were not model conditions, so neither recommendation grounding nor multi-step search is isolated as a causal mechanism.

References (12)