mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-07 04:39:25 +08:00
这是草稿 #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>
39 lines
1.8 KiB
JSON
39 lines
1.8 KiB
JSON
{
|
|
"id": "sag-wiki",
|
|
"name": "SAG Wiki Skill",
|
|
"category": "productivity",
|
|
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M5 5h14v14H5z\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linejoin=\"round\"/><path d=\"M8 9h8M8 12h8M8 15h5\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linecap=\"round\"/></svg>",
|
|
"tags": [
|
|
"knowledge-base",
|
|
"search",
|
|
"cli",
|
|
"mcp"
|
|
],
|
|
"i18n": {
|
|
"zh-CN": {
|
|
"name": "SAG Wiki 技能",
|
|
"shortDesc": "SAG CLI 技能,用于安装配置、语义检索、索引目录、忽略规则和 MCP。需另行安装并运行独立许可的 @zleap-ai/sag CLI;本条目只指向 cli/skills/sag,不含完整 SAG Wiki 应用。准入暂停为仅收录:现行 DesireCore 安装器只复制该路径,不会把仓库根目录的 MIT LICENSE 附进安装产物。"
|
|
},
|
|
"en-US": {
|
|
"name": "SAG Wiki Skill",
|
|
"shortDesc": "SAG CLI skill for setup, semantic search, indexed folders, ignore rules and MCP configuration. Install and run the separately licensed @zleap-ai/sag CLI; this entry points at cli/skills/sag only, not the full SAG Wiki app. Admission is paused at listing-only: the current DesireCore installer copies only that path and does not attach the repository-root MIT LICENSE."
|
|
}
|
|
},
|
|
"maintainer": {
|
|
"name": "Zleap-AI",
|
|
"verified": false,
|
|
"account": "Zleap-AI",
|
|
"url": "https://github.com/Zleap-AI/SAG-Wiki"
|
|
},
|
|
"stewardship": "community",
|
|
"license": "MIT",
|
|
"redistribution": "allowed",
|
|
"source": {
|
|
"kind": "git",
|
|
"repoUrl": "https://github.com/Zleap-AI/SAG-Wiki.git",
|
|
"repoBranch": "main",
|
|
"ref": "4a708be05d5367bacf4c5e9930eceb3b46588e38",
|
|
"path": "cli/skills/sag"
|
|
}
|
|
}
|