From b4bcff16653d4807ab3187753a655212a10f3800 Mon Sep 17 00:00:00 2001 From: mashagua <993498039@qq.com> Date: Sun, 6 Dec 2026 12:27:24 +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=20ffmpeg-skill=20=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=E5=BF=AB=E7=85=A7=E8=87=B3=207d7c17b03163=20(#470)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这是草稿 #463 的专项复核正式 PR。#463 保持草稿,等后续清理。 上游快照:`b781b554d9f7df66b5a9ed5d8af388152046bbff` → `7d7c17b031631308c8a0aaefbd5b3e3211b62930`(整库安装) ## 修改内容 | 类型 | 模块或功能 | 本次修改 | | --- | --- | --- | | 更新 | ffmpeg-skill 固定来源 | `source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到 `7d7c17b0`,双语 description 中的 pin 同步 | | 更新 | 专项复核 | `acceptedDependencyIdentities["package.json"]` 改为新的身份哈希;新增 `acceptedBehavioralSecurityReview`(绑定新旧 pin、复审文档和 1 个路径);13 个 `excludePaths` 和 `budgetExemptPaths` 沿用 | | 新增 | 复审文档 | `docs/reviews/ffmpeg-skill-7d7c17b03163.md` | | 更新 | 审核回执 | 重新生成 `upstream-audit.v1.json`(fileCount 605,contentManifestSha256 `0f859924…`) | ## 修改前后 | 场景 | 修改前 | 修复后 | | --- | --- | --- | | 自动核验 | `依赖清单有变化`;诊断层另有 `authorization-config-network-review: manual_review` | 两项都按专项复核绑定的精确哈希和路径核对后通过 | | CI `validate` | `compliance.reviewedRef must match …` | 本地 `--require-complete` 0 error | 核验依据: - `package.json` 只改了 version(4.31.0 → 4.40.9),以及发布文件列表里加了 `references/architecture.md`,仍然没有任何依赖声明,scripts 和 license 没变。 - 被诊断标为"授权/配置/网络"的只有 `docs/defect-ledger/2026-11-30-gain-envelope-channel-zero.json`。原因是文件名里的 `envelope` 命中了规则里的 `env`。它是一条缺陷记录(0 号声道的增益包络核对误报),不是可执行代码、配置或凭据,也不会被任何脚本加载。 - 安装范围内 `scripts/` 和 `mcp/` 改了 43 个文件(+1605/−297 行),新增代码里没有网络、shell 或凭据相关的调用。根 `LICENSE` 没变,SKILL.md 的稳定 frontmatter 也没变。 ## 影响范围 | 文件 | 行号 | 改动 | | --- | --- | --- | | `skills/ffmpeg-skill/entry.json` | 35 | `source.ref` | | `skills/ffmpeg-skill/catalog-metadata.v1.json` | 14, 19, 36, 44, 49, 57, 76-77 | 双语 description 中的 pin、时间戳、provenance、compliance | | `skills/ffmpeg-skill/special-review.v1.json` | 4-5, 25-33 | 复核说明、依赖身份、行为复核 | | `skills/ffmpeg-skill/upstream-audit.v1.json` | 4-8, 24-25, 34 | 新 pin 的回执 | | `docs/reviews/ffmpeg-skill-7d7c17b03163.md` | 1-25(新文件) | 复审文档 | ## 验证 | 检查项或场景 | 预期结果 | 实际结果 | 证据 | | --- | --- | --- | --- | | `audit_update`(main 上的旧条目 + 本 PR 的专项复核,真实 fetch) | 通过 | 通过,fileCount 605 | commit `6558576` | | `validate_catalog_metadata.py --require-complete` / `validate-i18n.py` / `translate.py --check` | 通过 | 0 error,105 warning(main 原有) | 本地 | | `special-review.v1.schema.json` | 符合 | 符合 | 本地 | | CI | 全部通过 | 等待中 | 本 PR checks | 只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或转码运行验收。请勿自动合并。 Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- docs/reviews/ffmpeg-skill-7d7c17b03163.md | 25 ++++++++++++++++++++ skills/ffmpeg-skill/catalog-metadata.v1.json | 16 ++++++------- skills/ffmpeg-skill/entry.json | 2 +- skills/ffmpeg-skill/special-review.v1.json | 14 ++++++++--- skills/ffmpeg-skill/upstream-audit.v1.json | 12 +++++----- 5 files changed, 51 insertions(+), 18 deletions(-) create mode 100644 docs/reviews/ffmpeg-skill-7d7c17b03163.md diff --git a/docs/reviews/ffmpeg-skill-7d7c17b03163.md b/docs/reviews/ffmpeg-skill-7d7c17b03163.md new file mode 100644 index 0000000..4248f5a --- /dev/null +++ b/docs/reviews/ffmpeg-skill-7d7c17b03163.md @@ -0,0 +1,25 @@ +# ffmpeg-skill 上游更新行为复审(`b781b554 → 7d7c17b0`) + +旧 pin:`b781b554d9f7df66b5a9ed5d8af388152046bbff`;目标 pin:`7d7c17b031631308c8a0aaefbd5b3e3211b62930`。 +审核人:`mashagua`。复审日期:`2026-12-06`。草稿:#463。 + +## 1. 触发项:`authorization-config-network-review` + +诊断按文件名把 `docs/defect-ledger/2026-11-30-gain-envelope-channel-zero.json` 标为“授权/凭据/配置/网络相关实现文件”,原因是文件名中的 `envelope` 命中了规则里的 `env`。 + +| 文件 | 性质 | 复审结论 | +| --- | --- | --- | +| `docs/defect-ledger/2026-11-30-gain-envelope-channel-zero.json` | 新增的缺陷记录(JSON 文档,字段为 date / issue / class / what / escaped / mechanism) | 只描述“选择 0 号声道并应用 0 dB 增益包络时,渲染核对把单声道与整轨混音比较而误报失败”这一已修复缺陷及其对应测试,不含可执行代码、凭据、配置或网络端点;不被任何脚本加载。与授权、凭据、网络行为无关。 | + +## 2. 安装范围内的其他变化 + +整库安装(无 `source.path`)。上游共 122 个路径变化(新增 41、修改 80、删除 1),主要在 `scripts/`(26%)、`docs/design-decisions.d/`、`docs/defect-ledger/`、`tests/` 与 `.github/`。 + +- `scripts/` 与 `mcp/` 共 43 个文件、+1605/−297 行,均为 FFmpeg 工具逻辑与共用模块调整(渲染、静音检测、场景、核验等)。新增行中未出现 `urllib`、`requests`、`http.client`、`socket`、`shell=True`、`os.system`、`eval`/`exec`、环境变量读取、token/secret/cookie 等网络或凭据相关调用。 +- 根 `package.json` 仅版本 `4.31.0 → 4.40.9` 并在发布文件列表中加入 `references/architecture.md`;仍无任何 dependencies/devDependencies/optionalDependencies/peerDependencies,scripts 与 license 未变。去掉 version 后的身份 SHA-256 `c636be28272f155295be9bf253eda9a6c54dae6fc182bdd3ce5e688222fb59d4` 由 `acceptedDependencyIdentities` 绑定。 +- 根 `LICENSE`(MIT,blob `6d76d5f6`)两 pin 相同;`SKILL.md` 与 `skills/ffmpeg-skill/SKILL.md` 只有正文变化,稳定 frontmatter 未变。 +- 既有 13 个 `excludePaths` 演示媒体与 `budgetExemptPaths`(`tests/test_contract.py`)沿用。 + +## 3. 审核边界 + +本复审为只读源码与元数据核验,未执行上游脚本或 FFmpeg;不构成软件安全认证或转码运行验收,也不自动延伸到未来快照。 diff --git a/skills/ffmpeg-skill/catalog-metadata.v1.json b/skills/ffmpeg-skill/catalog-metadata.v1.json index 462a859..a3d261a 100644 --- a/skills/ffmpeg-skill/catalog-metadata.v1.json +++ b/skills/ffmpeg-skill/catalog-metadata.v1.json @@ -11,12 +11,12 @@ "en-US": { "name": "FFmpeg Skill", "summary": "Local FFmpeg editing skill and MCP server for cut, captions, reframe and exports. The complete tooling lives at the repo root, so this pin is the whole tree, not only skills/ffmpeg-skill. Requires a local FFmpeg install; no cloud account is required. The pin also contains contributor skills under .claude/skills and demo/site files over 1 MiB.", - "description": "Pinned at b781b554d9f7df66b5a9ed5d8af388152046bbff. Root LICENSE is MIT. skills/ffmpeg-skill contains only a SKILL.md copy; scripts, MCP and binaries are at the repository root, so a path-scoped install would be incomplete. 13 unchanged files under demos/, site/ and assets/ exceed 1 MiB and remain in the whole-tree install; the market audit walk omits only those exact paths. The contract test file tests/test_contract.py also exceeds 1 MiB and stays in both the audit walk and the install. This is not a runtime transcode acceptance." + "description": "Pinned at 7d7c17b031631308c8a0aaefbd5b3e3211b62930. Root LICENSE is MIT. skills/ffmpeg-skill contains only a SKILL.md copy; scripts, MCP and binaries are at the repository root, so a path-scoped install would be incomplete. 13 unchanged files under demos/, site/ and assets/ exceed 1 MiB and remain in the whole-tree install; the market audit walk omits only those exact paths. The contract test file tests/test_contract.py also exceeds 1 MiB and stays in both the audit walk and the install. This is not a runtime transcode acceptance." }, "zh-CN": { "name": "FFmpeg Skill", "summary": "本地 FFmpeg 剪辑技能与 MCP 服务,用于剪切、字幕、重构图和导出。完整工具位于仓库根目录,因此本固定版本是整棵树,而不仅是 skills/ffmpeg-skill。需本机安装 FFmpeg,不需要云账号。该快照还包含 .claude/skills 下的贡献者技能,以及超过 1 MiB 的演示和站点文件。", - "description": "固定版本 b781b554d9f7df66b5a9ed5d8af388152046bbff。根 LICENSE 为 MIT。skills/ffmpeg-skill 仅有一份 SKILL.md 副本;脚本、MCP 和二进制在仓库根目录,若只按该子目录安装会不完整。demos/、site/ 和 assets/ 下有 13 个未改动文件超过 1 MiB,仍随整库安装;市场自动审核树遍历仅省略这些精确路径。契约测试文件 tests/test_contract.py 也超过 1 MiB,仍保留在审核遍历和安装内容中。此准入不代表转码运行验收。" + "description": "固定版本 7d7c17b031631308c8a0aaefbd5b3e3211b62930。根 LICENSE 为 MIT。skills/ffmpeg-skill 仅有一份 SKILL.md 副本;脚本、MCP 和二进制在仓库根目录,若只按该子目录安装会不完整。demos/、site/ 和 assets/ 下有 13 个未改动文件超过 1 MiB,仍随整库安装;市场自动审核树遍历仅省略这些精确路径。契约测试文件 tests/test_contract.py 也超过 1 MiB,仍保留在审核遍历和安装内容中。此准入不代表转码运行验收。" } }, "category": "media", @@ -33,7 +33,7 @@ "timestamps": { "catalogUpdatedAt": { "state": "known", - "value": "2026-12-05T01:55:03Z", + "value": "2026-12-06T04:21:24Z", "precision": "second" }, "releasePublishedAt": { @@ -41,12 +41,12 @@ }, "reviewedAt": { "state": "known", - "value": "2026-12-05", + "value": "2026-12-06", "precision": "day" }, "upstreamObservedAt": { "state": "known", - "value": "2026-12-05T01:55:03Z", + "value": "2026-12-06T04:21:24Z", "precision": "second" } }, @@ -54,7 +54,7 @@ "content": { "kind": "git", "url": "https://github.com/kajisho5/ffmpeg-skill.git", - "ref": "b781b554d9f7df66b5a9ed5d8af388152046bbff" + "ref": "7d7c17b031631308c8a0aaefbd5b3e3211b62930" } }, "governance": { @@ -73,8 +73,8 @@ }, "compliance": { "licenseEvidencePath": "LICENSE", - "reviewedRef": "b781b554d9f7df66b5a9ed5d8af388152046bbff", - "reviewedAt": "2026-12-05", + "reviewedRef": "7d7c17b031631308c8a0aaefbd5b3e3211b62930", + "reviewedAt": "2026-12-06", "reviewedBy": "automated:source-license-metadata-v1", "upstreamEndorsed": false } diff --git a/skills/ffmpeg-skill/entry.json b/skills/ffmpeg-skill/entry.json index 1382b25..82d7ee8 100644 --- a/skills/ffmpeg-skill/entry.json +++ b/skills/ffmpeg-skill/entry.json @@ -32,7 +32,7 @@ "kind": "git", "repoUrl": "https://github.com/kajisho5/ffmpeg-skill.git", "repoBranch": "main", - "ref": "b781b554d9f7df66b5a9ed5d8af388152046bbff" + "ref": "7d7c17b031631308c8a0aaefbd5b3e3211b62930" }, "riskLevel": "high" } diff --git a/skills/ffmpeg-skill/special-review.v1.json b/skills/ffmpeg-skill/special-review.v1.json index 264bf74..c4ffec7 100644 --- a/skills/ffmpeg-skill/special-review.v1.json +++ b/skills/ffmpeg-skill/special-review.v1.json @@ -1,8 +1,8 @@ { "schemaVersion": 1, "reviewedBy": "mashagua", - "reviewedAt": "2026-12-05", - "notes": "Class C special review of ffmpeg-skill b781b554d9f7df66b5a9ed5d8af388152046bbff against the admitted main pin 2617bf01f11b021bf487b0005c7db06bb1cb616a (PR #371, availability=installable, license MIT, evidencePath LICENSE, reviewedRef=old SHA, reviewedBy=automated:source-license-metadata-v1). Root LICENSE is byte-identical at both pins (git blob 6d76d5f6cce41e74b6cebdbf013faddf3abb1afe, SHA-256 7522b29e4d6e90f2a8fab15f07d224b1064c70692a872be9996ac1a88cf474e9): MIT, Copyright (c) 2026 kajisho5. No NOTICE or COPYING. Draft PR #395 failed with 单文件超过自动审核预算 on tests/test_contract.py (first-failure only). That file is the upstream contract test suite (plain Python unittest source, 15399 lines), grown from 949811 bytes (old pin, already disclosed as near-budget in the #371 review) to 1070415 bytes (git blob of new pin); it is not license, NOTICE or a dependency manifest. budgetExemptPaths names only that exact path; it stays in the audit manifest and the whole-tree install. The 13 excludePaths demo/site media files carried from #371 are unchanged in path, size and blob at both pins. Root package.json changed only its version (4.7.1 -> 4.31.0, not part of the identity hash) and description (42 -> 41 tools); it still declares no dependencies/devDependencies/optionalDependencies/peerDependencies, scripts and license MIT are unchanged (git blob dc334d382e450ae43f328db2067d6762089712be -> 55312772f4bb595a71c43de3ae727074351eb6d4); acceptedDependencyIdentities binds the new version-stripped identity SHA-256 04f480a5e9817a6a1beac3edce2474c06170aa0ce3d831eaf1c4e09b76eb943a. Root SKILL.md and skills/ffmpeg-skill/SKILL.md stable frontmatter is unchanged; body edits drop the 42-tool MCP note and prefer --json-brief. Upstream delta is 194 paths (75 added, 119 modified), mostly docs/, tests/, benchmarks/, .github/ and scripts/; installed scripts/ and mcp/ additions were scanned for network, shell and credential use and none was introduced (BENCH_API_KEY / NPM_TOKEN only appear in upstream CI workflows, which the DesireCore installer does not run). Upstream programs were not executed; this is not a transcode or runtime acceptance, and does not extend to future pins.", + "reviewedAt": "2026-12-06", + "notes": "Upstream update review of ffmpeg-skill 7d7c17b0 (from main pin b781b554; draft #463). Draft stopped at 依赖清单有变化: root package.json changed only its version (4.31.0 -> 4.40.9) and its published files list (+references/architecture.md), still with no dependency declarations; acceptedDependencyIdentities binds the new version-stripped identity. Diagnostics also flagged authorization-config-network-review for docs/defect-ledger/2026-11-30-gain-envelope-channel-zero.json only, a name-based match on 'envelope'; it is a defect-ledger JSON note, not executable code, configuration or credentials. acceptedBehavioralSecurityReview binds that path and docs/reviews/ffmpeg-skill-7d7c17b03163.md to these exact pins. Installed scripts/ and mcp/ changes (43 files) add no network, shell or credential use. Root LICENSE unchanged; the 13 excludePaths and the tests/test_contract.py budget exemption carry over. Upstream programs were not executed; not a security certification or runtime acceptance, and does not extend to future pins. Previous review: Class C special review of ffmpeg-skill b781b554d9f7df66b5a9ed5d8af388152046bbff against the admitted main pin 2617bf01f11b021bf487b0005c7db06bb1cb616a (PR #371, availability=installable, license MIT, evidencePath LICENSE, reviewedRef=old SHA, reviewedBy=automated:source-license-metadata-v1). Root LICENSE is byte-identical at both pins (git blob 6d76d5f6cce41e74b6cebdbf013faddf3abb1afe, SHA-256 7522b29e4d6e90f2a8fab15f07d224b1064c70692a872be9996ac1a88cf474e9): MIT, Copyright (c) 2026 kajisho5. No NOTICE or COPYING. Draft PR #395 failed with 单文件超过自动审核预算 on tests/test_contract.py (first-failure only). That file is the upstream contract test suite (plain Python unittest source, 15399 lines), grown from 949811 bytes (old pin, already disclosed as near-budget in the #371 review) to 1070415 bytes (git blob of new pin); it is not license, NOTICE or a dependency manifest. budgetExemptPaths names only that exact path; it stays in the audit manifest and the whole-tree install. The 13 excludePaths demo/site media files carried from #371 are unchanged in path, size and blob at both pins. Root package.json changed only its version (4.7.1 -> 4.31.0, not part of the identity hash) and description (42 -> 41 tools); it still declares no dependencies/devDependencies/optionalDependencies/peerDependencies, scripts and license MIT are unchanged (git blob dc334d382e450ae43f328db2067d6762089712be -> 55312772f4bb595a71c43de3ae727074351eb6d4); acceptedDependencyIdentities binds the new version-stripped identity SHA-256 04f480a5e9817a6a1beac3edce2474c06170aa0ce3d831eaf1c4e09b76eb943a. Root SKILL.md and skills/ffmpeg-skill/SKILL.md stable frontmatter is unchanged; body edits drop the 42-tool MCP note and prefer --json-brief. Upstream delta is 194 paths (75 added, 119 modified), mostly docs/, tests/, benchmarks/, .github/ and scripts/; installed scripts/ and mcp/ additions were scanned for network, shell and credential use and none was introduced (BENCH_API_KEY / NPM_TOKEN only appear in upstream CI workflows, which the DesireCore installer does not run). Upstream programs were not executed; this is not a transcode or runtime acceptance, and does not extend to future pins.", "excludePaths": [ "demos/footage/veo_rain.mp4", "site/media/showcase_reel_en.mp4", @@ -22,6 +22,14 @@ "tests/test_contract.py" ], "acceptedDependencyIdentities": { - "package.json": "04f480a5e9817a6a1beac3edce2474c06170aa0ce3d831eaf1c4e09b76eb943a" + "package.json": "c636be28272f155295be9bf253eda9a6c54dae6fc182bdd3ce5e688222fb59d4" + }, + "acceptedBehavioralSecurityReview": { + "fromRef": "b781b554d9f7df66b5a9ed5d8af388152046bbff", + "toRef": "7d7c17b031631308c8a0aaefbd5b3e3211b62930", + "reviewDoc": "docs/reviews/ffmpeg-skill-7d7c17b03163.md", + "reviewedPaths": [ + "docs/defect-ledger/2026-11-30-gain-envelope-channel-zero.json" + ] } } diff --git a/skills/ffmpeg-skill/upstream-audit.v1.json b/skills/ffmpeg-skill/upstream-audit.v1.json index 342dbba..e9e06a6 100644 --- a/skills/ffmpeg-skill/upstream-audit.v1.json +++ b/skills/ffmpeg-skill/upstream-audit.v1.json @@ -1,11 +1,11 @@ { "schemaVersion": 1, "reviewer": "automated:source-license-metadata-v1", - "reviewedAt": "2026-12-05T01:55:03Z", + "reviewedAt": "2026-12-06T04:21:24Z", "source": { "url": "https://github.com/kajisho5/ffmpeg-skill.git", - "previousRef": "2617bf01f11b021bf487b0005c7db06bb1cb616a", - "ref": "b781b554d9f7df66b5a9ed5d8af388152046bbff", + "previousRef": "b781b554d9f7df66b5a9ed5d8af388152046bbff", + "ref": "7d7c17b031631308c8a0aaefbd5b3e3211b62930", "paths": [ "" ] @@ -21,8 +21,8 @@ "LICENSE": "7522b29e4d6e90f2a8fab15f07d224b1064c70692a872be9996ac1a88cf474e9" }, "observedVersions": {}, - "contentManifestSha256": "576a78a158c7019508a65c8d49807f1e50998fda1966120b8a28ce6d78443d78", - "fileCount": 565, + "contentManifestSha256": "0f8599240e9d5648535fb60910f6eb2f34def59d0430fd34a8ebb71d618dfe31", + "fileCount": 605, "limitations": [ "自动来源、许可和结构化元数据核验;不执行上游代码,不代表软件安全认证或真实运行验收。", "未结构化表达的依赖与行为变化仍在 PR 差异中供复核,不据此扩大授权。", @@ -31,7 +31,7 @@ ], "specialReview": { "reviewedBy": "mashagua", - "reviewedAt": "2026-12-05", + "reviewedAt": "2026-12-06", "excludePaths": [ "demos/footage/veo_rain.mp4", "site/media/showcase_reel_en.mp4",