| 123456789101112131415161718192021 |
- # WORKED EXAMPLE — a complete, audit-clean L1 loop. Copy the dir, adjust scope/cadence,
- # run loop-check + loop-doctor --live, then wire the scheduler (github-actions.yml).
- # The other patterns: `loop-scaffold --pattern <name>` generates the same, seeded.
- name: pr-watch
- pattern: pr-watch
- tier: L1
- permission_mode: dontAsk
- cadence: 10m
- 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."
- scope:
- - "src/**"
- escalation: "a human reviews and merges; never merge to main; never push; never close a PR"
- budget_tokens: 60000
- kill_switch: ".loops/pr-watch/PAUSED exists, OR the 'loop-pause' label is on the repo"
- # ── graduate to L2 (assisted: open a fix-the-PR-description / rebase branch) ──
- # tier: L2
- # verify: "npm test"
- # guard: "npm run typecheck"
- # worktree: true
- # land_via: fleet-ops
|