ci-watch
CI Watch
Watch the current PR's checks without babysitting them by hand. A persistent Monitor streams every state change while the session keeps working; you react per the classification table below.
The boundary, one line: act without asking only when the action is mechanical (reversible, no decision) — rebase a clean conflict, fix lint, push, gh pr ready. Every judgment (which finding to fix, a red test, restacking a stack, the final go) is a STOP: surface it and hand back.
CI has three states, and each routes differently: green (advance), red (classify the failure), conflict (rebase or restack).
Step 1 — Resolve
Find the PR to watch:
gh pr view --json number,url,baseRefName,isDraft # current branch; a [pr-number|url] argument overrides
If there is no PR for the branch and no argument, stop and say so — there is nothing to watch.
The Monitor and notification tools are deferred; load them before arming: