fix: self-healing skill prefix consistency in setup#805
Merged
Conversation
…rift Setup now runs gstack-relink as a final consistency check after linking Claude skills. This independently reads skill_prefix from config and ensures name: fields and directory names match, catching cases where interrupted setups or stale state left skills incorrectly prefixed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
E2E Evals: ✅ PASS0/0 tests passed | $0 total cost | 12 parallel runners
12x ubicloud-standard-2 (Docker: pre-baked toolchain + deps) | wall clock ≈ slowest suite |
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
gstack-relinkas a final consistency check afterlink_claude_skill_dirsin./setup. This independently readsskill_prefixfrom config and ensuresname:fields and directory names match, preventing the recurring issue where skills show up as/gstack-qainstead of/qadespiteskill_prefix: falsein config.Pre-Landing Review
No issues found. 7-line bash script change with proper error tolerance (
|| true, stdout/stderr suppressed).Test plan
bun testpasses (all skill validation, browse, eval tests)bash -n setupsyntax check passesgstack-relinkcorrectly restores flat names from prefixed state🤖 Generated with Claude Code