Give the reviewer something to rerun
If you ask coding agents to rewrite code that has been patched many times, this chapter of Fewer tokens to ship is for you.
Once chapter 3 lets you see the loop, an agent rewriting that troublesome code needs a way to check the behaviour the old patches protected.
My reminder, which nudges an agent to redesign when it spots a loop, shows recent fix subjects. A subject like “fix: retry cleanup” tells the agent where to look. It gives the reviewer very little to rerun. Original account
Carry the failing command into the redesign brief

Two readers pointed out what’s missing from that history. Even an ugly patch may protect a real edge case, so I want to give the next agent the original repro. Prior attempts · Regression coverage
A reader asked whether I’d keep the failing output too. I’d put the command and expected result in the job brief, with a short, redacted excerpt if it helps explain the failure. Reader discussion
How far to trust it
Try it on your rig
- When the same failure returns, use its record to build the next brief.
- Include the failing command, expected result, prior attempts and the behaviours a rewrite must preserve.
- Tell an unattended agent how to proceed if a decision is needed and nobody is there to answer.
- Fix the expected answers before the trial.
- Give the reviewer independent checks, including held-back cases for behaviours already specified, and isolate the starting commit from later history.
- Accept the rewrite only after it clears those checks.
To follow along on your own setup, start with the shared work record in the series setup guide.
Once the change lands, add the merge and all attempts to the scorecard. Next, measure what it took to deliver.