When coding agents go off track.

Practical ways to diagnose unwanted edits, broken tests and repeated mistakes — using the tools you already have.

Claude Code / Codex / Cursor