mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-07 04:39:25 +08:00
这是草稿 #448 的正式 PR。#448 保持草稿,等后续清理。 上游快照:`491524bd36a3f9f8d2e35caa5b56368b67d88ced` → `37c865f769f05c2bddfc8080679d54a9adbbe068`(合集,9 → 10 个子技能) ## 修改内容 | 类型 | 模块或功能 | 本次修改 | | --- | --- | --- | | 新增 | 子技能 `patent-distill`(`skills/patent-distill`,专利蒸馏) | 收录上游新成员(`user-invocable: false`,由合集根路由或写作流程调用)。中英文简介写入 `collection-child-overrides.json`,生成 entry 子项并镜像到 catalog;`childCount` 9 → 10 | | 更新 | 固定来源 | `source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到 `37c865f7`,双语 description 中的 pin 同步 | | 更新 | 专项复核 | `acceptedCollectionPaths` 改为 10 个;新增 `acceptedFrontmatterSha256["skills/patent-distill"]`;新增 `budgetExemptPaths: ["skills/patent-disclosure/tools/vendor/mermaid.min.js"]`;`acceptedClientAttachedNotices` 换成新 pin 上 10 个子技能的回读(带 `contentDigest`) | | 新增 | 审核回执 | 首次生成 `upstream-audit.v1.json`(fileCount 555,contentManifestSha256 `eecb0600…`) | 新成员简介: - 中文:专利蒸馏:把多份交底书、申请文件或公开全文合并成一份文风档案,并按案件从交底与权利要求的对照中提炼权要选择思路,生成各案的策略观察与 playbook.yaml。只学写法与保护点切分,不抄样本事实,不代为下载全文;需先把文件放到工作区。不可直接点选,由合集根路由或写作流程调用。 - 英文:Patent distillation: merges several disclosures, filings or published full texts into one writing-style profile … Not user-invocable; called by the collection's root router or drafting flow. ## 修改前后 | 场景 | 修改前 | 修复后 | | --- | --- | --- | | 自动核验 | `合集成员集合变化`;回读不覆盖新成员;继续往下会被 `单文件超过自动审核预算(mermaid.min.js 2571900 bytes)` 阻断 | 审核通过 | | 市场列表 | 9 个子技能 | 10 个,新增 patent-distill | 核验依据: - `mermaid.min.js` 是内置的 mermaid 11.4.1(`tools/vendor/README.md` 里写明了来源,供 Playwright 本地出图、不从 CDN 拉取),在新旧 pin 上 blob 相同(`b01ad01a2a…`)。只做预算豁免,仍然计入审核清单,也照常安装。 - 根 `LICENSE`(MIT)在新旧 pin 上逐字节相同。 - 安装回读:新成员还没登记进市场目录,没法从客户端界面安装,所以和 #468 一样,用 DesireCore v10.0.219 的合集子技能暂存逻辑对新 pin 执行。所用文件和 tag v10.0.219 的 blob 相同(`skill-staging.ts` `c7cb8a19`、`source-fetch.ts` `92ec3b35`、`source-cache.ts` `20c61ba0`)。结果:10 个子技能都附带了根 LICENSE(SHA-256 `d9329ae3…`,和旧记录相同)。 - 本合集是整仓库检出,不受 desirecore 客户端子目录稀疏检出问题(#7466)影响。 已知问题(本 PR 未改):合集的双语 summary/description 里还留着"准入暂停为仅收录"的旧说法,和当前可安装的状态不一致。建议另开 PR 更新。 ## 影响范围 | 文件 | 行号 | 改动 | | --- | --- | --- | | `skills/patent-disclosure-skill/entry.json` | 35, 74-85 | `source.ref`;新子项 | | `skills/patent-disclosure-skill/collection-child-overrides.json` | 91-100 | 新成员双语简介 | | `skills/patent-disclosure-skill/catalog-metadata.v1.json` | 14, 19, 36-37, 44, 49-50, 57, 76-78, 105, 182-206 | description 中的 pin、时间戳、provenance、compliance、childCount、新子项镜像 | | `skills/patent-disclosure-skill/special-review.v1.json` | 多处 | 新 pin 的回读、成员路径、frontmatter 哈希、预算豁免、复核说明 | | `skills/patent-disclosure-skill/upstream-audit.v1.json` | 新文件 | 新 pin 的自动核验回执 | ## 验证 | 检查项或场景 | 预期结果 | 实际结果 | 证据 | | --- | --- | --- | --- | | `audit_update`(main 上的旧条目 + 本 PR 的专项复核,真实 fetch) | 通过 | 通过,fileCount 555 | commit `0d06cfb` | | `validate_catalog_metadata.py --require-complete` / `validate-i18n.py` | 0 error | 0 error,105 warning(main 原有) | 本地 | | `translate.py --check` / `gen-collection-children.py --check patent-disclosure-skill` | 通过 | 通过(10 children) | 本地 | | `special-review.v1.schema.json` | 符合 | 符合 | 本地 | | CI | 全部通过 | 等待中 | 本 PR checks | 只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或运行验收。请勿自动合并。 Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
147 lines
7.0 KiB
JSON
147 lines
7.0 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"reviewedBy": "mashagua",
|
|
"reviewedAt": "2026-12-06",
|
|
"notes": "Upstream update review of patent-disclosure-skill 37c865f7 (from main pin 491524bd; draft #448). The collection gains one member, skills/patent-distill (10 members; acceptedCollectionPaths updated); its frontmatter identity (user-invocable: false) is bound in acceptedFrontmatterSha256 and reviewed bilingual shortDesc is stored in collection-child-overrides.json and mirrored to the catalog child (childCount 9 -> 10). No other member's stable frontmatter changed. budgetExemptPaths names skills/patent-disclosure/tools/vendor/mermaid.min.js only: the vendored mermaid 11.4.1 bundle (2571900 bytes, git blob b01ad01a2a…) is byte-identical at both pins, documented in tools/vendor/README.md, and stays in the audit manifest and the install. Install-copy readback: the collection child staging path of DesireCore v10.0.219 (stageMarketSkillDirectory with attachNoticeFilesFrom = fetched collection root; skill-staging.ts blob c7cb8a19, source-fetch.ts 92ec3b35, source-cache.ts 20c61ba0, identical to tag v10.0.219) was executed against pin 37c865f769f05c2bddfc8080679d54a9adbbe068 for all 10 child scopes at 2026-12-06T04:05:37Z; per-scope contentDigest is recorded and every staged copy received LICENSE (sourceName LICENSE, SHA-256 d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798). Verified implementation 28128a15 (tree e8c1321e) is an ancestor of v10.0.219; for collection children without a colliding top-level notice the attach behaviour is equivalent. Root LICENSE is byte-identical at both pins. Upstream programs were not executed; not a security certification or runtime acceptance, and does not extend to future pins. Previous review: Verified root notice attachment for patent-disclosure-skill pin 491524bd36a3f9f8d2e35caa5b56368b67d88ced (collection (9 selected child directories)). DesireCore v10.0.214 official release includes verified client notice staging (clientCommit 28128a15b3abd76e1529b983ca8a921bdfe9ff30, clientTree e8c1321e6a098eb905f4646b2027bc7b2259ca6b) attaching regular root notice files matching LICENSE/NOTICE/COPYING prefixes: LICENSE (SHA-256 d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798). Confirmed zero colliding top-level LICENSE/NOTICE/COPYING files across all 9 install scope(s). allowCarryForwardWhenUnchanged=true applies only when root notice bytes and install scopes remain unchanged.",
|
|
"acceptedClientAttachedNotices": {
|
|
"sourceRef": "37c865f769f05c2bddfc8080679d54a9adbbe068",
|
|
"clientCommit": "28128a15b3abd76e1529b983ca8a921bdfe9ff30",
|
|
"clientTree": "e8c1321e6a098eb905f4646b2027bc7b2259ca6b",
|
|
"clientReleaseTag": "v10.0.219",
|
|
"allowCarryForwardWhenUnchanged": true,
|
|
"observedAt": "2026-12-06T04:05:37Z",
|
|
"noticeRootPath": "LICENSE",
|
|
"noticeSha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798",
|
|
"scopes": [
|
|
{
|
|
"path": "skills/patent-application",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "9882d34212527e61077427d38e0bbdff9e12ca83ee78dbc90045e9a510d207ee"
|
|
},
|
|
{
|
|
"path": "skills/patent-chart",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "8d0dc09a0ff6160affd880d7c3952dfe850a0d4cfb6adc0e424bcdddbdc60634"
|
|
},
|
|
{
|
|
"path": "skills/patent-disclosure",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "280becff13cd3b167fdc552f95a0ef68392fbaf4fe67d7c1d1c273ebaac7f192"
|
|
},
|
|
{
|
|
"path": "skills/patent-distill",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "f43c8889cd8d21c2835474cb4baa5ec65c4057efa85067130e2800b479fa2af0"
|
|
},
|
|
{
|
|
"path": "skills/patent-docket",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "ef70c71d551ba34c6e6026136aa33b8ce79a0b2068cc9746e0b8dbd4b867c450"
|
|
},
|
|
{
|
|
"path": "skills/patent-exam-policy",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "d1acffb278ffdc6b8ba40bfd86dc76c2e44eff951920157e850ef465396c54d5"
|
|
},
|
|
{
|
|
"path": "skills/patent-map",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "a21e7339bf6935e5c1f7feb893396115c0d68bf57e7033f86d556f34dbf3bab2"
|
|
},
|
|
{
|
|
"path": "skills/patent-oa",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "65aa54456db2970424e5b0fd07140bdf91d0ee07eb1487632a9e5bf1b3b42fbf"
|
|
},
|
|
{
|
|
"path": "skills/patent-reader",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "8e4f98efeb2e1e60d36b99bda2f4dd1f9040580e3731f2ad8fab96a0e599ef66"
|
|
},
|
|
{
|
|
"path": "skills/patent-search",
|
|
"attached": [
|
|
{
|
|
"name": "LICENSE",
|
|
"sourceName": "LICENSE",
|
|
"sha256": "d9329ae3b2de58aebaa015d8d1570513d48f1702318e6423896a4620845ab798"
|
|
}
|
|
],
|
|
"contentDigest": "b1af3516836d3ff6b5d3c44dc9180c629c6eed96012d48ac209269351f2125c5"
|
|
}
|
|
]
|
|
},
|
|
"acceptedCollectionPaths": [
|
|
"skills/patent-application",
|
|
"skills/patent-chart",
|
|
"skills/patent-disclosure",
|
|
"skills/patent-distill",
|
|
"skills/patent-docket",
|
|
"skills/patent-exam-policy",
|
|
"skills/patent-map",
|
|
"skills/patent-oa",
|
|
"skills/patent-reader",
|
|
"skills/patent-search"
|
|
],
|
|
"budgetExemptPaths": [
|
|
"skills/patent-disclosure/tools/vendor/mermaid.min.js"
|
|
],
|
|
"acceptedFrontmatterSha256": {
|
|
"skills/patent-distill": "42d1aa5bd91daf9156ab133aaf46af2a24e231409c2d6e590afb1815699fb340"
|
|
}
|
|
}
|