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
feat(scan): qual-clone produces 306 info findings on one Rust workspace; add a default-off or a --min-severity for scan #683
On a 133-file Rust workspace (53k lines) cora scan --no-llm reports 457 deterministic findings, 306 of them qual-clone (info): almost all Arc::clone, String/PathBuf clones and state.clone() handed to a thread, which is the intended ownership model. The signal-to-noise of the summary ("found 457 issues") is poor, and max_findings (default 50) then spends its slots on this noise once Critical/Major are exhausted.
cora scan also has no --min-severity (review has hook.min_severity; the MCP finalize tools have min_severity), so the only fix is ignore.rules: ["qual-clone"].
Proposal
Make qual-clone opt-in for Rust, or restrict it to the cases that are actually suspicious (clone inside a loop body, .clone() of a large owned collection immediately consumed by value, clone of a Copy type).
Add cora scan --min-severity <info|minor|major|critical> (and the equivalent config key), honoured by pretty/json/sarif output and by the summary count.
In the summary line, count by severity so "found 457 issues" does not hide that one is critical and 306 are info.
Done when
A default scan of a typical Rust project does not list Arc::clone sites; --min-severity minor hides info findings in all output formats.
Activity
feat(scan): opt-in clone hints, --min-severity and a per-severity sum…
feat(scan): opt-in clone hints, --min-severity and a per-severity sum…
chore(release): v0.20.0