Repository navigation
fix(meta-mode): land through a named merge gate in Shipping - #61
Merged
Merged
Conversation
Shipping step 5 told agents to run `gh pr merge --squash` or arm `--auto`. Where the user or repository names a merge gate command (a script that checks fresh CI on the merge with the current base before merging), that bypassed it, and merge-when-ready lands the PR later without any gate. Step 5 now lands through such a command when one is named and never arms `--auto` then; otherwise it is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, not the merge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gate Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shipping step 5 says to land with
gh pr merge --squash(ororigin pr merge) and to arm--autofor merge-when-ready. Some setups name their own merge gate: a command that checks fresh CI on the merge with the current base and pins the head before merging, used where branch protection is unavailable. Following step 5 literally bypasses that gate, and--autolands the PR later with no gate at all.When the user's or the repository's instructions name a merge gate command, Shipping now (1) disarms any auto-merge already armed on the PRs it will land as its first action, or stops and reports; (2) lands the bottom PR only through the gate and never arms
--auto; (3) when the gate refuses because checks are still running, waits onpr checks --watch(not step 8's merge watch), re-checks the verdict, and runs the gate again. Step 1 defers the choice of merge command to step 5. Without a named gate the steps are unchanged. Babysit already refuses to merge and routes to Shipping, so it is not touched.Upstream: pstack at cursor/plugins
aaeb0eachanged only step 5's watcher wording in itsshipping.md(mstack's step 8) and rewrotebabysit.md; neither overlaps this edit. The baseline digest forshipping.mdis recorded withskill-baseline.mjs --writeagainst the pinned sources (pstack4dd1d05, mattpocock/skills49dd158).Verification:
npm test(724 tests, 723 pass, 1 skipped, 0 fail).Review
Agent: Claude Opus 5.5 via Claude Code
🤖 Generated with Claude Code