kitbox

Use cases / Dev

Dev

Stop your coding agent repeating the same failed fix

A developer watched his agent try the same broken fix six times because it forgot earlier attempts after its context was compacted. He added a dead-ends section to a progress file and a rule that two identical results mean stop and ask. He pairs this with sandboxed worktrees, tests that must fail first, and human sign-off only for irreversible steps.

Tool
Claude Code
Source date

Credit: this use case was shared by @Flusku on X. Summary written by Kitbox; see the original for full details.

Try it yourself

Our own starter prompt. Fill in the brackets, then paste it into Claude or your agent of choice.

Starter prompt
Before you start, create PROGRESS.md with sections for Done, Tried and Dead Ends. Every time a fix attempt fails, log what you tried and the result under Dead Ends, and read that section before each new attempt. If you get the same failing result twice, stop and ask me instead of trying again. Write a test that fails on the current code before you change anything.

More in Dev

← All use cases