From 7d423e027b4777d900afdb9c95037e61134f7569 Mon Sep 17 00:00:00 2001 From: mashagua <993498039@qq.com> Date: Sun, 6 Dec 2026 07:58:17 +0800 Subject: [PATCH] =?UTF-8?q?chore(catalog):=20=E4=B8=93=E9=A1=B9=E5=A4=8D?= =?UTF-8?q?=E6=A0=B8=E5=B9=B6=E6=9B=B4=E6=96=B0=20ppt-master=20=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=E5=BF=AB=E7=85=A7=E8=87=B3=20bb48b2b11425=20(#453)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这是草稿 #406 的专项复核正式 PR。#406 保持草稿,等后续 superseded-draft 清理。 上游快照:`63a03673d5c3c928e7f52983a2c8ec65bac30002` → `bb48b2b114256ae9734f84e8ff18cb050b6d27e0`(安装路径 `skills/ppt-master`) ## 修改内容 | 类型 | 模块或功能 | 本次修改 | | --- | --- | --- | | 更新 | ppt-master 固定来源 | `source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到 `bb48b2b11425`;审核器根据上游 SKILL.md `metadata.version` 写入 `latestVersion` / `release` 6.10.0 | | 新增 | 专项复核 | 新增 `special-review.v1.json`:`budgetExemptPaths` 绑定 0573.wav,`excludePaths` 省略未改动的第三方 SVG 图标集 | | 新增 | 审核回执 | 首次生成 `upstream-audit.v1.json`(fileCount 1075,contentManifestSha256 `135ac775…`) | | 更新 | 双语说明 | description 更正为"该目录约 1.31 万个文件,其中约 1.2 万是自带图标集",并说明审核时省略图标、安装时仍保留 | ## 修改前后 | 场景 | 修改前 | 修复后 | | --- | --- | --- | | 自动核验 | 被 `单文件超过自动审核预算(0573.wav)` 阻断;豁免后还会被 `来源超过自动审核内容预算` 阻断(13099 个文件 > 2000) | 审核遍历 1075 个文件,审核通过并生成回执 | | CI `validate` | `compliance.reviewedRef must match the immutable content ref/digest` | 本地 `--require-complete` 0 error | 核验依据: - 上游在安装范围内只改了 2 个路径:`scripts/project_management/cli.py` 给 import-sources 加了项目级咨询锁(非 Windows 用 `fcntl.flock` 锁目录,Windows 用 `msvcrt.locking`),并新增测试 `scripts/tests/test_concurrent_source_import.py`。没有网络、凭据、依赖清单、frontmatter、许可或通知的变化。根 `LICENSE` 逐字节相同(MIT)。 - `0573.wav`(1084718 字节,blob `b409ff95…`)在新旧 pin 上相同,catalog 文案里已经披露过。 - 被省略的 5 个图标目录在新旧 pin 上 git tree 完全相同,里面全部是 `.svg`:chunk-filled 641、phosphor-duotone 1518、simple-icons 3675、tabler-filled 1055、tabler-outline 5138。 - tabler-outline 用 4 条 glob 表达,目的是把 `license.svg` / `license-off.svg` 留在审核遍历里。原因是 `protected_audit_path` 会把所有以 LICENSE 开头的文件名都当作许可证据,拒绝排除,而这两个其实只是图标。`templates/icons/README.md` 和 `THIRD_PARTY_NOTICES.md`(各图标集的上游基线和许可说明)仍然在审核范围内。 - `excludePaths` 不影响安装:安装器仍会装上完整的 `skills/ppt-master`。 后续建议:在 `protected_audit_path` 里把图片扩展名排除掉,之后就可以把这里的 glob 简化成直接写目录。这次没有改全局规则。 ## 影响范围 | 文件 | 行号 | 改动 | | --- | --- | --- | | `skills/ppt-master/entry.json` | 34, 36-37 | `source.ref`、`latestVersion` | | `skills/ppt-master/catalog-metadata.v1.json` | 14, 19, 30-32, 37-38, 45, 50-51, 58, 78-80 | 双语 description、release、时间戳、provenance 和 compliance 更新 | | `skills/ppt-master/special-review.v1.json` | 1-19(新文件) | 专项复核记录 | | `skills/ppt-master/upstream-audit.v1.json` | 1-57(新文件) | 新 pin 的自动核验回执 | ## 验证 | 检查项或场景 | 预期结果 | 实际结果 | 证据 | | --- | --- | --- | --- | | `audit_update`(本地,真实 fetch 上游两个 pin) | 通过并生成回执 | 通过,fileCount 1075 | commit `cefdf4b` | | `uv run scripts/catalog/validate_catalog_metadata.py --require-complete` | 0 error | 0 error,105 warning(main 原有) | 本地 | | `uv run scripts/i18n/validate-i18n.py` | 0 error | 0 error,105 warning(main 原有) | 本地 | | CI | 全部通过 | 等待中 | 本 PR checks | 只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或运行验收。请勿自动合并。 Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- skills/ppt-master/catalog-metadata.v1.json | 26 +++++----- skills/ppt-master/entry.json | 5 +- skills/ppt-master/special-review.v1.json | 19 ++++++++ skills/ppt-master/upstream-audit.v1.json | 57 ++++++++++++++++++++++ 4 files changed, 93 insertions(+), 14 deletions(-) create mode 100644 skills/ppt-master/special-review.v1.json create mode 100644 skills/ppt-master/upstream-audit.v1.json diff --git a/skills/ppt-master/catalog-metadata.v1.json b/skills/ppt-master/catalog-metadata.v1.json index 4e7bf1e..7eec96f 100644 --- a/skills/ppt-master/catalog-metadata.v1.json +++ b/skills/ppt-master/catalog-metadata.v1.json @@ -11,12 +11,12 @@ "en-US": { "name": "PPT Master", "summary": "Native PowerPoint generation skill with scripts, templates and Python dependencies inside skills/ppt-master. Requires Python and the declared packages; optional model or TTS providers need the operator's own credentials and fees. One bundled wav file is just over 1 MiB.", - "description": "Pinned at 63a03673d5c3c928e7f52983a2c8ec65bac30002. The catalog path is the self-contained skills/ppt-master tree, not the whole 13k-file repository (docs/ and projects/ include large examples). Root LICENSE is MIT. skills/ppt-master/templates/sounds/bigsoundbank/0573.wav is about 1.03 MiB. This is not a runtime deck-generation acceptance." + "description": "Pinned at bb48b2b114256ae9734f84e8ff18cb050b6d27e0. The catalog path is the self-contained skills/ppt-master tree rather than the whole repository (docs/ and projects/ include large examples). That tree still holds about 13.1k files, of which about 12k are bundled third-party SVG icon sets under templates/icons with their own licenses listed in THIRD_PARTY_NOTICES.md; the market audit walk omits those unchanged icon files, while the install keeps them. Root LICENSE is MIT. skills/ppt-master/templates/sounds/bigsoundbank/0573.wav is about 1.03 MiB. This is not a runtime deck-generation acceptance." }, "zh-CN": { "name": "PPT Master", "summary": "原生 PowerPoint 生成技能,脚本、模板和 Python 依赖位于 skills/ppt-master。需 Python 及已声明的依赖包;可选的模型或语音服务需自备凭据并承担费用。自带的一个 wav 文件略超过 1 MiB。", - "description": "固定版本 63a03673d5c3c928e7f52983a2c8ec65bac30002。目录路径是自包含的 skills/ppt-master,而不是整个约 1.3 万文件的仓库(docs/ 与 projects/ 含大型示例)。根 LICENSE 为 MIT。skills/ppt-master/templates/sounds/bigsoundbank/0573.wav 约 1.03 MiB。此准入不代表幻灯片生成运行验收。" + "description": "固定版本 bb48b2b114256ae9734f84e8ff18cb050b6d27e0。目录路径是自包含的 skills/ppt-master,而不是整个仓库(docs/ 与 projects/ 含大型示例)。该目录仍有约 1.31 万个文件,其中约 1.2 万个是 templates/icons 下自带的第三方 SVG 图标集,各自许可列于 THIRD_PARTY_NOTICES.md;市场自动审核遍历省略这些未改动的图标文件,安装时仍完整保留。根 LICENSE 为 MIT。skills/ppt-master/templates/sounds/bigsoundbank/0573.wav 约 1.03 MiB。此准入不代表幻灯片生成运行验收。" } }, "category": "productivity", @@ -27,33 +27,35 @@ ] }, "release": { - "state": "unknown" + "state": "known", + "version": "6.10.0", + "versionScheme": "semver" }, "timestamps": { "catalogUpdatedAt": { "state": "known", - "value": "2026-11-24", - "precision": "day" + "value": "2026-12-05T01:59:19Z", + "precision": "second" }, "releasePublishedAt": { "state": "unknown" }, "reviewedAt": { "state": "known", - "value": "2026-11-24", + "value": "2026-12-05", "precision": "day" }, "upstreamObservedAt": { "state": "known", - "value": "2026-11-24", - "precision": "day" + "value": "2026-12-05T01:59:19Z", + "precision": "second" } }, "provenance": { "content": { "kind": "git", "url": "https://github.com/hugohe3/ppt-master.git", - "ref": "63a03673d5c3c928e7f52983a2c8ec65bac30002", + "ref": "bb48b2b114256ae9734f84e8ff18cb050b6d27e0", "path": "skills/ppt-master" } }, @@ -73,9 +75,9 @@ }, "compliance": { "licenseEvidencePath": "LICENSE", - "reviewedRef": "63a03673d5c3c928e7f52983a2c8ec65bac30002", - "reviewedAt": "2026-11-24", - "reviewedBy": "mashagua", + "reviewedRef": "bb48b2b114256ae9734f84e8ff18cb050b6d27e0", + "reviewedAt": "2026-12-05", + "reviewedBy": "automated:source-license-metadata-v1", "upstreamEndorsed": false } }, diff --git a/skills/ppt-master/entry.json b/skills/ppt-master/entry.json index 1f4a35f..2904509 100644 --- a/skills/ppt-master/entry.json +++ b/skills/ppt-master/entry.json @@ -31,7 +31,8 @@ "kind": "git", "repoUrl": "https://github.com/hugohe3/ppt-master.git", "repoBranch": "main", - "ref": "63a03673d5c3c928e7f52983a2c8ec65bac30002", + "ref": "bb48b2b114256ae9734f84e8ff18cb050b6d27e0", "path": "skills/ppt-master" - } + }, + "latestVersion": "6.10.0" } diff --git a/skills/ppt-master/special-review.v1.json b/skills/ppt-master/special-review.v1.json new file mode 100644 index 0000000..7d3689e --- /dev/null +++ b/skills/ppt-master/special-review.v1.json @@ -0,0 +1,19 @@ +{ + "schemaVersion": 1, + "reviewedBy": "mashagua", + "reviewedAt": "2026-12-05", + "notes": "Class C special review of ppt-master bb48b2b114256ae9734f84e8ff18cb050b6d27e0 against the admitted main pin 63a03673d5c3c928e7f52983a2c8ec65bac30002 (PR #353, availability=installable, license MIT, evidencePath LICENSE, source.path skills/ppt-master, reviewedRef=old SHA, reviewedBy=mashagua, reviewedAt=2026-11-24). Root LICENSE is byte-identical at both pins (git blob 9c261c3d9a1d3249fa8f18611c950d719d288560). Upstream delta inside the install scope is 2 paths: scripts/project_management/cli.py adds a per-project advisory lock (fcntl.flock on the project directory, msvcrt.locking on Windows) around import-sources, and a new test scripts/tests/test_concurrent_source_import.py; no network, credential, dependency-manifest, SKILL.md frontmatter, license or notice change. Draft PR #406 failed with 单文件超过自动审核预算 on templates/sounds/bigsoundbank/0573.wav (first-failure only); the scope also exceeds the 2000-file audit cap (13099 files on the new pin, 13098 on the old pin). budgetExemptPaths names only that wav (1084718 bytes, blob b409ff958a9c89335a77fa84ffe2e93ac625ba3c, unchanged at both pins and already disclosed in the catalog copy). excludePaths omits only bundled third-party SVG icon snapshots under templates/icons whose git trees are identical at both pins: chunk-filled (641), phosphor-duotone (1518), simple-icons (3675), tabler-filled (1055) and tabler-outline (5138), all .svg with no other file types. tabler-outline is expressed as four globs so that the two icons named license.svg and license-off.svg stay in the walk, because protected_audit_path treats any basename starting with LICENSE as license evidence and refuses to exclude it; they are icon images, not license text. templates/icons/README.md and templates/icons/THIRD_PARTY_NOTICES.md (per-set upstream baselines and licenses) stay in the walk. excludePaths only omits paths from this repository's audit walk; it is not an install exclusion, and the DesireCore installer still installs the full skills/ppt-master tree. Upstream programs were not executed; this is not a deck-generation or runtime acceptance, and does not extend to future pins.", + "budgetExemptPaths": [ + "skills/ppt-master/templates/sounds/bigsoundbank/0573.wav" + ], + "excludePaths": [ + "skills/ppt-master/templates/icons/chunk-filled", + "skills/ppt-master/templates/icons/phosphor-duotone", + "skills/ppt-master/templates/icons/simple-icons", + "skills/ppt-master/templates/icons/tabler-filled", + "skills/ppt-master/templates/icons/tabler-outline/[!l]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/l[!i]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/li[!c]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/lic[!e]*.svg" + ] +} diff --git a/skills/ppt-master/upstream-audit.v1.json b/skills/ppt-master/upstream-audit.v1.json new file mode 100644 index 0000000..e2c1993 --- /dev/null +++ b/skills/ppt-master/upstream-audit.v1.json @@ -0,0 +1,57 @@ +{ + "schemaVersion": 1, + "reviewer": "automated:source-license-metadata-v1", + "reviewedAt": "2026-12-05T01:59:19Z", + "source": { + "url": "https://github.com/hugohe3/ppt-master.git", + "previousRef": "63a03673d5c3c928e7f52983a2c8ec65bac30002", + "ref": "bb48b2b114256ae9734f84e8ff18cb050b6d27e0", + "paths": [ + "skills/ppt-master" + ] + }, + "checks": { + "immutableSnapshots": true, + "installedScopeBoundedFiles": true, + "licenseAndNoticeUnchanged": true, + "structuredPrerequisitesUnchanged": true, + "presentationMetadataUnchanged": true + }, + "licenseEvidenceSha256": { + "LICENSE": "80cefc234c1ec12a8cece4344f16300c634fa03df7891686fcf979e3828f0921", + "skills/ppt-master/LICENSE": "80cefc234c1ec12a8cece4344f16300c634fa03df7891686fcf979e3828f0921", + "skills/ppt-master/scripts/pptx_shapes/data/LICENSE-APACHE-2.0.txt": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", + "skills/ppt-master/scripts/pptx_shapes/data/LICENSE-OPEN-XML-SDK-MIT.txt": "cfc21f5e8bd655ae997eec916138b707b1d290b83272c02a95c9f821b8c87310", + "skills/ppt-master/scripts/pptx_shapes/data/NOTICE.md": "57f3e499fbf289e2d03a3a494ea69a5cd1685a707ad8f2618e46144ea1ec88cb", + "skills/ppt-master/templates/icons/tabler-outline/license-off.svg": "f0e39679636cfc2cf1a33eaf545e0887018b3d079715069d40ba6754e940263c", + "skills/ppt-master/templates/icons/tabler-outline/license.svg": "48b185fd6c9f8108bd4590ca1258ec905b74cf0a2358c52b37531dd980fbc47b" + }, + "observedVersions": { + "skills/ppt-master": "6.10.0" + }, + "contentManifestSha256": "135ac775c1f8f6aae8bcfe29d78361b7214436828b853385d5b9d8d9b2fef139", + "fileCount": 1075, + "limitations": [ + "自动来源、许可和结构化元数据核验;不执行上游代码,不代表软件安全认证或真实运行验收。", + "未结构化表达的依赖与行为变化仍在 PR 差异中供复核,不据此扩大授权。", + "依赖清单或结构化简介如有变化,已按专项复核记录中的接受哈希核对,不代表这些字段与旧快照逐字节相同。", + "excludePaths 只从本仓库的自动审核树遍历中省略路径;DesireCore 安装器在支持该字段前仍会从上游 pin 安装这些文件。" + ], + "specialReview": { + "reviewedBy": "mashagua", + "reviewedAt": "2026-12-05", + "excludePaths": [ + "skills/ppt-master/templates/icons/chunk-filled", + "skills/ppt-master/templates/icons/phosphor-duotone", + "skills/ppt-master/templates/icons/simple-icons", + "skills/ppt-master/templates/icons/tabler-filled", + "skills/ppt-master/templates/icons/tabler-outline/[!l]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/l[!i]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/li[!c]*.svg", + "skills/ppt-master/templates/icons/tabler-outline/lic[!e]*.svg" + ], + "budgetExemptPaths": [ + "skills/ppt-master/templates/sounds/bigsoundbank/0573.wav" + ] + } +}