Skip to content

Install gstack's shipping skill as /gstack-ship so Claude Code's own /ship stops hiding it (#4775) - #4819

Merged
capy-ai[bot] merged 18 commits into
mainfrom
gstack-ship-skill-name-fix
Nov 25, 2026
Merged

capy-ai[bot] merged 18 commits into
mainfrom
gstack-ship-skill-name-fix

Conversation

@garrytan

@garrytan garrytan commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

gstack's shipping skill now installs as /gstack-ship, because Claude Code keeps the name /ship for its own built-in and silently drops gstack's.
Upgrading removes gstack's old ship entry and leaves your own ship skill alone. The resume command and most recovery messages now say /gstack-ship; nothing to do but upgrade.
This replaces #4813, which ran out of budget before its last fixes.

What changed
  • The skill's installed name is gstack-ship in both prefix modes and on every host. Its folder (ship/), its internal id, its saved records, state folders, --for ship and the gstack-ship-* commands keep their names, and disabled_skills: ship still turns it off.
  • Printed recovery and next-step lines (resume, budget handoff, merge-queue next steps, result-code fixes, the early Greptile PR body, gate-disposition messages), OpenClaw's injected pipeline text and llms.txt say /gstack-ship. A few review-limit and ruled-edit messages still say /ship and are listed under Follow-ups.
  • gstack-relink and setup no longer serve a shared cached ship render made by an older gstack version (it still says /ship); they serve the checkout's copy until this version renders again. A per-install render that fails to refresh keeps its old name, and setup warns about it.
  • Because QA keeps its short name (qa) in a short-name install, the shipping skill's QA step reads ../gstack-qa/… only when that file exists and otherwise ../qa/….
  • gstack-relink now says so when its install registry file is missing, no longer reports a user's own ship skill as skipped, and reports old ship copies it moves aside on upgrade as gstack's old entries.
Why

Claude Code 2.1.331 drops any user skill named ship at startup ("Not loaded: a custom /ship"), so typing /ship ran Claude Code's version and gstack's never loaded (#4775).

Blast radius

Install and upgrade paths for every host: setup, gstack-relink, the Claude render cache and the skill-name helpers. Anyone who typed /ship for gstack's skill now types /gstack-ship; Claude Code's own /ship is untouched.

Issues

Refs #4775

Follow-ups

Known gaps left for a follow-up, each below the blocking floor:

  1. A per-install render kept after a failed re-render still says name: ship and /ship --resume until setup succeeds (bin/gstack-skill-name.sh:41, setup:1285 warns). Same as today's stale-cache behavior.
  2. The short-name upgrade's cleanup of the old ship/ folder (bin/gstack-relink:445) also removes a symlink a user added there if it points into gstack's checkout. It is the existing cleanup helper main already uses for retired skills; the link's target stays.
  3. Recovery text that still says /ship: lib/ship-release.ts:471, bin/gstack-review-plan:315, lib/review-depth.ts:464 and :477 (a pinned reviewer source, so it needs a no-loss replay), lib/ship-preflight.ts:72 and :77, lib/result-codes-release.ts:193, runaway-stopper/templates/successor-brief.md:11, ship/sections/review-army.md.tmpl lines 17, 80 and 263, help text in gstack-approvals, gstack-base-red and gstack-capy-session, and capy/skill/gstack/SKILL.md lines 41 and 57.
  4. test/helpers/native-auto-decide.ts:165 still matches only the old "/review then /ship" notice wording.
  5. After a short-name upgrade on render or Windows installs, an empty ~/.claude/skills/ship/sections/ folder can be left behind.
  6. In short-name mode, removing the old ship/ entry depends on gstack-relink succeeding; setup only warns when it fails.
  7. If a user has their own gstack-qa skill with sections/exploratory.md in a short-name install, the shipping skill's QA step reads it instead of ../qa (scripts/resolvers/qa.ts:17). gstack's own leftover gstack-qa is removed by setup.
  8. crew/docs/captain.md:128 links to shipping headings that no longer exist.
  9. On a Windows copy install in short-name mode, migrating the old ship/ entry leaves its copied asset folders behind with no SKILL.md; Claude Code ignores them.
  10. The dots harness (lib/harness-register.ts:99) installs into its own skills folder, not Claude Code's, so Claude Code's reserved /ship does not apply there and nothing changed for it.
Agent notes

Successor to #4813 (same branch history plus the fixes its last second-model review asked for).

Plan: exempt: bug fix (R4)

Flaky: windows-scoped-tests (run 45539288736) failed once at d9099b7 on timeouts in test/ship-receipt-carry-rewrite.test.ts and passed its one rerun (job 138960784552); logged in the flaky ledger.

Sibling trial merge with #4803 (shares docs/ship-policy.md): clean merge, typecheck clean, 439 focused tests pass, 0 fail.

Documentation

Status: blocked, shipped under a named-risk exception. Scope: docs/, README.md and CONTRIBUTING.md against base 9a550bc; the first audit changed two /ship mentions to /gstack-ship in docs/ship-policy.md and docs/unattended.md, and the re-audit found the docs current.

Documentation exception: accepted by GStack Minder (GSTA-36) 2026-11-25 via GSTA-36:2026-11-25T03:37:57Z: docs audit predates the one-sentence QA path change in scripts/resolvers/qa.ts; no human-facing doc changed, and the final full review read it.

Ruled note: bin/gstack-skill-name.sh:41:outside-voice at 30d69dd ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T02:40:08Z) at 2026-11-25T02:41:41.335Z: #1 is the stale-cache behavior already ruled (below the R12 floor) (approval a-11ede0192f63)
Ruled note: bin/gstack-relink:445:outside-voice at 30d69dd ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T02:40:08Z) at 2026-11-25T02:41:41.474Z: #2 is main's existing cleanup helper, and no data is lost (below the R12 floor) (approval a-38fa5536d32e)
Ruled note: lib/ship-release.ts:471:outside-voice at 30d69dd ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T02:40:08Z) at 2026-11-25T02:41:41.634Z: #3 is wording only (below the R12 floor) (approval a-7495d16b4e96)
Ruled note: edit:docs/ship-policy.md at 3605a70 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T03:06:14Z) at 2026-11-25T03:06:23.969Z: docs-audit rename of /ship to /gstack-ship in policy prose; scoped reader clean (approval a-04943787cc9a)
Ruled note: edit:docs/unattended.md at 3605a70 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T03:06:14Z) at 2026-11-25T03:06:24.155Z: docs-audit rename of /ship to /gstack-ship in policy prose; scoped reader clean (approval a-421753e09d10)
Ruled note: lib/ship-release.ts:471:outside-voice at d9099b7 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T03:14:48Z) at 2026-11-25T03:20:28.603Z: #3 is wording only (below the R12 floor) (approval a-a0540b1830e6)
Ruled note: scripts/resolvers/qa.ts:17:outside-voice at d9099b7 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T03:37:09Z) at 2026-11-25T03:37:18.602Z: needs a user's own gstack-qa skill with sections/exploratory.md (below the R12 floor) (approval a-679f257b6097)
Ruled note: bin/gstack-skill-name.sh:41:outside-voice at d9099b7 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T03:37:09Z) at 2026-11-25T03:37:18.730Z: stale per-install render after a failed re-render, a class already ruled (below the R12 floor) (approval a-77f87ab43c72)

