feat(catalog): 落地正式版根通知、精确提交例外与行为安全复审门控 (#388)

将正式版根通知、精确提交许可例外与行为安全复审门控写入策略文档、Schema 与审计脚本。
This commit is contained in:
mashagua authored and GitHub committed 2026-11-29 07:58:22 +08:00
1 parent d1123e67b5
commit 9fa7f88ef1
4 files changed
+202

No files matched your search

+28
View File
@@ -132,3 +132,31 @@ can prove arbitrary upstream script/instruction behavior safe. Expanding that
coverage needs a real behavioral review mechanism, not deletion of the safeguard.
Identity verification, trusted-main re-audit, local-patch preservation, finite
budgets, exact-head binding, strict server rules and no-admin/no-force stay intact.
## Special-review and release-gate requirements (2026-11-29)
Three additional gates learned from manual PR reviews (`#368`, `#358`, `#360`) are
now encoded in `schemas/special-review.v1.schema.json` and
`scripts/catalog/audit_skill_update.py`:
1. **Client release gate for `acceptedClientAttachedNotices`**: Binding a verified
client source commit/tree (`CLIENT_COLLECTION_NOTICE_IMPLEMENTATIONS` or
`CLIENT_STANDALONE_NOTICE_IMPLEMENTATIONS`) proves the implementation, not that
users have received it in a public build. Before clearing Draft on a notice-delivery
update, confirm the verified implementation is shipped in an official client release
(e.g. `DesireCore v10.0.214`) with no unverified drift in `skill-staging.ts`,
`market-install.ts`, or `source-fetch.ts`. Record the release tag in
`acceptedClientAttachedNotices.clientReleaseTag` when bound to a shipped build.
2. **Exact-pin non-inheritable license exceptions (`acceptedExactPinLicenseException`)**:
Entries without a standalone `LICENSE` file (such as `follow-builders`, which relies
on a one-line `README.md` MIT declaration) never inherit a previous human exception
across commits. Each new pin requires an explicit exact-`fromRef`→`toRef` review
record binding the unchanged evidence SHA-256, updated bilingual catalog descriptions,
and a dated review document under `docs/`.
3. **Behavioral security review gate (`acceptedBehavioralSecurityReview`)**:
When an upstream snapshot modifies credential/environment loading, browser cookie or
consent gating, authorization/network boundaries, or `.skillignore` inside the
install scope (such as `last30days`), matching dependency hashes alone is insufficient.
A read-only behavioral review document under `docs/reviews/` must be committed and
bound to the exact `fromRef`→`toRef` pair and `reviewedPaths` in `special-review.v1.json`.
This remains a read-only review boundary, not a security certification or runtime acceptance.