diff --git a/NOTICE b/NOTICE index 18dd71410..447a03e30 100644 --- a/NOTICE +++ b/NOTICE @@ -10,7 +10,7 @@ Imported and vendored trees keep their own LICENSE and NOTICE files: runtime/flybot/ Apache License 2.0 and NOTICE runtime/ds-bot-upstream/ Apache License 2.0 and NOTICE - (unmodified Fei2411/DS-Bot v0.3.10) + (unmodified Fei2411/DS-Bot v0.4.3) services/bot-social/ MIT, Copyright (c) 2026 Birfy Redistributors must retain those texts, copyright notices, and attribution diff --git a/scripts/verify-reuse-audit-pins.py b/scripts/verify-reuse-audit-pins.py index b08134c35..bda44ec01 100755 --- a/scripts/verify-reuse-audit-pins.py +++ b/scripts/verify-reuse-audit-pins.py @@ -142,7 +142,10 @@ def check_shipped() -> int: print("FAIL: missing runtime/ds-bot-upstream.pin.json") errors += 1 else: - pin_dsh = (json.loads(pin_path.read_text()).get("dsh") or "") + pin_data = json.loads(pin_path.read_text()) + pin_dsh = (pin_data.get("dsh") or "") + pin_repo = (pin_data.get("repo") or "") + pin_tag = (pin_data.get("tag") or "") recipe_dsh = ((shipped.get("image_recipe") or {}).get("dsh") or "") snapshot_dsh = ((shipped.get("image_recipe") or {}).get("dsh_audit_snapshot") or "") status = record.get("audit_status") or {} @@ -174,6 +177,12 @@ def check_shipped() -> int: errors += 1 elif pin_dsh: print(f"OK root NOTICE names the shipped DSH version @deepseek-ai/dsh@{pin_dsh}") + expected_upstream = f"{pin_repo} {pin_tag}".strip() + if expected_upstream and expected_upstream not in notice: + print(f"FAIL: root NOTICE does not name the vendored upstream {expected_upstream}") + errors += 1 + elif expected_upstream: + print(f"OK root NOTICE names the vendored upstream {expected_upstream}") 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