G-01The Test / Diagnose Loop
Understand, explore, plan, edit — then let the test suite verify, and diagnose real failures instead of guessing.
Software is the best environment agents have: a verifier (tests) that is objective, fast and free. Every serious coding agent is built around that gift — the architectures differ mainly in how they explore, how they parallelize, and how they survive long tasks.
Understand, explore, plan, edit — then let the test suite verify, and diagnose real failures instead of guessing.
One agent with full context and no coordination — or several specialists working in parallel, plus the overhead of keeping them coherent.
Push, let CI verify remotely, and let failure events — with logs — wake the agent to fix and push again.
Produce a reviewable plan before any edit; humans veto cheaply at the plan stage.
Write the failing test first; the test then defines “done” unambiguously.
A separate agent reviews the diff with fresh context, catching what the author’s context normalized.
Each agent works in its own git worktree; merge conflicts are surfaced by git, not by luck.
One agent reads the codebase and produces a digest; a second implements against it with a clean context.
Commit at every good state; a bad direction becomes a reset, not a restart.
Symbol maps and semantic search turn ten rounds of grep into one hop.
The agent drives a real browser to verify UI changes — closing the loop unit tests can’t see.