mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 16:39:31 +08:00
专项复核(Class C)并更新 humanizer / impeccable / last30days / khazix-skills 的上游快照,使自动核验真正通过后再开正式 PR。 本 PR 取代仍停在草稿里的 desirecore/market#295、#296、#297、#298。不会把那些失败草稿标成 Ready,也不合并它们。本次不涉及 dingtalk-cli(#294 仍只上架)。 ## 复核结论 - **humanizer** `8c307f367c91bd974002f10f2be2965d642c13df` → `b48c832f0f809c1b5658edbb838c2521b72f2413`(4.0.0)。MIT 未变。接受新增的根目录 pi `package.json`(无 dependencies / scripts),并同步去掉维基百科引用后的简介。 - **impeccable** `d34c87e1a00989ae8dbdd7f6b30b70f23319e860` → `d41d9860b0094dcb68030657da63461212835aaa`(4.9.2)。Apache-2.0 与 NOTICE.md 未变。`plugin/skills/impeccable/scripts/data/font-index.json`(1,100,013 字节,blob `9d2029971df232a72ff6584d264c104490521742`)新旧 pin 相同,作预算豁免、不从安装范围拿掉。接受引擎 pin 0.1.18 → 0.1.25。 - **last30days** `e06af25a9a78487b75e8509e0e1687fec137176e` → `a854f3bcb2c4344d7498426d653378510f8b253a`(4.3.2)。MIT 未变。审核树排除 `skills/last30days/assets`(五份超预算示例媒体,已在上游 `.skillignore`,blob 与旧 pin 相同)。接受根 `pyproject.toml` 仅版本变化,以及 `uv.lock` 中 dev-only pytest 9.1.1 → 9.2.0。DesireCore 安装器在支持 exclude 前仍会拉取 assets。 - **khazix-skills** `322346ded8129436b3f64707789a73e732ae24d9` → `725ac9421901ef7fac6761136969d032737abcf3`。根目录与 aihot 的 MIT 未变,合集成员未变。审核树排除 neat-freak 评测夹具里 5 个指向 `CLAUDE.md` 的既有符号链接。子技能简介按官方 `gen-collection-children.py` 同步;保留已有的 `leader` 展示文案覆盖。 专项复核记录写在各技能的 `special-review.v1.json`(reviewedBy: mashagua,reviewedAt: 2026-11-18)。通过后的机器回执是 `upstream-audit.v1.json`,`reviewedBy` 为 `automated:source-license-metadata-v1`,`reviewedRef` 为新 SHA,`observed_at` 为 `2026-11-18T15:21:35Z`。 为支持上述复核,本次同时加入 `schemas/special-review.v1.schema.json`,并让 `audit_skill_update.py` 在自动核验时读取 excludePaths / budgetExemptPaths / 已接受的依赖与 frontmatter 身份。`excludePaths` 只从审核树省略路径,不能隐藏 LICENSE / NOTICE / COPYING 或依赖清单。没有提高 `MAX_FILE_BYTES`。 ## 本地验证 在当前 main(`23b4124dc4dba88a7a531fe6d502dba9993d0558`)上的工作副本中: - `audit_snapshots`:四个技能均 PASS - `scripts/catalog/test_audit_skill_update.py`:18/18 - `scripts/catalog/test_validate_catalog_metadata.py`:62/62 - `scripts/catalog/test_collection_generator.py`、`test_propose_upstream_updates.py`、`test_check_upstream_health.py`、`test_review_workflow.py`、`scripts/i18n/test_validate_i18n.py`:全部通过 - `validate_catalog_metadata.py --require-complete`:0 error / 104 warning(警告为目录中既有项) - `gen-collection-children.py --check khazix-skills`:OK(6 children) - `scripts/i18n/validate-i18n.py`:0 error - `scripts/i18n/translate.py --check`:通过 本 PR 不代表运行或安全认证,也不自动合并。
37 lines
1.8 KiB
JSON
37 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"$id": "https://desirecore.local/schemas/special-review.v1.schema.json",
|
|
"title": "Market Class C special review record",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["schemaVersion"],
|
|
"properties": {
|
|
"schemaVersion": { "const": 1 },
|
|
"reviewedBy": { "type": "string", "minLength": 1 },
|
|
"reviewedAt": { "type": "string", "minLength": 1 },
|
|
"notes": { "type": "string" },
|
|
"excludePaths": {
|
|
"type": "array",
|
|
"description": "Repo-relative paths or globs omitted from the audit tree walk only. Must not include LICENSE/NOTICE/COPYING or dependency manifests. The DesireCore installer does not honor this field until the client contract admits it.",
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"budgetExemptPaths": {
|
|
"type": "array",
|
|
"description": "Repo-relative paths that remain in the audit manifest and must still be regular files, but may exceed MAX_FILE_BYTES. Prefer this for runtime data that must stay installed.",
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"acceptedDependencyIdentities": {
|
|
"type": "object",
|
|
"description": "Map of dependency path to the identity key of the *new* snapshot: package.json is the SHA-256 of the manifest with version removed; other manifests use the git blob SHA.",
|
|
"additionalProperties": { "type": "string", "pattern": "^([a-f0-9]{40}|[a-f0-9]{64})$" }
|
|
},
|
|
"acceptedFrontmatterSha256": {
|
|
"type": "object",
|
|
"description": "Map of install path (empty string for a repo-root skill) to SHA-256 of stable_frontmatter(new SKILL.md).",
|
|
"additionalProperties": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
}
|
|
}
|
|
}
|