You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs/reuse-audit: shipped-pins names DSH 0.2.2-rc.1 for the image while the image installs 0.2.2-rc.5, and no check compares the two #3493
agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a templateagent-workingAn agent has claimed this issue (the claim comment names the branch)
docs/reuse-audit/shipped-pins.json still records the DSH version that ships in the image as 0.2.2-rc.1 (image_recipe.dsh), while runtime/ds-bot-upstream.pin.json pins dsh: 0.2.2-rc.5 and the image installs exactly that: the recipe takes DSH_VERSION from the pin and now fails fast when it is empty (#3491, merged as a062ba2158261ed0e5e5e217723e19df290ff02a).
So the delivery record and the shipped artifact disagree, and no check notices:
scripts/verify-reuse-audit-pins.py only reads the dsh_0_2_2_rc_1 record (npm integrity, git tag, libreoffice kit). It never compares image_recipe.dsh with the pin.
tests/test_shipped_licenses.py asserts phrases inside that record, not the recipe version.
The gap matters because the inventory in that file was produced from the 0.2.2-rc.1 tarball — 20 files, 76,416 bytes unpacked — while the shipped 0.2.2-rc.5 tarball is 536 files, 6,230,712 bytes unpacked and was never read file by file. A reader of the record currently has no way to tell which of the two the audit covers.
Proposed slice
image_recipe.dsh becomes 0.2.2-rc.5, with a sibling dsh_audit_snapshot: 0.2.2-rc.1.
An audit_status block inside the dsh_0_2_2_rc_1 record: audited_version (rc.1), shipped_version (rc.5), shipped_version_audited: false, the rc.5 npm tarball integrity/shasum/file counts, and a blocker sentence that forbids reading the inventory as an audit of what ships.
scripts/verify-reuse-audit-pins.py gains a gate: image_recipe.dsh equals the pin, the snapshot names the audited npm version, shipped_version equals the pin, and shipped_version_audited is exactly false.
tests/test_shipped_licenses.py asserts the same invariants.
Acceptance
scripts/verify-reuse-audit-pins.py exits 0 and prints the new OK image recipe DSH 0.2.2-rc.5 matches the pin line.
Reverting image_recipe.dsh to 0.2.2-rc.1 turns that gate red (exit 1).
tests.test_shipped_licenses stays green.
Nothing in the record claims the shipped rc.5 was audited, and nothing claims the image is redistributable.
Claimed. Branch dev/3493-dsh-record-drift, cut from 1f62d02b1df63ca8bd5215c7469c39223f4d7406.
Slice: image_recipe.dsh follows the pin (0.2.2-rc.5), the rc.1 record gains an audit_status block that names rc.5 as shipped and unaudited, and scripts/verify-reuse-audit-pins.py gains a gate so the record cannot drift from the pin again. 3 files, +76/-6.
b380e626fdc4bcb879c0d3c4af85167200e3c0fe — squash of #3494, single parent 1f62d02b, tree c6a01ad43494362edca297e5f1ba3f6097835171, 3 files +76/-6:
docs/reuse-audit/shipped-pins.json: image_recipe.dsh now equals the pin (0.2.2-rc.5), with dsh_audit_snapshot: 0.2.2-rc.1 and an audit_status block that records the audited version, the shipped version, shipped_version_audited: false and a blocker forbidding the inventory from being read as an audit of what ships.
scripts/verify-reuse-audit-pins.py: new gate — image_recipe.dsh must equal runtime/ds-bot-upstream.pin.json's dsh, the snapshot must name the audited npm version, shipped_version must equal the pin, and shipped_version_audited must be exactly false.
tests/test_shipped_licenses.py: the same invariants.
Positive control on the merged tree: verifier rc 0 with OK image recipe DSH 0.2.2-rc.5 matches the pin; audited snapshot 0.2.2-rc.1 records the shipped version as unaudited. Negative control: reverting image_recipe.dsh to 0.2.2-rc.1 makes it fail with rc 1.
agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a templateagent-workingAn agent has claimed this issue (the claim comment names the branch)
Activity
Birfy commentedon Dec 2, 2026
Claimed. Branch
dev/3493-dsh-record-drift, cut from1f62d02b1df63ca8bd5215c7469c39223f4d7406.Slice:
image_recipe.dshfollows the pin (0.2.2-rc.5), the rc.1 record gains anaudit_statusblock that names rc.5 as shipped and unaudited, andscripts/verify-reuse-audit-pins.pygains a gate so the record cannot drift from the pin again. 3 files, +76/-6.Birfy commentedon Dec 2, 2026
Implemented and merged.
b380e626fdc4bcb879c0d3c4af85167200e3c0fe— squash of #3494, single parent1f62d02b, treec6a01ad43494362edca297e5f1ba3f6097835171, 3 files +76/-6:docs/reuse-audit/shipped-pins.json:image_recipe.dshnow equals the pin (0.2.2-rc.5), withdsh_audit_snapshot: 0.2.2-rc.1and anaudit_statusblock that records the audited version, the shipped version,shipped_version_audited: falseand a blocker forbidding the inventory from being read as an audit of what ships.scripts/verify-reuse-audit-pins.py: new gate —image_recipe.dshmust equalruntime/ds-bot-upstream.pin.json'sdsh, the snapshot must name the audited npm version,shipped_versionmust equal the pin, andshipped_version_auditedmust be exactlyfalse.tests/test_shipped_licenses.py: the same invariants.Positive control on the merged tree: verifier rc 0 with
OK image recipe DSH 0.2.2-rc.5 matches the pin; audited snapshot 0.2.2-rc.1 records the shipped version as unaudited. Negative control: revertingimage_recipe.dshto0.2.2-rc.1makes it fail with rc 1.Related #3494