feat(skills): add the §3 priced-catalog metadata to skill frontmatter - #7
Merged
Conversation
Every skill now declares cost (free/cheap/subagents), protects (the outcome sentence the init menu will show), requires (substrate and capability preconditions), gate_key (its §4.2 mode-map binding), and ci_job (the authoritative CI job, if any). kit_version moves to 2.0.0-alpha. kit-update's frontmatter lands with the manifest work in the next commit to keep in-flight edits atomic. First slice of the v2.0-alpha rollout phase (metadata & manifest — no behavior change). Ref: SPEC.md §3, §14 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AUZigEcZo8BczjgS7gWUzZ
…v2.0-alpha) Completes rollout phase 1 of the v2 spec — metadata & manifest, no behavior change: - scripts/gen-catalog.sh (Tier-0 bash): regenerates the README workflow catalog from skill frontmatter between catalog markers, validates the §3 metadata (cost class, §4.2 gate-key set, duplicate claims), and prints the §4.3 strictness default maps via --modes; kit-ci fails on drift so the frontmatter stays the single source of truth. - scripts/gen-manifest.sh + .claude/kit-manifest.sha256 (PT10): the per-version path→sha256 manifest of kit-managed files. Bootstrap, adopt, and kit-update now record it into projects, and kit-update step 3 classifies SAFE vs NEEDS REVIEW against the recorded baseline instead of a git-blame heuristic — with never-SAFE rules for paths missing from the manifest and for settings.json (security-sensitive, always reviewed via the settings.template.json path mapping). - kit-doctor checks 12–15: §3 metadata validity (severity version-gated at the first v2 version), ci_job consistency against installed CI workflows (§2.3), gate-key coverage of the full §4.2 set, and manifest-recorded. - kit-ci: catalog + manifest drift checks, scripts/*.sh in the syntax gate, and the hook's own allowlist pragma on the planted secret-scan test vector so branch scans against a stale trunk don't false-positive. - followups: PT10 closed; PT2 progress note (requires: labels shipped, substrate itself lands in v2.1). Ref: SPEC.md §3, §4.2–§4.3, §12.1, §14 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AUZigEcZo8BczjgS7gWUzZ
…tive Ref: SPEC.md §14 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AUZigEcZo8BczjgS7gWUzZ
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.
Every skill now declares cost (free/cheap/subagents), protects (the
outcome sentence the init menu will show), requires (substrate and
capability preconditions), gate_key (its §4.2 mode-map binding), and
ci_job (the authoritative CI job, if any). kit_version moves to
2.0.0-alpha. kit-update's frontmatter lands with the manifest work in
the next commit to keep in-flight edits atomic.
First slice of the v2.0-alpha rollout phase (metadata & manifest — no
behavior change).
Ref: SPEC.md §3, §14
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01AUZigEcZo8BczjgS7gWUzZ