G-03CI Feedback Loop

/coding-agents/ci-loop

Push, let CI verify remotely, and let failure events — with logs — wake the agent to fix and push again.

Step-by-step walkthrough4 steps
  1. The agent pushes; CI is the verifier it doesn’t control.
  2. Red. The failure event — with logs — wakes the agent.
  3. Fix, push, repeat. Event-driven, not polling.
  4. Green → merge.
Key insight

CI extends the verifier beyond the agent’s machine: same loop as test/diagnose, but event-driven and running against the team’s real gates.

Failure mode

Poll-and-pray: agents that sleep-loop on CI status burn tokens and miss context that the failure event would have carried for free.

Elsewhere in the atlas