Repository navigation
Description
Problem
NOTICE still tells readers that the runtime image installs @deepseek-ai/dsh@0.2.2-rc.1, but the image no longer installs that version. On b380e626fdc4bcb879c0d3c4af85167200e3c0fe (tree c6a01ad43494362edca297e5f1ba3f6097835171):
.github/workflows/flybot-runtime-image.yml:46readsdshfromruntime/ds-bot-upstream.pin.json(0.2.2-rc.5),:55exportsDSH_VERSION,:62passes it as a build-arg.runtime/flybot-image/Dockerfileinstalls@deepseek-ai/dsh@${DSH_VERSION}, and since runtime: require DSH_VERSION as an explicit build-arg #3491 an emptyDSH_VERSIONfails the build instead of falling back.NOTICE:22still says the recipe "additionally installs ... @deepseek-ai/dsh@0.2.2-rc.1 and its production direct dependencies".NOTICE:66still says the reviewed@deepseek-ai/dsh@0.2.2-rc.1npm tarball correspondence "remains explicitly unverified", without saying that what ships is0.2.2-rc.5.
docs/reuse-audit/shipped-pins.json was corrected by #3494 (image_recipe.dsh = 0.2.2-rc.5, dsh_audit_snapshot = 0.2.2-rc.1, shipped_version_audited: false). The root NOTICE was not.
No check catches this: scripts/verify-reuse-audit-pins.py asserted six fixed phrases in the root NOTICE and never compared its version string with the pin; the root NOTICE also has no sha256 pin of its own (the 94f05bc4 entry in shipped-pins.json is runtime/flybot/NOTICE). A NOTICE that names a version the image does not install is a licensing statement, not just stale prose, so it should fail a check.
Repro
grep -n '0.2.2-rc' NOTICE # 22, 66 -> rc.1
node -p "require('./runtime/ds-bot-upstream.pin.json').dsh" # 0.2.2-rc.5
grep -n 'DSH_VERSION' .github/workflows/flybot-runtime-image.yml runtime/flybot-image/Dockerfile
Slice 1 (this issue, PR #3496)
NOTICE:22names@deepseek-ai/dshand points atruntime/ds-bot-upstream.pin.jsonfor the version, naming0.2.2-rc.5as the version at this notice.NOTICE:66keeps the rc.1 review as the audited snapshot and states that the image now builds the pinned0.2.2-rc.5, whose npm tarball correspondence is unverified.scripts/verify-reuse-audit-pins.pyfails when@deepseek-ai/dsh@<pin dsh>is absent from the root NOTICE, so a pin bump can no longer leave the NOTICE behind.
Slice 2 (follow-up, not in this PR)
The same "current = rc.1" claim survives in four more places, none of them covered by the new gate:
docs/reuse-audit/README.md:15("当前运行时钉扎的 DSH 为 0.2.2-rc.1") and:93docs/reuse-audit/pins.json:163(dsh_pin_in_runtime.version)docs/reuse-audit/SHIPPED.md:50(installs rc.1 globally) — the rc.1 audit sections at:52-:123stay as historical evidence, but must be labelled as the audited snapshot next to the shipped rc.5docs/reuse-audit/INVENTORY.md:14and:62("DSH 0.2.2-rc.1 再分发义务仍待核")
Slice 3 (follow-up, not in this PR)
A third version in the same file is stale for a different reason: NOTICE:13 says the vendored tree is "(unmodified Fei2411/DS-Bot v0.3.10)", while runtime/ds-bot-upstream.pin.json pins tag v0.4.3 at 5a9dc8d3dc9e2dc22679a97e7028476ace62640c. That is the DS-Bot tag, not the DSH version, so it gets its own slice: name the pinned tag in the NOTICE and gate it the same way (DS-Bot <pin tag> must appear in the root NOTICE).
Acceptance
scripts/verify-reuse-audit-pins.pyexits 0 and printsOK root NOTICE names the shipped DSH version @deepseek-ai/dsh@0.2.2-rc.5.- Removing that version string from the NOTICE makes the script exit 1.
tests.test_shipped_licensesstays green.- Nothing in the NOTICE claims the shipped rc.5 was audited, and nothing claims the image is a public redistributable release.
Related #3494
Activity
Birfy commentedon Dec 2, 2026
Claimed. Branch
dev/3495-notice-shipped-dsh-version, cut fromb380e626fdc4bcb879c0d3c4af85167200e3c0fe; commit5f8fb7b2, treeaacdf8ea, 2 files +12/-4 (the NOTICE and the gate).Slice 2 in this issue (the four
docs/reuse-auditfiles that still call rc.1 current) is deliberately not in this PR.Birfy commentedon Dec 3, 2026
Already fixed on main; closing as completed. Checked at main
e1dd1b25928f91e542f2c864bf61eea7719cd724(tree2224f5b358c00d4444c93282c6a5f1a4d4de81bc), rebuilt from codeload at that commit, 2,579 entries.NOTICE:24names the recipe's installed pin@deepseek-ai/dsh@0.2.2-rc.5.NOTICE:69-70keeps@deepseek-ai/dsh@0.2.2-rc.1as the audited snapshot and records that the rc.5 tarball's correspondence with the git tag's compiled output is still unverified — that retention is deliberate, not a leftover.scripts/verify-reuse-audit-pins.pyon this tree: rc 0, ending withall reuse-audit pin checks passed, including the shipped-vs-audited snapshot assertion.Landed in
0bdbbfbe(PR #3496).