Every 15 minutes, inspect open PRs with a watch label: nudge reviewers, fix CI, rebase if behind main.
List open PRs with the watch label. Skip merged, draft, or conflict-only PRs that need human product input.
For each PR: if CI failed, fix once; if behind main, rebase; if stale review, leave a short status comment.
Stop on merge conflicts needing product decisions or the same failure twice. Report blockers clearly.
All watched PRs are green, rebased, or escalated with a clear blocker note
/loop 15m Start the "PR Babysitter" loop. Goal: open PRs labeled codex-watch are healthy (CI green, rebased, not stale). Max iterations: 20. Between iterations run: gh pr list --label "codex-watch" Exit when: each watched PR is green and current, or escalated. Step 1: List watched PRs. Fix CI once, rebase if behind, comment if stale. Escalate repeated failures.