UndoBench: Separating Task Competence from Recovery Capability in Tool-Using AI Agents
cs.SE, cs.AI
Submitted: 2026-10-04
Updated: 2026-10-04
Comments: 18 pages, 6 figures. Code and benchmark available at https://github.com/tradertanmay/undobench
License: http://creativecommons.org/licenses/by/4.0/
The gist: Tool-using AI agents are increasingly deployed across enterprise software systems, yet widely used benchmarks primarily evaluate nominal task completion, conflating baseline planning competence with
Terminology
Abstract
Tool-using AI agents are increasingly deployed across enterprise software systems, yet widely used benchmarks primarily evaluate nominal task completion, conflating baseline planning competence with operational fault recovery. We introduce UndoBench, a benchmark spanning 36 base workflows and 36 fault scenarios across 8 enterprise domains, decoupling task competence from recovery capability via counterfactual paired trials under identical seeds alongside wire-level effect-history and environment-state oracles. On 12 held-out TEST workflows across two open-weight models, two frameworks, and three recovery paradigms (5,760 executions / 2,880 paired trials) in the frozen lost-acknowledgment study, nominal competence reached 83.54% while conditional recovery success rate (CRSR) fell to 46.72%, with naive retry producing duplicate external effects in 53.33% of trials. Extensions to commercial API models reproduced this competence-recovery separation. Evaluations across complementary execution boundaries show that recovery is phase-dependent: before mutation, methods perform similarly without duplicate effects among capable trials; during partial mutation, naive retry, per-call idempotency, and zero-privilege journaling collapse on the evaluated composite workflows; after commit but before acknowledgment, verification and server-side idempotency substantially improve safety. These findings demonstrate that evaluating nominal completion alone masks critical, phase-dependent recovery vulnerabilities in autonomous agents.
Sources
- ReliabilityBench: Evaluating LLM Agent Reliability Under Production-Like Stress Conditions
- OccuBench: Evaluating AI Agents on Real-World Professional Tasks via Language Environment Simulation
- ContainmentBench: Trace-Based Evaluation of Post-Exposure Containment in Tool-Using LLM Agents
- Where Does Exactly-Once Live? Model, Harness, and Tool-Contract Effects on Duplicate Side Effects in LLM Agents
- MemTX: Transactional Belief Commit for Stateful Agent Memory
- Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failures
- Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflows
- EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnesses
- The Verifier Tax: Horizon Dependent Safety Success Tradeoffs in Tool Using LLM Agents
- ToolMisuseBench: An Offline Deterministic Benchmark for Tool Misuse and Recovery in Agentic Systems
Related papers
- Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
- GitSkills: A Dataset of Agent Skills on GitHub
- SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- PackMonitor: Enabling Zero Package Hallucinations Through Decoding-Time Monitoring
- IntentCoding: Amplifying User Intent in Code Generation
- Incentives and Outcomes in Bug Bounties