Scaffold for the CI Sweeper loop.
-
Copy skills and state:
npx @cobusgreyling/loop-init . --pattern ci-sweeper --tool grok # Or manual: mkdir -p .grok/skills cp -r starters/ci-sweeper/.grok/skills/ci-triage .grok/skills/ cp templates/SKILL.md.minimal-fix .grok/skills/minimal-fix/SKILL.md cp templates/SKILL.md.verifier .grok/skills/loop-verifier/SKILL.md cp starters/ci-sweeper/ci-sweeper-state.md.example ci-sweeper-state.md
-
Add GitHub Action (optional):
examples/github-actions/ci-sweeper.yml -
Start (Grok):
/loop 15m Check CI on main. Update ci-sweeper-state.md. Classify failures. For new actionable failures (not flakes): worktree + minimal-fix + loop-verifier. Escalate after 3 attempts.
If the same test failed and passed on retry without code change → Watch, do not auto-fix.