CI loop

After a push, the agent stays and fixes until CI is green — it doesn’t hand you a red build.

  • His skill: if you push, stay and monitor the build; on red, fix, push, wait again — a loop that runs while he has lunch.
  • The trap is the prompt-cache TTL: answer an agent late and the whole conversation is billed again at full price. ⚓ CI longer than lunch
  • On the live feature, CI failed after implementation; the instruction was simply “let CI red” — the agent owns the fix.
  • For long specs, an alternative loop: Ralph loop.

See also: Prompt caching · Ralph loop · Deterministic gates · Home Source: Responsibly Dimming the Lights in the Software Factory @ Devoxx Belgium, Day 1 (6 Oct 2026) — section CI loop (1:21:08)