The Agent Said Done and Left the Worktree Full of Scratch
An agent iterates by trial and leaves scaffolding behind: commented-out alternatives, debug logging, untracked helper files. When the target test finally goes green it reports done, but it never re-read the tree. 'Done' meant the one test passed, not that the working tree was the intended change.