The Hallway Track
Research Findings

Your Coding Agent Can't Undo Its Own Mistakes - Tanmay Sah & Dolly Sah

AI Engineer · Nov 08, 2026 · Research Findings

Coding agents that complete tasks at 84% often fail to recover from failures, succeeding only 47% of the time.

“A timeout means that a response was not received, not that the operation failed.”

Researchers introduced Undo Bench to test whether coding agents can recover from failures, not just complete tasks. Across 2,880 paired trials, agents succeeded 84% normally but only 47% recovered when failures were injected, and naive retries created duplicate side effects in 54% of cases. This matters because agents increasingly take real-world actions (API calls, deployments, tickets) whose effects Git cannot revert, making reliable failure recovery a critical unsolved safety problem.

coding-agents agent-reliability failure-recovery undo-bench benchmarks

Watch / read the original source →