TRANSMISSION // 2611.23353v2
When an AI tool call fails, did it still work?
Source published
A controlled fault-injection study finds that preventing duplicate actions and recovering from uncertain outcomes are separate problems—with measurable costs and important limits.

If an AI agent’s request times out, the action may already have changed a ticket or record. A retry can repeat it; assuming success can hide a failure. A preprint study tests how one runtime handled that uncertainty under injected faults.
A tool call can fail in a particularly confusing way: the outside system may have carried out the action, but the agent never received confirmation. If the agent tries again, it could create a duplicate. If it assumes success, it could leave an action undone. The distinction between preventing duplicates and figuring out what happened is the focus of Song Xu’s study, “Idempotency Is Not Recovery.”
A controlled test of interrupted actions
The study tested one custom, single-host agent runtime against a controlled SQLite target. It compared four configurations, from a fail-open baseline to a fuller setup that checked authorization, recorded action progress in a durable ledger, used stable action identities and target-side idempotency, reconciled outcomes after a crash, and sealed evidence records. Three ablations removed groups of safeguards.
Researchers injected ten classes of faults, including crashes at different points in an action, response loss or delay, and failures while writing evidence. A separate target-side oracle recorded whether effects actually occurred, independently of the runtime’s ledger. That separation matters: the runtime’s own record cannot, by itself, establish what the target did.
The experiments replayed 96 previously captured model responses from 24 constructed cases. On each of Windows and Linux, the original study recorded 7,513 trials. The model responses were held fixed rather than generated anew for every trial, so this tested the runtime’s handling of actions, not models’ ability to reason their way through failures.
Fewer repeats did not mean clearer outcomes
In 200 known crash-and-replay pairs, the full configuration recorded no repeated target effects; each of the simpler baselines recorded repeats in 117 pairs. But suppressing repeats was not the same as recovering reliably. When an ablation removed a bundle of ledger-related features, effects were orphaned—visible at the target but without a matching terminal ledger record—in all 170 applicable pairs. Recovery succeeded in 200 of 300 pairs, compared with 300 of 300 for the full configuration. Because that ablation removed several capabilities together, the result cannot show which individual feature made the difference.
A separate comparison disabled reconciliation while retaining the ledger and target-side idempotency. In 100 known post-effect crash pairs, outcomes remained ambiguous, even though no duplicate effects were observed. In plain terms, the system could avoid repeating an action without being able to say whether the original action had happened.
The paper also reports a response-loss supplement: repeated target effects appeared in 0 of 100 full-configuration trials, compared with 66 of 100 for each simpler baseline. In the reconciliation-disabled configuration, outcomes were ambiguous in all 100 observed Linux trials and all 99 observed Windows trials; one additional Windows trial was missing. This supplement was designed after the original results were known and reused the same inputs, so it is additional evidence within the study, not an independent replication.
Reliability has costs—and boundaries
The fuller runtime was slower in the study’s operation-window measure: its throughput was about one-seventh that of the fail-open baseline. That figure is specific to the tested setup, not a prediction for deployed products. Evidence handling also created a tradeoff: when evidence writes were deliberately faulted, 75 of 100 full-configuration trials per platform remained unresolved. Refusing to mark an action complete without evidence can avoid an unsupported claim of success, but it can also leave work unfinished.
These are controlled results, not a demonstration of production reliability. The target was local and deliberately implemented to support the tested idempotency behavior; the study did not test real services, multi-host execution, or arbitrary hardware failures. The two platforms used the same implementation and captured inputs, making them a cross-platform consistency check rather than independent replications. The paper also says its code, full records, and aggregate analysis tables are not publicly deposited with the preprint, limiting outside verification. The manuscript identifies itself as not peer reviewed.
The practical lesson is narrow but useful: making a retry safe does not automatically reveal what happened before the retry. Reliable tool use may need both duplicate protection and a way to reconcile uncertain outcomes—and those safeguards have costs that require testing in the systems where they will actually run.
- AI agents
- tool reliability
- idempotency
- fault injection
- recovery
- software systems
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
AI agents can resume after failure—but often don’t recover
Supporting evidence: Both studies distinguish having a recovery mechanism from recovering successfully. Xu’s controlled single-host fault tests report that disabling reconciliation left 100/100 known post-effect crash outcomes ambiguous; Hapuarachchi’s review of public real-use reports found full recovery in 19 of 128 reports, including 1 of 27 checkpoint/resume reports. The evidence is complementary, not a direct comparison: one is a controlled benchmark and the other a bounded, failure-biased public record, not a recovery-rate estimate.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.23353v2 — Original paper
Excerpt reference:
static/papers/2611.23353v2.md:80-148
Basis: Paper text
Source SHA-256:78f8224a1e3a4a65fe507f46562f8cf3617f36095e8a9788d9a437060dc604772611.27090v1 — Original paper
Excerpt reference:
static/papers/2611.27090v1.md:267-355
Basis: Paper text
Source SHA-256:4f62a3feb457070ab3892f4d1cabec1b19efd82d94e714b8a9a8e8eb97ef8e70
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
AI agents can resume after failure—but often don’t recover
Source published
Shared keywords: ai agents
How an AI agent receives an error can change what it does next
Source published
Shared keywords: ai agents
When AI agents follow phishing links, credentials can go with them
Source published
Shared keywords: ai agents
How AI Agents Can Keep Exact Values Local
Source published
Shared keywords: ai agents
Wiki-style memory helps AI agents repeat workplace tasks in preprint study
Source published
Shared keywords: ai agents