Babysits an open GitHub PR until merge-ready, first judging whether an old PR still belongs. Use when asked to watch a PR over time or update an old one — not for one-shot comment resolution or one CI failure. GitHub (incl. Enterprise) only.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Keep an open PR moving toward merge by reacting to three streams as each arrives: review comments (handed to ce-resolve-pr-feedback), CI failures (handed to ce-debug), and branch-currency items the snapshot flags.
Outcome: the PR is left at a truthfully reported terminal, looks-ready, blocked, or out-of-budget state under the run's posture. Done: Step 3 (stop conditions) reached a true stop and the Step 4 report is written. Settled ≠ merged.
What each tick looks at and every change it makes come from the bundled pr-snapshot output — never by prose, events you notice, or a coordinator's say-so (readiness also applies the review judgment in references/settle.md, which reads live state this output does not model). Read references/tick.md before the first snapshot; references/envelope.md states the full boundaries.
target — only the named PR; stop at looks-ready; never merges; offer stack-wide once if a confirmed managed stack needs work.stack-ready — once a layer has zero actionable backlog (CI may still run), advance to the next open non-draft upstack layer needing work; lower layers stay probed and the lowest that re-opens pulls the walk back; never merges.stack-land — as stack-ready, and selecting it is land authorization: once the bottom-most open layer is settled, gh stack merge it + gh stack sync.One PR named → target (ask once if a confirmed multi-layer stack exists); asked to carry the whole stack → stack-ready; asked to land it → stack-land. mode:pipeline never asks. Restate posture per transition.
stack-land.branch_currency item the snapshot emitted, after an atomic claim, per references/branch-currency.md, which owns who updates a BEHIND branch (BEHIND = host update-branch with expected_head_sha, never a local merge). Never infer an item from prose, base movement, a sibling PR merging, CLEAN/MERGEABLE, BLOCKED while your own push's checks rerun, or anyone saying "update the branch"; a push that restarts green CI without a claimed item is a defect. The only history rewrite is the user-authorized update in references/intake.md.manager_status == "confirmed" on a fresh probe; manual chains and probe-error stay target-local). One writer at a time: one mutated target, one watcher.target/stack-ready, needs-human residuals, blocked-external handback.gh repo view must succeed, else say GitHub-only, stop.references/setup.md); none → report, stop.references/intake.md; it decides whether this PR still belongs. A user request to take the PR over: references/takeover.md.gh pr checkout <ref>; no push access or dirty checkout → stop, say so.references/setup.md, references/watch-loop.md): keep monitoring until a stop condition is met, one tick per wake from one wake source: the pr-snapshot watch detector, or the host's own mechanism when its instructions dictate PR waits. Never collapse the loop into a script. Checkpoint mode only when the user asks or nothing can wake this agent. Pipeline (mode:pipeline): bounded synchronous ticks, structured return (references/pipeline.md).Snapshot first, then in this order:
MERGED/CLOSED → stop (a stack-land merge this run landed is a transition).references/stack.md).ce-resolve-pr-feedback mode:pipeline once with the PR ref; persist typed decisions through the shared atomic mark and dispatch every other passed comment; pass trajectory when a trigger is crossed; never declare non-convergence yourself.references/tick.md: re-run, needs-human, or ce-debug mode:pipeline once); mark each check acted on; unfixed checks stay red residuals.references/branch-currency.md); no item → nothing. unrequested_base_merge is a defect to report, never undo.references/stack.md).True stops (references/settle.md): Terminal; Looks ready — mergeability_certain, MERGEABLE, CLEAN or update_branch_at_merge, no base_ref_blocker, checks terminal, zero backlog, open_needs_human == 0, branch_currency_blocker == null, settle elapsed, review-still-expected guard clear or its bounded stale protocol says stop; blocked-external-drained; Budget (active budget or 3-day backstop). Refresh a drifted PR description via ce-commit-push-pr mode:pipeline before reporting ready. In interactive runs, standing residuals (needs-human, blocked-failing, stack-blocked) block "ready" while independent work continues; stopping the run there is the primary failure mode. mode:pipeline returns the canonical decision set when autonomous work ends. After an interactive tick with no true stop, re-arm the detector, which exits on each wake, or leave a host watch that stays on, then wait; its silence tells you nothing about the PR's state.
One fixed status line first, then a recap the reader could merge from without scrolling back (references/report.md). Never "safe to merge".
EveryInc/compound-engineering-plugin
ee46dde
Also appears in
last in sync Sep 16, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.