| Pattern | Cadence | Status | Command |
|---|---|---|---|
| CI Sweeper | 5-15m | L2 cautious | opencode run "Run ci-triage" --agent loop-triage via cron/systemd |
- Infra / security / payments test failures: do not auto-fix.
- Max 3 fix attempts per item; escalate after.
- No auto-merge without verifier pass.
- Always dispatch into a git worktree per attempt.
- One worktree per fix; discard after REJECT.
- Max sub-agent spawns per run: 3.
- Max auto-PRs per day: 5.
- Early exit if no failures found.
- Pattern: ci-sweeper
- Example: examples/opencode/ci-sweeper.md
- Safety: docs/safety.md