Ralph loop

A for-loop over the spec: a fresh Sonnet per task chapter, so every step runs in the smart zone.

  • Ralph loop — for each chapter of tasks.md, start a fresh Sonnet that loads proposal and design, does that chapter, and exits.
  • The point: no agent ever reaches the dumb zone of an overfull context.
  • Not cheaper, as reported: reworking Sonnet’s output costs more than letting Opus write it in one go.
  • His setup lives in the petclinic repo (“my private stash of goodies”): send your Claude to github.com/victorrentea/petclinic and ask it to list what he does that you don’t.

See also: CI loop · Prompt caching · Tres amigos · Home Source: Responsibly Dimming the Lights in the Software Factory @ Devoxx Belgium, Day 1 (6 Oct 2026) — section CI loop (1:23:53)