chore(catalog): 专项复核并更新 ffmpeg-skill 上游快照至 b781b554d9f7 (#451)

这是草稿 #395 的专项复核正式 PR。#395 保持草稿,等后续 superseded-draft 清理。

上游快照:`2617bf01f11b021bf487b0005c7db06bb1cb616a` →
`b781b554d9f7df66b5a9ed5d8af388152046bbff`

## 修改内容

| 类型 | 模块或功能 | 本次修改 |
| --- | --- | --- |
| 更新 | ffmpeg-skill 固定来源 |
`source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到
`b781b554d9f7` |
| 更新 | 专项复核 | 新增 `budgetExemptPaths: ["tests/test_contract.py"]`,新增
`acceptedDependencyIdentities["package.json"]`;保留 #371 的 13 个
`excludePaths` |
| 更新 | 审核回执 | 重新生成绑定新 pin 的 `upstream-audit.v1.json`(fileCount
565,contentManifestSha256 `576a78a1…`) |
| 更新 | 双语说明 | description 中的固定版本更新,补充说明 `tests/test_contract.py` 超过 1
MiB,仍保留在审核遍历和安装内容中 |

## 修改前后

| 场景 | 修改前 | 修复后 |
| --- | --- | --- |
| 自动核验 | 被 `单文件超过自动审核预算(tests/test_contract.py: 1070415 bytes)`
阻断;豁免后还会被 `依赖清单有变化` 阻断 | 两项都按专项复核绑定的精确路径/哈希核对,审核通过并生成新回执 |
| CI `validate` | `compliance.reviewedRef must match the immutable
content ref/digest` | 本地 `--require-complete` 0 error |

核验依据:
- 根 `LICENSE` 在两个 pin 上逐字节相同(blob `6d76d5f6…`,SHA-256
`7522b29e…`,MIT)。没有 NOTICE 或 COPYING。
- `tests/test_contract.py` 是上游的契约测试源码(Python unittest,15399 行),从 949811
字节增长到 1070415 字节。它不是许可文件,也不是依赖清单。
- `package.json` 仍然没有任何
dependencies/devDependencies/optionalDependencies/peerDependencies,scripts
和 license 也没变,只改了 version(4.7.1 → 4.31.0)和 description(42 → 41 个工具)。
- `SKILL.md` 的稳定 frontmatter 没变,正文删掉了 42 工具的 MCP 说明,改为推荐 `--json-brief`。
- 上游共变更 194 个路径(新增 75、修改 119),主要在
docs/tests/benchmarks/.github/scripts。我扫描了 `scripts/` 和 `mcp/`
的新增行,没有引入网络、shell 或凭据相关调用。`BENCH_API_KEY` / `NPM_TOKEN` 只出现在上游 CI
workflow 里,安装器不会执行这些 workflow。

## 影响范围

| 文件 | 行号 | 改动 |
| --- | --- | --- |
| `skills/ffmpeg-skill/entry.json` | 35 | `source.ref` 更新 |
| `skills/ffmpeg-skill/catalog-metadata.v1.json` | 14, 19, 36, 44, 49,
57, 76-77 | 双语 description、时间戳、provenance 和 compliance 更新 |
| `skills/ffmpeg-skill/special-review.v1.json` | 4-5, 20-26 |
复核日期与说明、`budgetExemptPaths`、`acceptedDependencyIdentities` |
| `skills/ffmpeg-skill/upstream-audit.v1.json` | 4, 7-8, 24-25, 34,
50-52 | 新 pin 的自动核验回执 |

## 验证

| 检查项或场景 | 预期结果 | 实际结果 | 证据 |
| --- | --- | --- | --- |
| `audit_update`(本地,真实 fetch 上游两个 pin) | 通过并生成回执 | 通过,fileCount 565 |
commit `440a8a7` |
| `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>
This commit is contained in:
mashaguaandDevin authored and GitHub committed 2026-12-06 07:55:37 +08:00
1 parent 002d65a3e0
commit 55aab5ee75
4 files changed
+27 -19

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
"kind": "git",
"repoUrl": "https://github.com/kajisho5/ffmpeg-skill.git",
"repoBranch": "main",
"ref": "2617bf01f11b021bf487b0005c7db06bb1cb616a"
"ref": "b781b554d9f7df66b5a9ed5d8af388152046bbff"
},
"riskLevel": "high"
}