From 5f8fb7b293bef4e5ea59d520e41ec5043cf18819 Mon Sep 17 00:00:00 2001 From: Danyang Chen Date: Wed, 2 Dec 2026 14:08:06 +0800 Subject: [PATCH] NOTICE: name the dsh version the image actually builds The root NOTICE said the runtime image installs @deepseek-ai/dsh@0.2.2-rc.1. It does not: the workflow reads dsh from runtime/ds-bot-upstream.pin.json (0.2.2-rc.5), exports DSH_VERSION and passes it as a build-arg, and the recipe installs @deepseek-ai/dsh@${DSH_VERSION}. Nothing compared the two. - NOTICE now points at the pin for the version and names 0.2.2-rc.5 as the version at this notice - the rc.1 review stays as the audited snapshot, with the shipped rc.5 stated as unaudited and its tarball correspondence still unverified - verify-reuse-audit-pins.py fails when @deepseek-ai/dsh@ is absent from the root NOTICE, so a pin bump cannot leave the NOTICE behind Refs #3495 --- NOTICE | 11 +++++++---- scripts/verify-reuse-audit-pins.py | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/NOTICE b/NOTICE index 70707b159..18dd71410 100644 --- a/NOTICE +++ b/NOTICE @@ -19,7 +19,9 @@ entirely original to OpenTeamily. The FlyBot runtime image recipe (runtime/flybot-image/Dockerfile) additionally installs packages that are not all vendored in this repository, including -@deepseek-ai/dsh@0.2.2-rc.1 and its production direct dependencies. One of +@deepseek-ai/dsh and its production direct dependencies. The recipe builds the +dsh version named in runtime/ds-bot-upstream.pin.json, which as of this notice +is @deepseek-ai/dsh@0.2.2-rc.5. One of those dependencies, @deepseek-ai/dsh-skill-office, depends on @deepseek-ai/libreoffice-kit (MPL-2.0). Corresponding source and notices for kit 0.1.5, and for the Linux wasm engine package that a default image @@ -63,6 +65,7 @@ not a legal opinion and this repository still does not offer a public redistributable runtime image. The vendored DS-Bot NOTICE was reviewed in -docs/reuse-audit/DS-BOT-NOTICE-REVIEW.md. @deepseek-ai/dsh@0.2.2-rc.1 npm -tarball correspondence with the git tag's compiled JavaScript remains -explicitly unverified. +docs/reuse-audit/DS-BOT-NOTICE-REVIEW.md. That review covered the +@deepseek-ai/dsh@0.2.2-rc.1 npm tarball; the image now builds the pinned +0.2.2-rc.5, whose npm tarball correspondence with the git tag's compiled +JavaScript remains explicitly unverified. diff --git a/scripts/verify-reuse-audit-pins.py b/scripts/verify-reuse-audit-pins.py index 404b39c1c..b08134c35 100755 --- a/scripts/verify-reuse-audit-pins.py +++ b/scripts/verify-reuse-audit-pins.py @@ -169,6 +169,11 @@ def check_shipped() -> int: npm.get("version"), "records the shipped version as unaudited", ) + if pin_dsh and f"@deepseek-ai/dsh@{pin_dsh}" not in notice: + print(f"FAIL: root NOTICE does not name the shipped DSH version @deepseek-ai/dsh@{pin_dsh}") + errors += 1 + elif pin_dsh: + print(f"OK root NOTICE names the shipped DSH version @deepseek-ai/dsh@{pin_dsh}") if kit.get("license") != LIBREOFFICE_LICENSE or "blocker" not in (kit.get("redistribution") or ""): print("FAIL: libreoffice-kit MPL clearance blocker not recorded") errors += 1