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
fix(proof): enforce evidence freshness policies by age #587
The project declares evidence freshness SLAs, but active stale-evidence handling does not enforce those age policies. Freshness is mostly catalog metadata today.
Evidence
docs/plans/evidence-freshness.yaml:9 through docs/plans/evidence-freshness.yaml:33 declare per-push, per-PR, weekly, monthly, and manual freshness policies.
docs/plans/evidence-freshness.yaml:35 through docs/plans/evidence-freshness.yaml:38 declare stale thresholds.
polylogue/proof/coverage_manifests.py:17 through polylogue/proof/coverage_manifests.py:27 includes the manifest in proof subject discovery.
polylogue/proof/diffing.py:348 through polylogue/proof/diffing.py:367 labels stable affected obligations as stale_evidence based on base/head obligation IDs, not evidence age or the YAML freshness policies.
polylogue/proof/catalog.py:976 through polylogue/proof/catalog.py:1013 creates runner trust metadata without expires_at.
polylogue/proof/models.py:412 through polylogue/proof/models.py:421 treats missing expires_at as never stale.
Acceptance criteria
Freshness policies in docs/plans/evidence-freshness.yaml are consumed by a gate, not only rendered as coverage metadata.
Runner/evidence trust metadata receives an expiry or comparable age policy derived from claim/oracle/freshness class.
A stale per-push/per-PR/weekly/manual evidence item fails the appropriate devtools/CI gate.
stale_evidence terminology distinguishes age-stale evidence from stable-but-affected obligations, or the existing diff bucket is renamed.
Tests cover expired, missing-expiry, and fresh evidence cases.
Superseded by #594. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.
Activity
Sinity commentedon May 1, 2026
Superseded by #594. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.