feat: safely retire excluded skill aliases - #9
Merged
Conversation
leojkwan
force-pushed
the
codex/skillbox-product-exclusions-20260816
branch
2 times, most recently
from
August 16, 2026 09:35
10e26af to
61441c3
Compare
leojkwan
force-pushed
the
codex/skillbox-product-exclusions-20260816
branch
from
August 16, 2026 09:36
61441c3 to
d3fbc47
Compare
leojkwan
marked this pull request as ready for review
August 16, 2026 09:38
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.


What changed
Skillbox sources can now declare
exclude = ["legacy-alias"]. Excluded leaves stop resolving, cannot be added, and stay absent after a future sync.skillbox retire <name> --source <id>safely parks existing runtime links only when they still point at the selected archived source leaf. It refuses a foreign link, a real file, or a lower-priority active source that would otherwise take the name over.Retirement is capture-first: it uses the platform no-replace rename primitive, anchors the runtime root and recovery journal with directory FDs, and refuses to print a recovery path if either named directory changes mid-operation. Normal Skillbox mutations take one cooperative lock before loading the manifest, so a stale sync cannot remount a just-retired alias.
Why
We need to retire product-specific compatibility aliases without deleting their archived source folders or letting
skillbox syncbring them back across Cursor, Codex, and Claude.Validation
bash tests/run_all.sh— 19 hermetic test files greengit diff --check