loop
This is the default working mode once the path is known.
Cycle
- Inspect the smallest missing evidence.
- Act on the smallest coherent change.
- Verify with narrow checks first.
- Checkpoint the result.
- Repeat until done or blocked.
Stop conditions
Stop and re-route if:
- the evidence no longer supports the current path
- the diff grows beyond the intended scope
- the same failure repeats without progress
- the work becomes multi-step enough to require
plan - context budget exceeds 75% → emit
handoff, then stop the loop - cumulative tool-result bytes >50KB without progress → summarize + drop noise before next iteration
Parallel mode
If a Monitor task is running (CI settle, build, long test), do NOT busy-wait. Pick up an independent priority — refactor a different file, draft a memory note, answer an open review thread — and resume the original loop when the monitor fires its event.
Rule: at most one Monitor active per loop; otherwise events collide.