loop.config.yaml 904 B

123456789101112131415161718192021
  1. # WORKED EXAMPLE — a complete, audit-clean L1 loop. Copy the dir, adjust scope/cadence,
  2. # run loop-check + loop-doctor --live, then wire the scheduler (github-actions.yml).
  3. # The other patterns: `loop-scaffold --pattern <name>` generates the same, seeded.
  4. name: pr-watch
  5. pattern: pr-watch
  6. tier: L1
  7. permission_mode: dontAsk
  8. cadence: 10m
  9. goal: "Watch open PRs; flag stuck (no review > 4h), failing checks, and merge conflicts in STATE.md; post at most one summary comment per PR; never merge."
  10. scope:
  11. - "src/**"
  12. escalation: "a human reviews and merges; never merge to main; never push; never close a PR"
  13. budget_tokens: 60000
  14. kill_switch: ".loops/pr-watch/PAUSED exists, OR the 'loop-pause' label is on the repo"
  15. # ── graduate to L2 (assisted: open a fix-the-PR-description / rebase branch) ──
  16. # tier: L2
  17. # verify: "npm test"
  18. # guard: "npm run typecheck"
  19. # worktree: true
  20. # land_via: fleet-ops