Open in Capy

Closed by fix e6515ea: p7/outside-voice#1 (a later full review at d9099b7 read it clean)

{
  "schema_version": 1,
  "pr": 4819,
  "head": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1",
  "version": "1.103.3.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 1788,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 45539288750,
      "attempt": 1,
      "tree": "f6f0e491c9c5583e065a1a6cecec34e6f1c3b092"
    }
  ],
  "calls": 101,
  "session_kind": "unattended",
  "head_tree": "f6f0e491c9c5583e065a1a6cecec34e6f1c3b092",
  "product_patch_id": "4525cf8e19835c13de255038609460f96bf04444",
  "gstack_version": "1.103.2.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 1052,
    "rules": "33831f8248a814fd",
    "base": "9a550bca9c25caf7c3ac9d3377249a261910059a",
    "registry": "9a550bca9c25caf7c3ac9d3377249a261910059a",
    "gate_scan": {
      "tagged": 0,
      "head": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1"
    },
    "reasons": [
      "gate-class",
      "risk:money",
      "risk:data",
      "runtime=1052"
    ],
    "risk": [
      "money",
      "data"
    ],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @f6f0e491c9c5 (8 checks, current for d9099b7c8da7)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/45539288750/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45539288750/attempts/1",
    "windows-setup-e2e.yml/windows-setup: https://github.com/garrytan/gstack/actions/runs/45539288708/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45539288765/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=f6f0e491c9c5 tests=39545 skipped=106 runs=45539288750/1 profiles=ci-reuse/free-tests heads=d9099b7c8da7 verified=2026-11-25T03:41:45.397Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      4775
    ],
    "flakes": []
  },
  "docs": {
    "status": "blocked",
    "scope": "docs/, README.md and CONTRIBUTING.md against base 9a550bca (two /gstack-ship fixes from the first audit in docs/ship-policy.md and docs/unattended.md)",
    "exception": {
      "accepted_by": "GStack Minder (GSTA-36)",
      "date": "2026-11-25",
      "via": "GSTA-36:2026-11-25T03:37:57Z",
      "reason": "docs audit predates the one-sentence QA path change in scripts/resolvers/qa.ts; no human-facing doc changed, and the final full review read it."
    }
  },
  "review_loop": {
    "passes": 4,
    "blocking_found": 12,
    "deferred": 0,
    "noted": 16,
    "fixed": 4,
    "scope": "frozen",
    "rounds": 4,
    "unrecorded": 2,
    "ledgers_read": 8,
    "unbound": 4,
    "dispatches": {
      "specialist": 16,
      "red-team": 4
    }
  },
  "cleared_by_trailer": [
    {
      "id": "p7/outside-voice#1",
      "commit": "e6515ea7c8fd8eb4604d56618510e3ff9e349f64",
      "review": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1"
    }
  ],
  "ruled_notes": [
    {
      "finding": "bin/gstack-skill-name.sh:41:outside-voice",
      "head": "30d69dd95b3113206efcb68669c6453c0b548fcd",
      "by": "GStack Minder (GSTA-36)",
      "reason": "#1 is the stale-cache behavior already ruled (below the R12 floor)",
      "at": "2026-11-25T02:41:41.335Z",
      "approval": "a-11ede0192f63",
      "relayed": "GSTA-36:2026-11-25T02:40:08Z"
    },
    {
      "finding": "bin/gstack-relink:445:outside-voice",
      "head": "30d69dd95b3113206efcb68669c6453c0b548fcd",
      "by": "GStack Minder (GSTA-36)",
      "reason": "#2 is main's existing cleanup helper, and no data is lost (below the R12 floor)",
      "at": "2026-11-25T02:41:41.474Z",
      "approval": "a-38fa5536d32e",
      "relayed": "GSTA-36:2026-11-25T02:40:08Z"
    },
    {
      "finding": "lib/ship-release.ts:471:outside-voice",
      "head": "30d69dd95b3113206efcb68669c6453c0b548fcd",
      "by": "GStack Minder (GSTA-36)",
      "reason": "#3 is wording only (below the R12 floor)",
      "at": "2026-11-25T02:41:41.634Z",
      "approval": "a-7495d16b4e96",
      "relayed": "GSTA-36:2026-11-25T02:40:08Z"
    },
    {
      "finding": "edit:docs/ship-policy.md",
      "head": "3605a70b22150ea2b7ce91f034c745cb703ad73d",
      "by": "GStack Minder (GSTA-36)",
      "reason": "docs-audit rename of /ship to /gstack-ship in policy prose; scoped reader clean",
      "at": "2026-11-25T03:06:23.969Z",
      "approval": "a-04943787cc9a",
      "relayed": "GSTA-36:2026-11-25T03:06:14Z"
    },
    {
      "finding": "edit:docs/unattended.md",
      "head": "3605a70b22150ea2b7ce91f034c745cb703ad73d",
      "by": "GStack Minder (GSTA-36)",
      "reason": "docs-audit rename of /ship to /gstack-ship in policy prose; scoped reader clean",
      "at": "2026-11-25T03:06:24.155Z",
      "approval": "a-421753e09d10",
      "relayed": "GSTA-36:2026-11-25T03:06:14Z"
    },
    {
      "finding": "lib/ship-release.ts:471:outside-voice",
      "head": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1",
      "by": "GStack Minder (GSTA-36)",
      "reason": "#3 is wording only (below the R12 floor)",
      "at": "2026-11-25T03:20:28.603Z",
      "approval": "a-a0540b1830e6",
      "relayed": "GSTA-36:2026-11-25T03:14:48Z"
    },
    {
      "finding": "scripts/resolvers/qa.ts:17:outside-voice",
      "head": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1",
      "by": "GStack Minder (GSTA-36)",
      "reason": "needs a user's own gstack-qa skill with sections/exploratory.md (below the R12 floor)",
      "at": "2026-11-25T03:37:18.602Z",
      "approval": "a-679f257b6097",
      "relayed": "GSTA-36:2026-11-25T03:37:09Z"
    },
    {
      "finding": "bin/gstack-skill-name.sh:41:outside-voice",
      "head": "d9099b7c8da7fd0198be890a956ebd7d321ec2d1",
      "by": "GStack Minder (GSTA-36)",
      "reason": "stale per-install render after a failed re-render, a class already ruled (below the R12 floor)",
      "at": "2026-11-25T03:37:18.730Z",
      "approval": "a-77f87ab43c72",
      "relayed": "GSTA-36:2026-11-25T03:37:09Z"
    }
  ],
  "gate_dispositions": [],
  "review_targeted": {
    "classes": [
      "money"
    ],
    "rules": "e01517eddd4b2350",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "4525cf8e19835c13de255038609460f96bf04444",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

garrytan and others added 11 commits November 24, 2026 22:51
…e Code reserves (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t-in /ship no longer hides it (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ip (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…so following them never starts Claude Code's built-in /ship (#4775)

Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/outside-voice#4 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…n older render as gstack-ship (#4775)

Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… rename of an older ship render (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ed cached render of it (#4775)

OpenClaw's injected pipeline text, llms.txt, the merge-queue NEXT lines, the
early Greptile PR body and the gate-disposition messages now name /gstack-ship.
gstack-relink and setup no longer serve a cached ship render from an older
gstack version, which still says /ship; a missing install registry is reported;
a user's own ship skill is no longer reported as skipped; and old ship copies
moved aside on upgrade are reported as gstack's old entries.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 7 commits November 25, 2026 01:42
)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…rker in its record, not VERSION (#4775)

Review-Finding: p2/red-team#1 reader=red-team
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…in the scoped-review recovery text (#4775)

Review-Finding: p3/outside-voice#1 reader=outside-voice
Review-Finding: p3/outside-voice#3 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e-fix

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	docs/review-policy.md
…the changelog note (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ays in ../qa (#4775)

Review-Finding: p7/outside-voice#1 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…er briefs are unchanged (#4775)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot marked this pull request as ready for review November 25, 2026 03:46
@capy-ai
capy-ai Bot merged commit 719b1f5 into main Nov 25, 2026
67 of 70 checks passed
capy-ai Bot added a commit that referenced this pull request Nov 25, 2026
…econd-model stops (GST-3814) (#4829)

/gstack-ship no longer asks for every reviewer again after an edit the
owner already ruled a note, and a stop on a second-model reviewer's
blocker now records instead of failing with STOP_UNBOUND.

Why: both forced hand-written workarounds after the final review (#4819,
yc-software/qm#3973, gskills#45 and #46).

Nothing to do: the fixes apply on the next /gstack-ship run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant