Skip to content

evidence_report --check --live passes right after a refresh, still fails drift (Closes #5208) - #5210

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5208-20261015T2047Z
Oct 15, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5208-20261015T2047Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #5208

What

evidence_report.py --check --live (the release gate in publish.yml) compared the published non-live report with a live render, so it always differed ("recomputed now" vs "at build time" provenance). Now --check compares content with the non-live render (a live render, which the refresh fallback --refresh --live publishes, is also accepted); --live additionally fails any stale level or stale survey from the live build (unchanged messages).

Chosen over "publish live": no evidence-refresh.yml or published-output change, and the report does not move with every unrelated translator merge. publish.yml is unchanged (same command).

Tests

  • clean non-live render passes --check --live and --check; edited md, edited json, extra file each fail
  • stale level still fails --live; non-live --check unaffected
  • existing live tests (live-rendered files) still pass

Class / siblings

Derived output published to generated vs a main-side check rendered differently. Overlaps PR #5207 (same files; small hunk in the --check block): merge main after it lands. Sibling gaps: see report.

Gates

pr_gates --fast 6/6, --ratchets 8/8. test_the_committed_reports_are_current fails locally on main's stale committed copy as before (advisory in CI, skipped with EVIDENCE_REPORT_ADVISORY=1); #5207 removes it.

🤖 Generated with Claude Code

…der, check currency from the live build (Closes #5208)

The published report is a non-live render, so the release gate's live comparison always differed
in provenance text. Content is now compared with the non-live render (a live render, as the
refresh fallback publishes, is also accepted); --live additionally fails stale levels and stale surveys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 15, 2026 20:56
@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 20:57
@squid-protocol
squid-protocol merged commit 3481f78 into main Oct 15, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/5208-20261015T2047Z branch October 15, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evidence report: release gate's --check --live always fails against the published (non-live) copy

1 participant