mlsanityData to 24 Nov 2026

Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls

arXiv 2611.31554 ↗Submitted 23 Nov 2026Announced 25 Nov 2026cs.AI cs.DB cs.SEcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance also fits: Software engineering coding agents

Abstract (arXiv)

Code-executing LLM agents submit blocks of code that issue several API writes. If a block fails after some of its writes have taken effect, the agent rewrites the block and continues. It is unknown how often such a recovery harms the external state when the failure occurs naturally in the code written by the agent. In this paper, we measure it on recorded trajectories of AppWorld agents. In a stratified random sample of 200 candidate episodes across ten models, 145 are partial executions confirmed by the database state. In the sample, 30 of 143 confirmed partial executions with a determinable outcome are followed by a harmful recovery, and its violation remains at the end of the run, which gives a stratification-weighted estimate of 24.6%. Two thirds of the harmful recoveries duplicate an effect, and the rest delete user data or make a wrong first-time write, e.g., an order of a wrong product. A rule that searches for repeated calls finds 75% of duplications but only 41% of all harm. We also examine two sources of operation identity for an idempotency contract. In a small pilot (17 episodes, one local model), identifiers supplied by the model do not detectably reduce harm, because the model issues a new identifier for the same operation. Identity derived from the call content, evaluated counterfactually on the sample, would have matched every harmful write in 14 to 18 of the 30 harmful recoveries, but in none of those with a wrong first-time write, and it would also have matched writes required by the task in 30 episodes. Based on these results, we outline design requirements for safer agent recovery.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 16 of its 24 references that are in the map. Submitted 23 Nov 2026, announced 25 Nov 2026.

Builds on

16 of 24 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Task Success Is Not Enough: Side-effect-Aware Evaluation of Tool-Using Language Model Agents25 Oct
  2. 2026Cordon: Semantic Transactions for Tool-Using LLM Agents16 Jun
  3. 2026ACRFence: Preventing Semantic Rollback Attacks in Agent Checkpoint-Restore21 Mar

Other references · 13

  1. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
  2. 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 510
  3. 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflowscited by 37
  4. 2026DART: Semantic Recoverability for Structured Tool Agentscited by 13
  5. 2026Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failurescited by 12
  6. 2026Where Does Exactly-Once Live? Model, Harness, and Tool-Contract Effects on Duplicate Side Effects in LLM Agentscited by 11
  7. 2026Fork, Explore, Commit: OS Primitives for Agentic Explorationcited by 7
  8. 2026Robust Agent Compensation (RAC): Teaching AI Agents to Compensatecited by 6
  9. 2026When Tool Calls Succeed but Workflows Fail: Anomalies at the Agent-Tool Boundarycited by 3
  10. 2026RetryBench: Separating Retry Permission from Recovery Outcomes in GPT Tool Usecited by 2
  11. 2026Cleaning an Agent's History Hurts When the World Still Holds the Errorcited by 2
  12. 2026Beyond Approved Actions: Runtime Validation of Persistent Outcomes in Agent Workflowscited by 1
1 more
  1. 2026Dependable Long-Horizon LLM Agents: A Trajectory-Centered Empirical Study of Where Errors Enter and Which Controls Reach Themcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026When to Intervene? An Empirical Study of Errors and Self-Recovery in LLM Agents
  2. 2026Replay Fidelity in LLM Agent Evaluation: Randomness, Hidden State, and Test Oracles in AppWorld
  3. 2026Exercised, Rarely Recovered: What Public Reports Say About Recovery in 50 AI Agent Harnesses and Runtimes
  4. 2026Idempotency Is Not Recovery: A Fault-Injection Study of Language-Model Agent Tool Actions
  5. 2026Same Error, Different Recovery: How Delivery Changes LLM Agent Behavior
  6. 2026Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents
  7. 2026EpiSEM-Bench: Evaluating Safety and Evidence Recovery in LLM Agents under Missing Evidence
  8. 2026RippleCP: Measuring Counterfactual Checkpoint Advantage in Coding Agents