Repository navigation
Conversation
…1a-i) Adds [[agents.skills]] (id, path, delivery="prompt") with an explicit admission API that resolves paths against the declaring config, opens without following symlinks, bounds reads (32 KiB per skill, 64 KiB per selection), validates frontmatter name/description with a strict parser (no YAML dependency) and freezes exact bytes plus SHA-256. Registry conversion refuses nonempty skills until PR 1a-ii wires delivery. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JhYB2xRuHRHxDFM7eDt8Fh
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.
PR 1a-i of the reviewer prism-skill design (
docs/superpowers/specs/2026-10-18-reviewer-prism-skill-design.md§§1, 2, 6). This is the parse/validate/freeze foundation; workflow delivery (1a-ii) follows after G-A2.2 slice b.What it adds
[[agents.skills]]withid,pathanddelivery = "prompt". If skills are absent the selection is empty. Unknown delivery values, empty IDs or paths, and duplicate IDs within an agent are rejected.RegistryConfig::admit_skills(declaring_config, checkout):Cargo.*is untouched):|/>block scalars fornameanddescription;not_delivered(route)value exists for later reporting.Not touched:
session_fingerprint.rs,execution_policy.rs,main.rs, corelib.rs, the G-A2.2 files, and the[custody], routing-chain and review-history sections ofconfig.rs. The bridge session confirmed the scope.Verification
custody_pushtests that fail only under full-workspace load (EAGAIN in a subprocess). Run alone, all 29 custody tests pass on both base c487d6c and this branch, so they're unrelated (Lane R is tracking them).cargo build --all-targets,cargo fmt --check,cargo clippy --workspace --all-targets -D warningsandvalidate --repo-hygienepass.cargo denyfails identically on base (RUSTSEC-2026-0381/0382); chore(deps): bump rustls-webpki and webpki-roots (RUSTSEC-2026-0381/0382) #191 fixes that.skills.rs(540 weighted lines) plus two test files, to stay under the 1,000-line split rule.🤖 Generated with Claude Code
https://claude.ai/code/session_01JhYB2xRuHRHxDFM7eDt8Fh