In the Sahs' tests, 4 in 10 capability gains left the agent unable to recover reliably
Tanmay and Dolly Sah's UndoBench found agents that finish tasks often fail to recover from injected failures. In their EvoUndo tests, 197 of 478 harness changes that raised capability had recovery defects; an extended recovery language restored 180 of them.
Watch from 1:19Recording by AI Engineer.
The idea
The speaker’s argument, in our words.The Sahs argue that finishing a task and recovering from a failure are separate abilities, and that agents which change things outside the repository (API calls, runtime configuration, their own prompts, tools and routing) need the second tested on its own. Git can roll back files; it cannot delete a ticket an API already created. A timeout says the response did not arrive, not that the operation failed, so the safe response depends on whether the failure came before, during or after the change.
When an agent modifies its own harness, a change can raise its capability while removing any reliable way back. The speakers trace those failures to two gaps: the recovery process did not know the exact earlier state, or the recovery language could not express the reversal. Their EvoUndo procedure makes recovery part of the admission decision: record the state before the change, apply the change and its recovery plan in a test environment, have an independent verifier confirm the original state is back, and admit only changes that pass both the capability and the recovery checks. At runtime they suggest choosing between retry, restore, compensate and stop-and-escalate depending on what is known about the state.
What they found
From the talk. Figures are self-reported unless stated.Across 2,880 paired trials, agents succeeded 84% of the time under normal conditions, and 47% of the normally successful trials recovered once a failure was injected.
UndoBench, the speakers' own benchmark. They stress the two percentages have different denominators. The talk does not name the agents or models tested.
Measured result
1:35Of 600 self-evolution tasks, 478 produced capability improvements, and 197 of those had recovery defects.
EvoUndo, the speakers' own experiment; models and task domains are not described in the talk. 197 of 478 is 41%; the speaker says 'around 42%'.
Measured result
6:55Four verifier-guided repair strategies recovered none of the 197 failures under the original recovery language; with an extended recovery language, 180 of the 197 were recovered, and admissible improvements rose from 281 to 461 out of 600.
Consistent with the earlier counts (478 minus 197 is 281; 281 plus 180 is 461). The speaker rounds 180 of 197 to 'around 92%' (it is 91%).
Measured result
9:39Admission procedure: propose a mutation with an effect contract and recovery plan, capture the pre-state, apply and recover in a test environment, verify independently, then admit, repair or reject.
Algorithm description; the slide scopes verification to evaluated effects and sampled states, per the article.
Technical recommendation
10:33
Why it matters
Our reading. Not said in the talk.Agent evals, and the gates on self-improving harnesses, usually score whether the task got done or the new version scores better. The Sahs' numbers suggest a second gate is worth having, because the costly failures are the half-finished ones and a better-scoring harness can be one you can no longer roll back.
What one could try
- Before an agent retries a mutating call that timed out, have it check whether the effect already exists.
- Add failure injection (dropped responses, mid-operation failures) to your agent evals and score recovery separately from task success.
- Before an agent edits its own configuration, prompts or tools, save the values it is about to change and add a rollback test to the acceptance check.
Limitations
- Research results from the speakers' own setup; agents, models, tasks and the original versus extended recovery languages are not described in the talk, and the speakers' affiliation is not given.
- Verification covers evaluated effects and sampled states; it does not prove general reversibility.
Original sources
AI Engineer CODE Summit 2026 · Nov 11, 2026
An Agent's Change Is Not Safe Until Its Recovery Has Been Tested
Tanmay Sah, Dolly Sah · 17 min
This is our synthesis of the talk, checked against the transcript at the linked moments.
