Skip to content

Evidence report: keep the last measured level, marked stale, on harness / oracle staleness - #4734

Merged
squid-protocol merged 1 commit into
mainfrom
feat/4730-stale-levels
Oct 9, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/4730-stale-levels

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #4730

The evidence report kept counting a coverage-ledger entry stale on the harness / oracle as unknown, so L3/L4 collapsed to 0 after almost any harness or runtime PR. Now:

  • det_coverage_ledger.last_coverage() returns the last measured entry with its stale inputs; update records measured_at (a commit sha, no timestamps).
  • Stale on a SCHEDULED input (harness, oracle): the report keeps the level, marked L3*, with "stale since ()". Stale on a BLOCKING input (case, corpus): the level drops, as before.
  • report.json per program: level, level_current, stale_since, stale_inputs; summary: histogram_stale, levels_stale. The summary table and README show current and stale counts apart ("L3+: 14 (14 awaiting re-check)").
  • evidence_report.py --check --live (the evidence report: regenerate on main by bot, advisory in PRs, strict at release (stop per-PR report churn) #4703 release gate) fails while any level is stale. --deltas reports stale vs current.
  • "How to read this report", the README text and docs/language_status/evidence_records.md updated.
  • Committed reports are not regenerated here (the bot does it on main); validate() accepts reports from before this change, strict for freshly built ones.

Tests: harness-only keeps the level stale, blocking drops it, gate fails while stale, deltas, ledger last_coverage / measured_at.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D

…on scheduled-input staleness (Fixes #4730)

Harness / oracle staleness of a det-sweep coverage entry no longer counts as unknown (0): the report keeps the
level, marks it L3*, and says stale since <commit> (<inputs>). Case / corpus staleness still drops it. JSON carries
level_current, stale_since, stale_inputs; summaries count current and stale apart; --deltas reports stale vs current;
--check --live (the release gate) fails while any level is stale.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D
@squid-protocol squid-protocol added enhancement New feature, sensor, or structural signature testing Unit, integration, and E2E pipeline verification labels Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, sensor, or structural signature testing Unit, integration, and E2E pipeline verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

evidence report: keep a program's last measured level marked stale instead of dropping L3/L4 to zero on any harness change

1 participant