Get the PR mergeable and green
Loop every 30m checking CI status and unresolved comments, fixing scoped issues until the PR is mergeable or a stop rule fires.
Prompt
/loop 30m Check PR CI and unresolved comments. Fix scoped issues per .agent/context/loops.md (fallback: docs/agents/loops.md) stop rules. Stop when mergeable and green or a stop rule fires
claude-code
Source: ChidiOkoene ↗graded C · 53/100 — how grades work (Safety Score v2) →
Similar loops
All ci loops →B
/loopCImedium risknew
Triage CI failures, fix clear regressions
Run every 15 minutes to classify CI failures, fix clear regressions in a worktree with verification, and escalate infrastructure or security test failures.
/loop 15m $ci-triage — update ci-sweeper-state.md. Classify failures first. Fix only clear regressions in a worktree with verifier. Max 3 attempts. Escalate infra and security test failures
B
/goalCIlow risk
Get the build green
Run the build, fix the first error, and repeat until npm run build exits 0, with a 10-turn cap.
/goal `npm run build` exits 0 — run the build, fix the first error, repeat until it succeeds; stop after 10 turns
B
/loopCImedium risknew
Triage CI failures, fix regressions
Run ci-triage on failing CI, fix clear regressions in isolation, verify before push, and update state—up to 3 attempts per cluster.
/loop 15m Run ci-triage on failing CI for default branch and open PRs. Update ci-sweeper-state.md. Fix only clear regressions in an isolated worktree. Spawn loop-verifier before any push. Max 3 attempts per failure cluster