G-01The Test / Diagnose Loop

/coding-agents/test-loop

Understand, explore, plan, edit — then let the test suite verify, and diagnose real failures instead of guessing.

Key insight

The traceback is the highest-signal context a coding agent ever receives. Architectures that route it back into the edit step outperform ones that just retry.

Failure mode

Skipping exploration: an agent that edits before reading the codebase produces plausible patches against an imagined repo.

Elsewhere in the atlas