Reliable Coding Agents / Research note · In progress
What an agent needs after a crash
Repository state, tool results and two different ways to measure progress.
Recovery starts with state
A coding agent works across a repository, a tool environment and a record of decisions. After an interruption, a saved conversation alone may not explain which edits reached disk, which tool finished or which test result belongs to the current revision.
Reliable Coding Agents asks two different questions. Can the agent continue interrupted work? And can training on recovered rollouts help it solve later tasks? A faster recovery does not establish better coding ability.
Check what actually happened
ReAct is useful background for thinking about language-model reasoning interleaved with actions and observations. For a coding workflow, that connection makes a practical difference: a proposed next step should be grounded in the repository and tool results it actually has.
Before continuing, the agent needs to account for the repository revision, completed tool effects and current test state. Repeating a finished action can cause duplicate effects. An old passing test does not prove the current patch works.
Separate recovery speed from task success
A recovery evaluation should compare interrupted runs with full restart, while also retaining uninterrupted execution as a reference. Completion time and successful task completion answer different questions. The interruption point, failure type and treatment of incomplete runs belong in the report.
Learning from recovered rollouts adds another comparison: a trained policy against a frozen base model on held-out tasks at matched inference budgets. SWE-bench provides useful background on repository-level evaluation; any project result still needs its own named task suite, split and test protocol.
What still needs testing
The learning question is whether recovery experience helps on later, held-out tasks. Reusing work from the interrupted task is a separate benefit. Training rollouts and evaluation tasks need to stay separate. This project is private and in progress; I can present it on request.