Files
market/skills/sag-wiki/special-review.v1.json
mashaguaandDevin 4bc36a750a chore(catalog): 专项复核并更新 sag-wiki 上游快照至 4a708be0eb46 (#458)
这是草稿 #449 的专项复核正式 PR。#449 保持草稿,等后续清理。

上游快照:`b6940ac834b3b1ec651c0b49dc1b0c45d4d74c4a` →
`4a708be05d5367bacf4c5e9930eceb3b46588e38`(安装路径 `cli/skills/sag`)

> ⚠️ **合并时机**:本 PR 合并后,sag-wiki 的 `compliance.reviewedBy` 会从 `mashagua`
变成 `automated:source-license-metadata-v1`,开始命中 desirecore
客户端的子目录稀疏检出问题(desirecore/desirecore#7466 修复,尚未发布):v10.0.214–v10.0.219
安装时会报 `ENOENT …/LICENSE`。在 #7466 发布前合并,sag-wiki 会和
ppt-master、reverse-engineer-anything 一样装不上。建议等 #7466 发布后再合并。

## 修改内容

| 类型 | 模块或功能 | 本次修改 |
| --- | --- | --- |
| 更新 | sag-wiki 固定来源 |
`source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到
`4a708be0eb46` |
| 更新 | 专项复核 | 新增
`acceptedDependencyIdentities["package-lock.json"]`;沿用已审计的
`acceptedClientAttachedNotices` 延续 |
| 新增 | 审核回执 | 首次生成 `upstream-audit.v1.json`(fileCount
6,contentManifestSha256 `288c8150…`) |
| 更新 | 双语说明 | description 中的固定版本更新 |

## 修改前后

| 场景 | 修改前 | 修复后 |
| --- | --- | --- |
| 自动核验 | `依赖清单有变化,无法自动确认新的前置条件` | 按绑定的 blob 核对后通过并生成回执 |
| CI `validate` | `compliance.reviewedRef must match …` | 本地
`--require-complete` 0 error |

核验依据:
- `package.json` 只改了版本号 0.4.6 → 0.4.8,去掉 version
后的身份哈希不变(`2c428caf…`)。`package-lock.json` 只改了两处相同的版本字段(blob `fa5e3db6…`
→ `35b9a982…`),没有新增、删除或重新解析任何依赖。
- 安装范围内只改了 3
个参考文档:`references/ignores.md`、`parameters.md`、`setup.md`,内容是"`--path`
可以重复传入(SAG CLI 0.4.7+)"和"`sag add/remove` 支持单个文件"。SKILL.md 的 frontmatter
没变。
- 根 `LICENSE` 逐字节相同(SHA-256 `735a34d0…`),已审计的客户端附加通知证据继续有效。
- 其余 150 多个变更路径是 SAG Wiki 应用本身、测试和构建文件,都不在安装范围内。

已知问题(本 PR 未改):双语 summary/description 里还留着"准入暂停为仅收录"的旧说法,但 #439
已经把它恢复为可安装,文案和实际状态不一致。建议另开 PR 更新这段文案。

## 影响范围

| 文件 | 行号 | 改动 |
| --- | --- | --- |
| `skills/sag-wiki/entry.json` | 35 | `source.ref` |
| `skills/sag-wiki/catalog-metadata.v1.json` | 14, 19, 36-37, 44, 49-50,
57, 77-79 | 双语 description 中的 pin、时间戳、provenance、compliance |
| `skills/sag-wiki/special-review.v1.json` | 4-5, 27-29 |
复核日期与说明、`acceptedDependencyIdentities` |
| `skills/sag-wiki/upstream-audit.v1.json` | 1-38(新文件) | 新 pin 的自动核验回执 |

## 验证

| 检查项或场景 | 预期结果 | 实际结果 | 证据 |
| --- | --- | --- | --- |
| `audit_update`(本地,真实 fetch 上游两个 pin,基于含 #455 的 main) | 通过并生成回执 |
通过,fileCount 6 | commit `d174b60` |
| `validate_catalog_metadata.py --require-complete` / `validate-i18n.py`
| 0 error | 0 error,105 warning(main 原有) | 本地 |
| `translate.py --check skills/sag-wiki` | 通过 | 通过 | 本地 |
| CI | 全部通过 | 等待中 | 本 PR checks |

只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或运行验收。请勿自动合并。

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-12-06 20:20:44 +08:00

32 lines
2.9 KiB
JSON

{
"schemaVersion": 1,
"reviewedBy": "mashagua",
"reviewedAt": "2026-12-05",
"notes": "Upstream update review of sag-wiki 4a708be05d5367bacf4c5e9930eceb3b46588e38 against main pin b6940ac834b3b1ec651c0b49dc1b0c45d4d74c4a (install scope cli/skills/sag). Draft PR #449 stopped at 依赖清单有变化 only. Root package.json changed only its version 0.4.6 -> 0.4.8 (version-stripped identity unchanged, 2c428caf...); root package-lock.json changed only the two matching version fields 0.4.6 -> 0.4.8 (git blob fa5e3db62c49fe6d62bb1c8209257a1f3abfd591 -> 35b9a982d44060c81694c19d362f81f134e3d8bb), with no dependency added, removed or re-resolved; acceptedDependencyIdentities binds that blob. Inside the install scope only three reference files changed: references/ignores.md, references/parameters.md and references/setup.md document repeatable --path searches (SAG CLI 0.4.7+) and file-level sag add/remove; SKILL.md frontmatter is unchanged. Root LICENSE is byte-identical (SHA-256 735a34d013f65abea13a18ded72eda3362156cdab391fe3e48649730b3aafa2c), so acceptedClientAttachedNotices continues the audited carry-forward unchanged. The remaining 150+ upstream paths are the SAG Wiki application, tests and build files outside cli/skills/sag. Upstream programs were not executed; not a security certification or runtime acceptance, and does not extend to future pins. Previous review (2026-12-04): Verified root notice attachment for sag-wiki pin b6940ac834b3b1ec651c0b49dc1b0c45d4d74c4a (standalone Git subdirectory (cli/skills/sag)). DesireCore v10.0.214 official release includes verified client notice staging (clientCommit 85fba4abf4c60c5704557b2c76568a3da3323967, clientTree 4e38063a01a6d8b9e7b7fc549bbc2716b7d45a81) attaching regular root notice files matching LICENSE/NOTICE/COPYING prefixes: LICENSE (SHA-256 735a34d013f65abea13a18ded72eda3362156cdab391fe3e48649730b3aafa2c). Confirmed zero colliding top-level LICENSE/NOTICE/COPYING files across all 1 install scope(s). allowCarryForwardWhenUnchanged=true applies only when root notice bytes and install scopes remain unchanged.",
"acceptedClientAttachedNotices": {
"sourceRef": "b6940ac834b3b1ec651c0b49dc1b0c45d4d74c4a",
"clientCommit": "85fba4abf4c60c5704557b2c76568a3da3323967",
"clientTree": "4e38063a01a6d8b9e7b7fc549bbc2716b7d45a81",
"clientReleaseTag": "v10.0.214",
"allowCarryForwardWhenUnchanged": true,
"observedAt": "2026-12-04T06:00:00Z",
"noticeRootPath": "LICENSE",
"noticeSha256": "735a34d013f65abea13a18ded72eda3362156cdab391fe3e48649730b3aafa2c",
"scopes": [
{
"path": "cli/skills/sag",
"attached": [
{
"name": "LICENSE",
"sourceName": "LICENSE",
"sha256": "735a34d013f65abea13a18ded72eda3362156cdab391fe3e48649730b3aafa2c"
}
]
}
]
},
"acceptedDependencyIdentities": {
"package-lock.json": "35b9a982d44060c81694c19d362f81f134e3d8bb"
}
}