From 99d23a672ac80f5d0cebb23aac037f5fc6ee12b8 Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 3 Nov 2026 07:12:53 +0000 Subject: [PATCH] ship: Step 17 names the pre-push guards without a code this branch cannot print Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- ship/SKILL.md | 2 +- ship/SKILL.md.tmpl | 2 +- test/fixtures/golden/agy-ship-SKILL.md | 2 +- test/fixtures/golden/claude-ship-SKILL.md | 2 +- test/fixtures/golden/codex-ship-SKILL.md | 2 +- test/fixtures/golden/factory-ship-SKILL.md | 2 +- test/size-ledger/ship/gsta258-l6-guard-carry.json | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ship/SKILL.md b/ship/SKILL.md index 59687eaab..46c051fd3 100644 --- a/ship/SKILL.md +++ b/ship/SKILL.md @@ -871,7 +871,7 @@ A new PR or an existing draft needs no question: Step 19 creates or keeps the dr ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/ship/SKILL.md.tmpl b/ship/SKILL.md.tmpl index 1f1418e90..06436f8b9 100644 --- a/ship/SKILL.md.tmpl +++ b/ship/SKILL.md.tmpl @@ -592,7 +592,7 @@ A new PR or an existing draft needs no question: Step 19 creates or keeps the dr ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/test/fixtures/golden/agy-ship-SKILL.md b/test/fixtures/golden/agy-ship-SKILL.md index 77c525e2f..909818a82 100644 --- a/test/fixtures/golden/agy-ship-SKILL.md +++ b/test/fixtures/golden/agy-ship-SKILL.md @@ -872,7 +872,7 @@ A new PR or an existing draft needs no question: Step 19 creates or keeps the dr ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/test/fixtures/golden/claude-ship-SKILL.md b/test/fixtures/golden/claude-ship-SKILL.md index 59687eaab..46c051fd3 100644 --- a/test/fixtures/golden/claude-ship-SKILL.md +++ b/test/fixtures/golden/claude-ship-SKILL.md @@ -871,7 +871,7 @@ A new PR or an existing draft needs no question: Step 19 creates or keeps the dr ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/test/fixtures/golden/codex-ship-SKILL.md b/test/fixtures/golden/codex-ship-SKILL.md index 1eab7dfd5..1dfe0e2d0 100644 --- a/test/fixtures/golden/codex-ship-SKILL.md +++ b/test/fixtures/golden/codex-ship-SKILL.md @@ -878,7 +878,7 @@ $GSTACK_ROOT/bin/gstack-ship-release push --branch ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/test/fixtures/golden/factory-ship-SKILL.md b/test/fixtures/golden/factory-ship-SKILL.md index ec398b188..207c665ab 100644 --- a/test/fixtures/golden/factory-ship-SKILL.md +++ b/test/fixtures/golden/factory-ship-SKILL.md @@ -880,7 +880,7 @@ $GSTACK_ROOT/bin/gstack-ship-release push --branch ``` It checks the branch, the offer, the gate above (`--gate-open `; `--gate-open-approved` is B) -`gstack-pregate sealed` and the guards (`GUARDS:`), then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints +`gstack-pregate sealed` and the pre-push guards, then `git ls-remote` of `` against HEAD: a failed lookup STOPs, a match prints `PUSH: ALREADY_PUSHED` (go to Step 18), else it runs `git push -u origin `. **If the push fails, STOP.** No Step 19 or publication claim. Report the error: diff --git a/test/size-ledger/ship/gsta258-l6-guard-carry.json b/test/size-ledger/ship/gsta258-l6-guard-carry.json index 884e23450..9734176f5 100644 --- a/test/size-ledger/ship/gsta258-l6-guard-carry.json +++ b/test/size-ledger/ship/gsta258-l6-guard-carry.json @@ -1,4 +1,4 @@ { - "bytes": 4, - "why": "GST-1138: ship names the pre-push guards in Step 17 and the early push (GUARDS:), with the ls-remote line shortened to fit" + "bytes": 1, + "why": "GST-1138: ship names the pre-push guards in Step 17 and the early push, with the ls-remote line shortened to fit" }