fix(ship): point design-checklist at installed gstack/review path - #2717
Open
Lockyer228 wants to merge 2 commits into
Open
fix(ship): point design-checklist at installed gstack/review path#2717Lockyer228 wants to merge 2 commits into
Lockyer228 wants to merge 2 commits into
Conversation
The /ship Design Review step skipped the checklist because the generated path omitted the gstack/ install segment. Sync the generated skill doc and pin a regression assertion. Co-authored-by: Cursor <cursoragent@cursor.com>
The resolver now emits ~/.claude/skills/gstack/review/design-checklist.md, which the codex/factory path rewrites render as $GSTACK_ROOT/review/... matching the existing line-185 form. Regenerate both goldens so the golden-file regression test tracks the fixed output.
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
Contributor
Author
|
/trunk merge |
|
An error occurred while submitting your PR to the queue: |
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.
Why
The
design-review-armyresolver emits the design-checklist path without thegstack/namespace segment:scripts/resolvers/design.ts:47emits~/.claude/skills/review/design-checklist.md, but the file is installed at~/.claude/skills/gstack/review/design-checklist.md.~/.claude/skills/gstack/review/...shape), so this is an inconsistency within one resolver..claude/skills/review/checklist.md, a path the installer never creates #2661 fixed the siblingchecklist.mdpath in this section but misseddesign-checklist.md, so the broken path survives on currentmain(verified at394db32, v1.71.0.0: generatedship/sections/review-army.md:91still carries the broken path, while line 185 of the same generated file shows the correct form).What changed
scripts/resolvers/design.ts— one line: point the design-checklist path at~/.claude/skills/gstack/review/design-checklist.md.ship/sections/review-army.md— regenerated (the only shipped artifact that references this resolver output).test/gen-skill-docs.test.ts— new regression assertion locking the corrected path.test/fixtures/golden/codex-ship-SKILL.md,test/fixtures/golden/factory-ship-SKILL.md— regenerated. After the fix, the codex/factory path rewrites render the checklist as$GSTACK_ROOT/review/design-checklist.md, which is the canonical form already used by the existing golden line (matches thepathRewritesinhosts/codex.ts/hosts/factory.ts).Live evidence
main(394db32): generatedship/sections/review-army.md:91contains.claude/skills/review/design-checklist.md(broken; missing thegstack/segment). Line 185 of the same file shows the correct form.bun run gen:skill-docs: line 91 renders~/.claude/skills/gstack/review/design-checklist.md, byte-identical to the canonical form used at line 185.bun run gen-skill-docs --host allregenerates a clean tree:--dry-runreports FRESH, no diff.bun test test/gen-skill-docs.test.ts→ 416 pass / 0 fail (includes the new assertion and the updated goldens).bun test test/host-config.test.ts→ 76 pass / 0 fail..claude/skills/review/checklist.md, a path the installer never creates #2661 (correct the resolver path, regenerate), which landed in v1.68.0.0.Scope
.claude/skills/review/checklist.md, a path the installer never creates #2661 discussion): theTODOS-format.mdreference inship/SKILL.md.tmpl— deliberately left out to keep this diff minimal.Did NOT test
gstack shipsession (the fix is verified at the generator/output/golden level; the skill content itself is unchanged prose).Fixes #2694