Make supply-chain checks compare notices without rewriting them #70
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem and evidence
scripts/check-supply-chain:55points generated output at the trackedTHIRD_PARTY_NOTICES.md; lines 261-264 write a temporary file and rename it over that tracked path. The review observed the fast supply-chain stage deleting 27 lines on this VM because installed-package data differed. The check restored its own generated change; this is evidence from the report, not a current worktree edit.Recommendation
Generate notices to a run-local temporary destination and compare with the tracked file. Make writing the committed notice report an explicit generation action.
Payoff and estimate
A passing check stops adding unrelated review noise and preserves reproducible dependency notices. Estimate: 0.5 engineering day.
Priority: Now (≤1 day).
2026-10-04 owner decisions: Matches the requirement that verification output be exact and reviewable; it does not change the single gate entry point.
Report: arch-review report
Source: arch-review 2026-10-04
Starting issue work on branch
gate-tooling-nowat base069059d31fcd91366e76072e6be4871c01e5cde6.Scope: make the supply-chain check compare notices without rewriting the tracked file and resolve the
jitidiscrepancy; repair the perf gate's container search and lazy log selectors; align performance budget units/workload definitions and document each source from the perf audit. I will run onlyINFRATERAL_VERIFY_RUN_ID=gate-tooling-now scripts/verify fastand report its exact output plus final tree status.Finding:
jitihas no resolved package entry inbun.lock; it appears only in Vite'soptionalPeerslist. Vite is adevDependencyof@infraternal/web, and the notice inventory starts from production dependencies. The trackedjiti@2.7.0row and license text are stale production-notice content; no product dependency should be added to retain them. I will regenerate the tracked notice only through the new explicit write action.Finished issue #70 on
gate-tooling-now.Head:
459046794cd600c1b890472064b69c76b50c99baThe normal supply-chain check now renders to a run-local temporary file and diffs it against
THIRD_PARTY_NOTICES.md; it never writes the tracked file. Regeneration is explicit viascripts/check-supply-chain --write-notices. The stalejitiproduction row and license text are removed becausejitiis only Vite's unresolved optional peer, and Vite is a web development dependency. The fast run confirmed the tracked report matches 81 frontend packages.Fast verification output (verbatim; command exited 0):
Bun audit reported one low
cookieadvisory as report-only.git statuswas clean after verification.