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): define and surface accepted-risk provenance #2413
Define how accepted-risk attribution is retained and surfaced when findings are accepted.
The accepted-risk loader parses accepted_by, but matching and rendering never use it. Fully accepted findings retain only one reason, and partially accepted findings discard the provenance of the paths that matched accepted-risk entries.
Context
Identified while reviewing the call chain rooted at prove() after #2395.
Relevant code:
crates/openshell-prover/src/accepted_risks.rs
crates/openshell-prover/src/finding.rs
crates/openshell-prover/src/report.rs
This is audit-facing behavior, so the representation should be agreed before implementation. In particular, define whether provenance belongs on findings, individual paths, or a separate acceptance result.
Definition of Done
Define the accepted-risk provenance model, including accepted_by and reason.
Preserve provenance when multiple accepted-risk entries match.
Define and preserve provenance for partially accepted findings.
Surface the agreed attribution in relevant report or structured output.
Tests cover complete, partial, pathless, and multiple-entry acceptance.
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 6, 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.
github-actions commentedon Oct 13, 2026
Closing this issue after 14 days with no activity since it was marked stale. Reopen it if the work is still relevant.