Repository navigation
Conversation
On a `--prefix` install where skills land as `gstack-review` and `gstack-qa`,
`_status_install_checks` in `setup` resolved `../*` pointers literally against
`$dir`, failing on `../qa/sections/exploratory.md` in `gstack-review/SKILL.md`
even though the next line documents `../gstack-qa/sections/exploratory.md`.
Fall back to `$dir/../gstack-${tok#../}` when `${dir##*/}` is `gstack-*`.
Fixes garrytan#4164
|
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 |
|
Thanks @ElNeMeR70, this is the fix for #4164, which we'd already confirmed. We're picking it up: a crew lane will rewrite it on current main and credit you as co-author, and we'll close this PR when that lands. |
|
Thank you for this. We're picking up the idea. A maintainer agent working through a batch of fixes (our tracking thread GSTA-801) will first reproduce the problem on current main. If it reproduces, the agent rebuilds the fix on main with you credited as co-author, because we don't merge outside branches directly, and we'll close this PR with a link when it lands. If it no longer reproduces, we'll close this and say what changed. |
|
Thank you. Your one-line fallback and test were rebuilt on current main and landed in #4682, with you credited as co-author. Closing this in favour of that PR. |
Running
./setup --statuson a--prefixinstall reported 1 of 114 section links broken and exited 1 becausegstack-review/SKILL.mddocuments both../qa/sections/exploratory.mdand../gstack-qa/sections/exploratory.mdwhile_status_install_checksresolved../pointers literally without checking thegstack-*prefixed sibling directory. Falling back to../gstack-<rest>when an installed skill directory is prefixed lets./setup --statusresolve the documented prefixed sibling and exit 0.Summary
_status_install_checks()(setup), when${dir##*/}is prefixed (gstack-*) and$dir/$tokis not readable for a../*pointer, check$dir/../gstack-${tok#../}before counting the pointer as broken.brokenSectionPointersand add a conformance test intest/host-conformance.test.tscovering./setup --host claude --prefixfollowed by./setup --status.Fixes #4164