I have pressed rewind in a coding agent maybe a dozen times. I have never once checked whether it actually put everything back. I assumed it did, the same way you assume the fire extinguisher in the hallway works.
Exercised, Rarely Recovered, a new paper by Kaviru Hapuarachchi, checks that assumption against the public record. It grades 50 agent systems on eight recovery mechanisms: 26 coding-agent harnesses (Claude Code, Codex, Aider, Gemini CLI, OpenCode, Kilo Code, the GitHub Copilot coding agent and others), 12 persistent agent runtimes such as n8n, Letta and OpenHands, and 12 research runtimes that promise saga-style compensation and transactional rollback. The question isn't whether a feature exists. It's whether anyone has reported using it in a real run, and what happened next.
The short answer: the recovery features people press most often are the ones with the worst record, and the most boring one has the best.
Harnesses ship recovery, and the field reports read like incident tickets#
The grading scale is the clever part. Every mechanism gets a level from L0 (not found) through documented, demonstrated, and evaluated, up to L4: an attributable report of someone using it in a real run, with the outcome logged as recovered, partial, failed or unclear. The protocol was fixed before data collection, with two blind coding passes, adjudication, and re-checks against archived sources.
Recovery clearly gets used. 25 of 26 coding harnesses and 11 of 12 persistent runtimes have at least one L4 report. But look at how those 128 reports end:
19 full recoveries
54 partial
45 failed
10 unclear
The author's own summary is blunter than mine: "the public record of exercised recovery is a record of incidents."
Resume and undo are the two buttons that let people down#
Split by mechanism, the picture gets worse exactly where it matters. Checkpoint/resume shows up in 27 real-use reports. One is a full recovery. Thirteen are partial and thirteen failed outright. Rollback/undo of the agent's own changes recovered once in 15 reports.
The failure stories are worth reading because they are so mundane. Sessions that only resumed after someone deleted stale lock files by hand. Sessions that came back without their settings. An Aider /undo on a bad edit that also removed the user's own uncommitted work. A Kilo Code revert that undid the main agent's edits but left its sub-agents' edits in place.
That last one should worry anyone running a sub-agent architecture. If your orchestrator spawns workers that write files, your rollback story is only as good as whatever tracks the workers' writes. Most checkpoint designs I've seen snapshot the conversation and the files the main loop touched, which is precisely the gap Kilo Code hit.
Approval prompts land in the middle: 7 recovered, 9 failed across 22 reports. The worst case in the paper is a Gemini CLI user who clicked "allow always" on a stuck package install, after which the agent ran a destructive rm -rf over their home folders. An approval gate is a recovery mechanism right up until a tired human turns it into a blanket permission.
Plain trace logs had the cleanest record of the eight#
Here's the counterintuitive bit. Trace logs usable for recovery appear in 25 reports. Seven recovered, and none failed outright. That's the best ratio of any mechanism with a meaningful sample, and it beats checkpoint/resume by a mile.
I don't think that's because logs are magic. Logs don't promise to restore anything. They give a human enough information to fix things by hand, and a human with a good transcript is a robust recovery mechanism. Checkpoints and undo promise automatic restoration, so every edge case they miss (uncommitted files, sub-agent writes, config state) turns straight into a failure.
The research runtimes go the opposite way. They state 56 recovery guarantees, 12 with a formal definition or proof, and 11 of 12 have nothing beyond benchmark or demo evidence. None has a single report of operational use. Compensation of effects already committed in external systems (undoing the Slack message, the deployed migration, the API call) is the central guarantee of that research line, and no harness in the study offers it.
So you have one world with formal rollback semantics and no users, and another with millions of users and a rewind button that worked once in 27 reported uses.
How far I'd push the 1-in-27#
Not as far as the headline invites, and the paper is honest about why. Issue trackers over-represent failures. Nobody files a GitHub issue saying "resume worked fine today." So these outcome counts are not failure rates, and the author says so directly. Successful recoveries are almost certainly under-reported.
A few other things temper my reading:
Both coding passes and the adjudication were done by LLM agents, and the author checked the final labels. No independent human inter-rater agreement was measured. Agreement between the agent passes was decent (κ = 0.80 on mechanism levels) but weakest for validation gates (κ = 0.51).
"Not found" means not found in public sources, not unused. Proprietary harnesses with internal telemetry are effectively invisible here.
The cutoff is 2026-11-09, and harnesses ship weekly. A label can go stale fast.
The author co-authored one of the research runtimes (RAC), which was coded from public sources only. It's disclosed, but worth knowing.
What survives all of that is the relative picture. Even with reporting bias applied evenly, logs have zero outright failures while resume has thirteen. And the paper's other finding has nothing to do with bias: almost no harness measures its own recovery at all. The "evaluated" level is nearly empty for both coding harnesses and persistent runtimes. Vendors test their sandboxes and validation gates, then ship resume and undo without anyone measuring whether they restore state.
That's a gap in evaluation design, not just in implementation.
Treating rewind as a convenience, not a safety net#
Three changes I'm making in my own setup. First, git is my rollback, not the harness. I commit, or at least stash, before any long agent run, because a harness undo that only knows about its own edits can't be trusted with mine. Second, any sub-agent that writes files works in its own worktree or branch, so reverting means deleting a branch instead of hoping the orchestrator tracked every write. Third, I keep full transcripts and tool logs on by default, because the evidence says that's the mechanism most likely to actually get me out of trouble.
If I were building a harness, I'd put a recovery test suite next to the sandbox tests: kill the process mid-edit and resume, undo with dirty files present, revert after sub-agents have written. The paper's closing line is the right bar:
Agent recovery should be judged by what happens when operators use it
My prediction: within a year, someone ships a harness that publishes recovery numbers the way they publish SWE-bench scores, and it becomes a buying criterion for teams running agents unattended. Until then, the rewind button is a convenience. Don't plan around it.