Skip to content

Add reproducible skill provenance and discovery metadata - #4

Merged
ADanMan merged 2 commits into
mainfrom
fix/skill-trust-provenance
Oct 3, 2026
Merged

ADanMan merged 2 commits into
mainfrom
fix/skill-trust-provenance

Conversation

@ADanMan

@ADanMan ADanMan commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Bundled skills lose trust metadata because plugin-scanner 2.0.1116 reads folded YAML descriptions as the literal > marker, and the package does not identify a source snapshot or skill taxonomy. This preserves the existing descriptions and every instruction body, exposes descriptions as equivalent single-line YAML, and adds accurate tags and English language metadata under the standard metadata map.

The bundled skills and their reference file are bound to immutable source commit 338650f5324cd04607ab3e55fea32af56a3dbbbf through .codex-plugin/skills-source.json and manifest.commit. The pinning script checks actual Git content before writing metadata; the regression test checks full file coverage and SHA-256 without needing Git history. This provenance covers the skills snapshot, not the entire plugin checkout. Retain that source commit when merging; a squash that removes it requires refreshing the pin against a retained source commit before publication.

Exact local scanner result Before After
Quality 100/100 100/100
Trust 79.65 92.85
Plugin domain 100 100
Skills domain 59.29 85.71

The before report is for 09a1f7cc32c6c556ea37ec3d2cb38417075ee9a9; current base 370fa93ae11ab2466c01242add11d0b610e61074 has the identical Git tree. The after report is for aff3da8897b8e0bf7e54fa464236094fb0087c92. Scanner 2.0.1116 with Cisco 2.0.14, balanced policy, --min-score 80 --fail-on-severity high --cisco-skill-scan auto --cisco-policy balanced: policy and verification pass, all three skills analyzed, zero findings. Exact raw report SHA-256: 0b585152e301dd36a488e5d3a6464d846cd65ce13767a1c3128a54e3a9be17e1. Raw reports stay local because they include workspace paths.

Validation: original suite plus source-snapshot regression passes 7/7 on Node 22.23.3; YAML parsing confirms equivalent descriptions and byte-identical instruction bodies; an intentional file mismatch makes the pinning script fail before changing either metadata file. Independent review: no substantive findings; reviewer independently checked source bytes/hashes, YAML equivalence, pinning failures and 7/7 tests.

The remaining local trust deficit is verification.review-status: the pinned scanner's documentation says it awards 100 for verified=true. We do not add that self-declaration to inflate a score; the source snapshot is not a security certification or signed attestation. Runtime, hooks, CI configuration and instruction bodies are unchanged.

Hosted CI status: PR run 37139169993 on this exact head (and the earlier main run) have zero executed steps and the exact annotation "The job was not started because your account is locked due to a billing issue.". Local test success does not resolve that account-level blocker.

@ADanMan
ADanMan marked this pull request as ready for review October 3, 2026 17:09
@ADanMan
ADanMan merged commit 8e1b734 into main Oct 3, 2026
1 check failed
@ADanMan
ADanMan deleted the fix/skill-trust-provenance branch October 3, 2026 17:10
ADanMan added a commit that referenced this pull request Oct 8, 2026
Add reproducible skill provenance and discovery metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant