fix: keep Claude install source out of skill root#1204
Open
ofnullable wants to merge 4 commits intogarrytan:mainfrom
Open
fix: keep Claude install source out of skill root#1204ofnullable wants to merge 4 commits intogarrytan:mainfrom
ofnullable wants to merge 4 commits intogarrytan:mainfrom
Conversation
Move the global Claude source checkout to ~/.gstack/repos/gstack and keep ~/.claude/skills/gstack as a runtime-only sidecar so Claude does not recursively discover host-specific generated skills.
Refresh generated skill docs after the Claude source/root resolver changes so checked-in outputs match the templates.
Document the split between the ~/.gstack/repos/gstack source checkout and the ~/.claude/skills/gstack runtime sidecar for users and contributors.
93d5c60 to
34fe7c6
Compare
3ab41bb to
6c576f5
Compare
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.
Summary
~/.claude/skills/gstackand into~/.gstack/repos/gstackso Claude does not recursively discover host-specific generated skills.~/.claude/skills/gstackas a runtime-only sidecar for shared binaries/assets, includingbrowse,design,make-pdf, review, and QA resources..claude/skills/gstackremains a symlink to the working tree, and document the source-checkout vs sidecar split.Fixes #1202.
Commit structure
fix: keep Claude install source out of skill root— installer, resolver, host config, and regression coverage.chore: regenerate skill docs— generatedSKILL.mdoutput only.docs: explain Claude source checkout and sidecar— README/contributor/maintainer docs only.Verification
bash -n setup && bash -n bin/dev-setup && bash -n bin/dev-teardown && bash -n bin/gstack-team-initbun test test/gen-skill-docs.test.ts --test-name-pattern "setup script validation"bun test test/setup-codesign.test.tsbun test test/host-config.test.tsbun test test/team-mode.test.tsbun run gen:skill-docs --host all --dry-runbun run build