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
refactor(prover): separate outcome evaluation from rendering #2411
Determine the prover pass/fail outcome once after accepted risks are applied, and make the full and compact renderers presentation-only.
Today, render_compact() and render_report() independently derive the return value from the number of active finding paths. This duplicates domain logic and can classify an unaccepted pathless finding as passing even though the prover contract says any unaccepted finding fails.
The public prove() -> Result<i32> contract can remain unchanged. The cleanup should move outcome evaluation out of rendering and remove the unused path arguments from render_compact().
Definition of Done
Pass/fail is derived in one place after accepted risks are applied.
Both renderers are presentation-only and do not determine exit status.
render_compact() no longer accepts unused path arguments.
No findings returns Ok(0).
Accepted-only findings return Ok(0).
Any unaccepted finding returns Ok(1), including a pathless finding.
Tests cover empty, accepted-only, active, and active-pathless findings.
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.
Activity
github-actions commentedon Aug 7, 2026
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.
eviehoward commentedon Aug 11, 2026
PR opened that would close this issue #2632
github-actions commentedon Sep 12, 2026
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.