mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 21:39:23 +08:00
chore(market): 更新 translate-book 上游快照 (#333)
对应失败草稿 #325(不关闭该草稿,也不将其标为 Ready)。本 PR 由 mashagua 正式提交,基于当前 `main`(`07d45545c31f4f3e2213b118c4cf0db258f2f833`),将 `skills/translate-book` 的已准入快照从 `a663b1b4f1e625b286cd2a81dffd16571e6f2aa2` 更新到未改动的目标 pin `1c531b49c688a7e8e601b176ce489790bcd10284`。 - 根 MIT LICENSE 与旧快照字节相同(git blob `c4af18ae2ff18b550d7fbeec0ccb15981cb97dca`)。 - 唯一超出 1 MiB 审核预算的文件是测试基线 `tests/baselines/standard-alice/standard-alice.epub`(10,635,439 字节,git blob `95f8c2387f2475bab8a56b6fb7e3ffc22bc0c75a`),新旧 pin 为同一 blob,是转换测试夹具而非运行时文件。使用现有政策的精确路径 `budgetExemptPaths`,没有全局抬高 `MAX_FILE_BYTES`,也没有用 `excludePaths` 假装安装排除。该文件仍留在审核树中。 - 安装范围是上游仓库根目录,因此 DesireCore 安装器仍可能拷贝这份测试 EPUB。已在 `compatibility.requirements` 中作中英披露(另含 Python 3 / pandoc / Calibre 运行前提)。 - 同时复核了本 pin 正文与脚本变化(SKILL.md 正文、新增 `scripts/figure_text.py`,以及 `convert.py` / `merge_and_build.py` / templates / tests 更新),不只处理体积豁免。许可、脚本与 SKILL 均保留。无依赖清单变化。 已在本地对固定新旧快照跑通 scoped `audit_snapshots`(observed_at `2026-11-22T14:20:32Z`,fileCount 50,checks 全部为 true)后才写入回执。亦已通过 catalog `--require-complete`、i18n validate、`translate.py --check skills/translate-book`,以及 catalog/audit/collection 单测。本 PR 不改变许可政策,不跑全局 Upstream Health,不合并。
This commit is contained in:
1 parent
125d22b88c
commit
53d29a70da
4 files changed
+69
-11
No files matched your search
@@ -31,28 +31,28 @@
|
||||
"timestamps": {
|
||||
"catalogUpdatedAt": {
|
||||
"state": "known",
|
||||
"value": "2026-10-19",
|
||||
"precision": "day"
|
||||
"value": "2026-11-22T14:20:32Z",
|
||||
"precision": "second"
|
||||
},
|
||||
"releasePublishedAt": {
|
||||
"state": "unknown"
|
||||
},
|
||||
"reviewedAt": {
|
||||
"state": "known",
|
||||
"value": "2026-10-19",
|
||||
"value": "2026-11-22",
|
||||
"precision": "day"
|
||||
},
|
||||
"upstreamObservedAt": {
|
||||
"state": "known",
|
||||
"value": "2026-10-19",
|
||||
"precision": "day"
|
||||
"value": "2026-11-22T14:20:32Z",
|
||||
"precision": "second"
|
||||
}
|
||||
},
|
||||
"provenance": {
|
||||
"content": {
|
||||
"kind": "git",
|
||||
"url": "https://github.com/deusyu/translate-book.git",
|
||||
"ref": "a663b1b4f1e625b286cd2a81dffd16571e6f2aa2"
|
||||
"ref": "1c531b49c688a7e8e601b176ce489790bcd10284"
|
||||
}
|
||||
},
|
||||
"governance": {
|
||||
@@ -71,16 +71,26 @@
|
||||
},
|
||||
"compliance": {
|
||||
"licenseEvidencePath": "LICENSE",
|
||||
"reviewedRef": "a663b1b4f1e625b286cd2a81dffd16571e6f2aa2",
|
||||
"reviewedAt": "2026-10-19",
|
||||
"reviewedBy": "Market upstream maintenance",
|
||||
"reviewedRef": "1c531b49c688a7e8e601b176ce489790bcd10284",
|
||||
"reviewedAt": "2026-11-22",
|
||||
"reviewedBy": "automated:source-license-metadata-v1",
|
||||
"upstreamEndorsed": false
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"platforms": {
|
||||
"state": "unknown"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
{
|
||||
"kind": "runtime",
|
||||
"value": "Requires separately installed Python 3, pandoc and Calibre ebook-convert; translation uses many tokens and needs sub-agent support. DesireCore does not install or run these tools. / 需另行安装 Python 3、pandoc 与 Calibre ebook-convert;整书翻译消耗较多 token,并需支持子智能体。DesireCore 不安装或运行这些工具。"
|
||||
},
|
||||
{
|
||||
"kind": "runtime",
|
||||
"value": "Install scope is the upstream repository root, so the DesireCore installer may also copy tests/baselines/standard-alice/standard-alice.epub (10,635,439 bytes), a test fixture not required at runtime. The catalog audit exempts that file from the 1 MiB size budget; this is not an install exclusion. / 安装范围是上游仓库根目录,因此 DesireCore 安装器仍可能一并复制 tests/baselines/standard-alice/standard-alice.epub(10,635,439 字节)。该文件是测试基线,运行时并不需要。目录审核仅豁免其 1 MiB 大小上限,并不等于安装排除。"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"kind": "skill"
|
||||
|
||||
@@ -32,6 +32,6 @@
|
||||
"kind": "git",
|
||||
"repoUrl": "https://github.com/deusyu/translate-book.git",
|
||||
"repoBranch": "main",
|
||||
"ref": "a663b1b4f1e625b286cd2a81dffd16571e6f2aa2"
|
||||
"ref": "1c531b49c688a7e8e601b176ce489790bcd10284"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"reviewedBy": "mashagua",
|
||||
"reviewedAt": "2026-11-22",
|
||||
"notes": "Class C review of translate-book 1c531b49c688a7e8e601b176ce489790bcd10284 against a663b1b4f1e625b286cd2a81dffd16571e6f2aa2. Root MIT LICENSE is byte-identical (git blob c4af18ae2ff18b550d7fbeec0ccb15981cb97dca). The only file over the 1 MiB audit budget is tests/baselines/standard-alice/standard-alice.epub (10,635,439 bytes, git blob 95f8c2387f2475bab8a56b6fb7e3ffc22bc0c75a), a conversion test baseline already present at the same blob on the old pin; it is not a runtime skill file. budgetExemptPaths names that exact path so the audit may finish; this is not an install exclusion and does not raise the global file budget. Because the catalog source has no path prefix, install scope is the repository root, so the DesireCore installer may still copy this test EPUB. LICENSE, SKILL.md and scripts remain in scope. SKILL.md has no YAML frontmatter; the body and scripts (including convert.py, merge_and_build.py, new figure_text.py, templates and tests) were reviewed as documentation and tooling updates for book conversion, not executed. Review covers the pinned source, licensing and catalog metadata. Upstream programs were not executed; runtime acceptance remains untested.",
|
||||
"budgetExemptPaths": [
|
||||
"tests/baselines/standard-alice/standard-alice.epub"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"reviewer": "automated:source-license-metadata-v1",
|
||||
"reviewedAt": "2026-11-22T14:20:32Z",
|
||||
"source": {
|
||||
"url": "https://github.com/deusyu/translate-book.git",
|
||||
"previousRef": "a663b1b4f1e625b286cd2a81dffd16571e6f2aa2",
|
||||
"ref": "1c531b49c688a7e8e601b176ce489790bcd10284",
|
||||
"paths": [
|
||||
""
|
||||
]
|
||||
},
|
||||
"checks": {
|
||||
"immutableSnapshots": true,
|
||||
"installedScopeBoundedFiles": true,
|
||||
"licenseAndNoticeUnchanged": true,
|
||||
"structuredPrerequisitesUnchanged": true,
|
||||
"presentationMetadataUnchanged": true
|
||||
},
|
||||
"licenseEvidenceSha256": {
|
||||
"LICENSE": "efb91b35750f098c75d64379fb383ce19eb35d81ebe84998b6e497b3e33adde6"
|
||||
},
|
||||
"observedVersions": {},
|
||||
"contentManifestSha256": "63d812cafc6d7d7d2cada3de171aa09eea6d9b0ad50643283a96eb11205a1f24",
|
||||
"fileCount": 50,
|
||||
"limitations": [
|
||||
"自动来源、许可和结构化元数据核验;不执行上游代码,不代表软件安全认证或真实运行验收。",
|
||||
"未结构化表达的依赖与行为变化仍在 PR 差异中供复核,不据此扩大授权。",
|
||||
"依赖清单或结构化简介如有变化,已按专项复核记录中的接受哈希核对,不代表这些字段与旧快照逐字节相同。"
|
||||
],
|
||||
"specialReview": {
|
||||
"reviewedBy": "mashagua",
|
||||
"reviewedAt": "2026-11-22",
|
||||
"excludePaths": [],
|
||||
"budgetExemptPaths": [
|
||||
"tests/baselines/standard-alice/standard-alice.epub"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user