Skip to content

Keep skill_prefix after updates, retire the ClawHub install route, and stop misreading cross-repo issue refs (GST-2967) - #4454

Merged
capy-ai[bot] merged 6 commits into
mainfrom
fix-skill-prefix-renders-clawhub-docs-issue-refs
Nov 17, 2026
Merged

capy-ai[bot] merged 6 commits into
mainfrom
fix-skill-prefix-renders-clawhub-docs-issue-refs

Conversation

@garrytan

@garrytan garrytan commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Three small fixes: skill_prefix=true now survives updates when gbrain is installed, the OpenClaw docs stop sending people to stale ClawHub skills, and gstack-issue-links no longer reads other repositories' issue numbers as gstack issues.
Why: each one misleads users or /ship today (wrong skill names after every update, April 2026 skill builds, wrong Refs #N lines in PR bodies).
Nothing to do as a reader. Thanks @fliaron (#4413) and @exGeni (#4421) for the detailed reports.

What changed
  • skill_prefix after re-renders (skill_prefix=true still served unprefixed names: gbrain and overlay renders swap in without gstack-patch-names (follow-up to #2738) #4413). Three Claude render paths swapped a fresh render into the live render dir without running gstack-patch-names: the gbrain branch of ./setup, gstack-config gbrain-refresh, and gstack_claude_render_plain in bin/gstack-render-claude.sh. Because ./setup renders after its relink step, every update served unprefixed name: fields. Each path now patches the temp render before the swap, as _render_install already did. The plain render reads the saved skill_prefix through the gstack-config beside it.
  • OpenClaw docs (OpenClaw docs point to ClawHub skills still at the April 1.0.0 publish; the count says four, the list has three #4421). docs/hosts.md and docs/OPENCLAW.md no longer tell anyone to clawhub install the gstack-openclaw-* skills (the docs said four and listed three). Those were 1.0.0 builds from 2026-04-05 that were never updated, and the four gstack skills were removed from ClawHub on 2026-11-17 (each now returns 404). The docs now point to native registration (./setup --host openclaw), whose gstack router skill already serves the current /office-hours, /plan-ceo-review and /retro, and tell readers who installed them to remove them. docs/OPENCLAW_PUBLISHING.md says the route is retired.
  • Cross-repo issue references (GST-2967). A parenthesis citing several repositories, such as (founderstar #837, harness-evals #393), used to fall through to the bare-#N rule and became this repository's Refs #837 and Refs #393 with fix-#N offers. Each named reference in a parenthesis is now a cross-repo reference to its own name. owner/repo#N naming the current repository is now its own issue, so Fixes garrytan/gstack#N closes it. Bare mentions (mentions #12, (see #12, #13), Fixes #14) are unchanged.
Tests

Each fix has a test written first that fails on main:

  • test/user-render-out-dir-install.test.ts: every render swap in setup, bin/gstack-config and bin/gstack-render-claude.sh comes after gstack-patch-names on the same temp dir, and the plain render serves gstack-retro with the prefix on and retro with it off.

  • test/ship-issue-intent.test.ts: the founderstar case, the bare-mention controls, and this repository's owner/repo#N (pure and through the bin).

  • bun test test/ship-issue-intent.test.ts test/user-render-out-dir-install.test.ts: 27 pass, 0 fail at 066e283.

  • bun run test (the full free suite): green in CI at 066e283, free-tests run 44132131782.

Blast radius

Render paths: one extra gstack-patch-names call per Claude re-render, idempotent, and a failure there is treated as a failed render (the previous render stays). Issue links: only parenthesised named references and this repository's owner/repo#N change. A name #N written in prose outside parentheses is still read as this repository's issue, because the text can't tell founderstar #837 from mentions #12. Docs: OpenClaw pages only. The ClawHub listings were removed separately, outside this PR.

Why

People with skill_prefix=true saw their skills lose the gstack- prefix after every update, OpenClaw users were sent to skill builds from April that were never updated, and PR bodies linked unrelated gstack issues whenever a commit cited issues in other repositories. Each fix removes one of those surprises.

Pre-Landing Review

No blocking issues. One review pass over the whole diff: a batched specialist reader (testing, security, state machines, red team) found nothing, and a fresh-context adversarial reader raised four low-severity notes, listed below; none would fail a test, break production or lose data, so none was fixed here. A second-model review was not planned for this change (code only, no numeric claims).

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL lib/issue-links.ts:55 named-reference lists separated by 'and', or led by a filler word, still read as this repo's issues (pre-existing; not a regression)
  • INFORMATIONAL bin/gstack-render-claude.sh:143 plain render reads skill_prefix from gstack-config rather than setup's resolved SKILL_PREFIX; diverges only if the config save failed
  • INFORMATIONAL bin/gstack-config:1283 a failed 'get skill_prefix' falls back to false silently (also bin/gstack-render-claude.sh:143)
  • INFORMATIONAL bin/gstack-issue-links:159 stderr labels a foreign Fixes owner/repo#N as 'closure'; a failed gh repo lookup leaves Fixes garrytan/gstack#N as a cross Refs without notice
Exploratory QA

Command-line smoke check, 2 probes, both passing: gstack-patch-names on a fixture render rewrites name: to gstack-retro and gstack-review, and the issue-link parser handles mixed named and filler references in one parenthesis, this repository's own owner/repo forms, and a 40 KB line in a few milliseconds. End-to-end ./setup and gstack-config gbrain-refresh renders were not run here.

Eval Results

No prompt-related files changed, so evals were skipped.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Bug fixes with failing-first tests need no plan.

Issues

Fixes #4413
Fixes #4421
Refs #393
Refs #837
Refs founderstar#837
Refs harness-evals#393

TODOS

No TODO items completed in this PR.

Documentation

Status: current. The docs already match this branch, so no edits were needed.

Scope: base e0c4136 to head 066e283, 6 commits and 13 committed files (README.md, docs/OPENCLAW.md, docs/OPENCLAW_PUBLISHING.md, docs/hosts.md, docs/pregate.md, changelog.d fragment, bin/gstack-config, bin/gstack-issue-links, bin/gstack-render-claude.sh, lib/issue-links.ts, setup, 2 tests). Nothing was staged, unstaged or untracked. Also read: CLAUDE.md, docs/CONTRIBUTOR_REFERENCE.md.

Documentation health:

  • README.md: current. The host-notes rows say OpenClaw native skills, not ClawHub.
  • docs/hosts.md: current. Points to ./setup --host openclaw and says to remove the April 2026 ClawHub copies.
  • docs/OPENCLAW.md: current. Methodology skills come through native registration, and the install steps were fixed.
  • docs/OPENCLAW_PUBLISHING.md: current. The Status note marks ClawHub publishing as retired.
  • docs/pregate.md: current. Documents parentheses that name several repositories and owner/repo#N for this repository.
  • CLAUDE.md: unchanged. Its ClawHub publishing pointer is left for a maintainer to decide on.
  • docs/CONTRIBUTOR_REFERENCE.md: current for setup-time prefixing.

Coverage debt: no doc says the saved skill_prefix is applied on every Claude re-render; the changelog fragment is its only reference. ownRepoMentions is internal. No diagram drift.

Agent notes

Lane GSTA-586 for GStack Minder (GSTA-36); GST-2997 tracks this PR, and it closes GST-2967. The Refs #393 and Refs #837 lines come from prose outside parentheses in commit dcce481's message, which the tool cannot tell from this repository's references (see Blast radius); they are not gstack issues this PR touches.

Approvals

No approvals recorded for branch fix-skill-prefix-renders-clawhub-docs-issue-refs.
Plan: exempt: bug fix (--kind fix, R65)
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=1 dispatches=1
Gate edits: none detected (4 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
CI_CARRY: accepted ci-carry tree=a2020eeddd7f tests=37499 runs=44132131782/1 profiles=ci-reuse/free-tests heads=066e283999ef verified=2026-11-17T17:08:35.885Z
PREGATE: requires-remote cleared (final tree)

Refs GST-2967, GST-2997

🤖 Generated with Claude Code

{
  "schema_version": 1,
  "pr": 4454,
  "head": "066e283999efa3248bcaa3848a96bc4d90add02c",
  "version": "1.100.0.0",
  "base": "main",
  "gate": {
    "targeted": {
      "pass": 27,
      "fail": 0,
      "skip": 0
    },
    "test": {
      "pass": 1680,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 44132131782,
      "attempt": 1,
      "tree": "a2020eeddd7fb702efd0e33ae15d34b3b7e197a0"
    }
  ],
  "session_kind": "unattended",
  "run": "ship-4454-dcce481",
  "head_tree": "a2020eeddd7fb702efd0e33ae15d34b3b7e197a0",
  "product_patch_id": "e4502a9b26303ed5561c81ff84b232be9a0407ce",
  "gstack_version": "1.100.0.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 57,
    "rules": "66e5174161eecc2c",
    "base": "0ee5914628eb0373876bfc9c511a48178a6700fa",
    "registry": "0ee5914628eb0373876bfc9c511a48178a6700fa",
    "gate_scan": {
      "tagged": 0,
      "head": "066e283999efa3248bcaa3848a96bc4d90add02c"
    },
    "reasons": [
      "runtime=57"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @a2020eeddd7f (8 checks, current for 066e283999ef)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/44132131782/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/44132131782/attempts/1",
    "windows-setup-e2e.yml/windows-setup: https://github.com/garrytan/gstack/actions/runs/44129474090/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/44129474134/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=a2020eeddd7f tests=37499 skipped=104 runs=44132131782/1 profiles=ci-reuse/free-tests heads=066e283999ef verified=2026-11-17T17:08:35.885Z"
  ],
  "issues": {
    "fixes": [
      4413,
      4421
    ],
    "refs": [
      393,
      837
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "base e0c4136 to 066e283: the 13 committed branch files plus README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md and docs/ (re-audit after the docs-only commit 066e283)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 1,
    "dispatches": {
      "specialist": 1
    }
  },
  "gate_dispositions": []
}

Open in Capy

garrytan and others added 3 commits November 17, 2026 16:20
With gbrain installed, ./setup rendered the brain-aware skills after the
relink step and swapped them in without gstack-patch-names, so a session
update served unprefixed name: fields even with skill_prefix=true. The
same gap was in gstack-config gbrain-refresh and in the shared plain
render. Each of those paths now patches the fresh render before the swap,
as the per-install render already did, and a test checks that every
render swap is preceded by the patch.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The OpenClaw docs told readers to install three gstack-openclaw-* skills
from ClawHub (while saying four). ClawHub still serves their first
publish, 1.0.0 from 2026-04-05, which no longer matches the repo, and
./setup --host openclaw already gives the agent the current
/office-hours, /plan-ceo-review and /retro through the gstack router
skill. docs/hosts.md and docs/OPENCLAW.md now point there and tell
readers to remove the ClawHub copies; the publishing notes say the route
is retired.

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

gstack-issue-links read "(founderstar #837, harness-evals #393)" as this
repository's #837 and #393: the named-reference rule matched only one
name per parenthesis, so a list fell through to the bare-#N rule and
produced wrong Refs lines and fix-#N offers. A parenthesis may now hold
several named references, each a cross-repo reference to its own name.
An owner/repo#N naming the current repository is now its own issue, so
"Fixes garrytan/gstack#N" closes it instead of printing a cross-repo
Refs line.

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

trunk-io Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 3 commits November 17, 2026 16:40
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>
The four gstack-openclaw-* skills were removed from ClawHub on
2026-11-17, so the OpenClaw docs, the publishing notes and the changelog
line no longer say ClawHub serves April builds.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit b1c3282 into main Nov 17, 2026
82 of 83 checks passed
Davmunrey added a commit to Davmunrey/gstack that referenced this pull request Nov 17, 2026
main renamed the list the commit loop fills (mentions to named) for the
cross-repo reference work in garrytan#4454, on the lines this branch changes.
Keep both: the loop fills named, and still drops the newline git log
leaves at the start of every entry after the first.
This was referenced Nov 18, 2026
capy-ai Bot added a commit that referenced this pull request Nov 18, 2026
- A test, or a scratch repository in the temp directory, can no longer write approval rows into your real Capy Drive (GST-3027). (#4466)
- An unattended /autoplan run on Claude Code no longer says the publication guard is off while it is on. (#4481)
- A phase report written only in reasoning now gets a denial that says so and names the fix. (#4481)
- `gstack-autoplan revise` no longer refuses a plan that the first `next` accepted. (#4470)
- `revise --plan` with a different file now says the run follows that file. (#4470)
- A second-model plan review in `/autoplan` is no longer reported as unavailable when it actually ran (GST-3051). (#4471)
- The /ship conductor trial plan now lets case reverts that conflict with later code be resolved by hand in docs, tests and the planted file, so large pull requests can be cases (GST-3003). (#4460)
- A locked plan for a trial of /ship without its separate conductor subagent (GST-3003). (#4456)
- A driven /ship now runs each phase as one command, counts its calls, and stops itself at 100 minutes. (#4451)
- /ship stops asking owners to clear two kinds of bookkeeping noise: base-side merge text and a reviewer's confirmation prose. (#4458)
- A base merge that only touched base-side text no longer stops `/ship` finish for an owner's grant. (#4458)
- A reviewer's confirmation prose no longer becomes a Critical finding that only an owner can clear. (#4458)
- A CI run that passed only after its failed jobs were re-run is now marked wherever gstack reuses it. (#4473)
- /ship reuses CI's passing test run when merging the base changed no file, and stops instead of quietly starting hour-long test runs or reviewing an empty diff (GST-3019). (#4461)
- /ship on Codex no longer stops at the test coverage audit. (#4489)
- A cold first-use check before an app build reaches its owner (GST-3025). (#4465)
- `skill_prefix=true` now survives updates when gbrain is installed. (#4454)
- The OpenClaw docs no longer send you to ClawHub, which held only April 2026 builds of office-hours, ceo-review and retro and no longer has gstack skills (the docs also said four skills while listing three). (#4454)
- `gstack-issue-links` no longer reads other repositories' issues as gstack's. (#4454)
- /ship's pre-gate finds the tests of a monorepo app that imports through its own `@/` alias. (#4464)
- /office-hours explains why it recommends a mode. (#4450)
- /office-hours keeps its 34 founder videos and essays out of the skill file. (#4463)
- Two `gstack-owner-answers add` runs for the same answer no longer collide. (#4490)
- A Captain can check an ask against the owner's earlier answers before sending it. (#4467)
- `gstack-post` stops reading /ship's own receipt identifiers as phone numbers, so posting a /ship PR body no longer needs a confirm. (#4488)
- GitHub release notes now list every change in plain words, with a link to its pull request. (#4390)
- gstack's router no longer gives bug reports a special rule, so the model fixes a bug the way it would without gstack. (#4442)
- /ship's review plan now sorts Swift and Xcode files by risk instead of sending every iOS PR to the full review panel (GST-3041). (#4469)
- /ship's review plan now sends Swift code that touches private user data to the full review panel (GST-3052). (#4472)
- A round grant at /ship's review round cap now buys the fix round it names, in the same run or the next (GST-2968). (#4479)
- The secrets check stops flagging three kinds of ordinary code as a secret, and catches two misses. (#4457)
- A security finding's location and reason no longer go into a PR body. (#4486)
- The token-capped /ship child on Claude Code now starts its prompt with the typed `/ship` command, so the skill actually loads. (#4487)
- A /ship receipt now counts the second-model review's blocking findings, and refuses to be written while one is still open. (#4485)
- A `/ship` with a token cap on Claude Code no longer stops at its first handoff. (#4452)
- /ship's push step now always ends with one line that says whether it pushed (GST-3053). (#4474)
- A PR's review-round count can no longer be overwritten by the body `/ship` posts. (#4440)
- One queued record with a malformed path no longer stops artifacts sync for every project. (#4455)
- A failed artifacts push stays reported until a push succeeds. (#4455)
- The /sync-gbrain memory row no longer says OK when pages failed to import. (#4455)
- ### Tests (#4495)
- A policy-floor test no longer fails once gstack's own version reaches the minor after the newest policy key; it now checks a floor above both, so the v1.101.0.0 release can pass CI. (#4495)
- CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2. (#4453)
- Packing a checkout for a Ubicloud run no longer fails when git beside it is rewriting a ref. (#4447)
- The /plan-ceo-review HOLD SCOPE eval no longer fails a review because its follow-up question didn't repeat the mode name. (#4447)
- Unattended /autoplan now records the owner's relayed gate reply instead of refusing it. (#4484)
- Unattended /autoplan now runs the second-model review you turned on, and waits for it instead of ending the session. (#4459)
- Two /autoplan runs started in the same second no longer share a run id. (#4459)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant