Testing loops
Loops that run your test suite, fix what fails, and exit only when everything is green.
5 loops graded A or B in this category.
The Multi-File Refactor Loop
Plan the change, apply transforms across call sites, run tests after each, until behavior is preserved.
API contract test backfill
Generate a contract test for every documented endpoint in the OpenAPI spec so the spec and the implementation can never silently drift.
Backlog-clearing loop with a separate verifier
The four-settings loop template: a separate verifier model that never shares context with the writer, a hard stop rule, a state file re-read each cycle, and worktree isolation. Point it at a checkable backlog and let it run overnight.
Ralph a test backlog
Iterate over a prioritized list of untested modules with fresh context each pass, writing real behavioral tests for one module at a time and banking lessons in a guardrails file.
Trim what loads before first paint
Reduce the data downloaded before the first screen appears, with tests and screenshots guarding behavior and appearance.
Grade C loops (16)
16 more graded C — they stop on their own, but run fewer checks than A or B. Show the 16 C loops →