Repository navigation
feat(dist): verify-distribution reports duplicate install channels - #226
Merged
Merged
Conversation
The 80-collision symptom came from the package channel and the symlink channel both owning pi, loading every skill name twice and ranking a copy the maintainer does not edit. Add a check that names each active channel and fails when package + symlink are both present: bash scripts/verify-distribution.sh --strict # exit 1 on conflict bash scripts/install.sh --verify # same via install.sh tests/test-verify-distribution.sh drives it against a fake HOME (clean, package-only, conflict, symlink-only) and is wired into the golden suite. docs/references/agent-tooling.md documents the pi channel matrix and the acceptance line (80 skills loaded, zero warnings). Refs #208
|
🎉 This PR is included in version 2.94.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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 this fixes — #208
Five channels shipped the same catalog to four places pi scans, producing 80 skill-name collisions per start; the copy pi kept was not the one the maintainer edits. This PR adds the diagnostic + contract that stops that from being silent.
Change
scripts/verify-distribution.sh— names each active pi channel (package entry in~/.pi/agent/settings.jsonvs.~/.pi/agent/skillssymlinks) and fails when both own pi:tests/test-verify-distribution.sh(4 checks) drives it against a fake HOME: clean, package-only, package+symlink conflict (--strictexit 1), symlink-only. Wired into the golden suite.docs/references/agent-tooling.md— the pi channel matrix and the acceptance line (80 skills loaded, zero warnings).Scope note
This is the diagnostic half of #208. The full single-channel manifest (
distribution-targets.yamldrivingsync-skills.sh/install.sh/bin/setup.js, with exclusive-per-host setup) is a multi-story effort and is tracked as epic #214. This PR delivers the detectable contract so the collision is no longer silent, which is the acceptance criterion that was measurable today.Evidence
Gates
npm run compliance0 ·bash scripts/run-verification-gates.sh61/61 ·trace-stories --strict0.Closes #208