Part of #338. Found while preparing the staging test (2026-09-25).
Problem
Control triage (5b) can hide real findings. For a finding that maps to controls by rule id or CWE, the LLM judge checks each mapped control. If no verdict grounds, the finding is marked false positive (compliance-agent/src/controls/triage.rs:71-72, applied at scan_triage.rs:70-73).
Two ways this goes wrong:
Judge error. On an LLM error the judge returns "no violation" (judge.rs:53-58, "fail closed"), so an outage of llm.breakpilot.com during a customer scan moves real findings to Fehlalarm.
Mismatched control text. cppcheck memory findings map to cra-ai-20, whose prose is about "SAST … in der CI/CD-Pipeline". The judge can refute that mapping, and a real overflow is then marked false positive.
Decision (2026-09-25)
A judge error leaves the finding open, without control refs.
A refutation puts the finding in a new status "needs review" ("Zu prüfen"). A person decides; the finding never disappears on its own.
The judge decides the mapping, never whether the finding exists.
Done when
A new FindingStatus value, needs review, is accepted by status validation, shown and filterable in the dashboard (DE/EN), and counted as open wherever open findings are counted (overview, CRA status, evidence pack).
The judge's result distinguishes error, refuted and confirmed; triage maps them to open, needs review and confirmed with refs.
Tests cover each outcome, including an LLM error.
Part of #338. Found while preparing the staging test (2026-09-25).
## Problem
Control triage (5b) can hide real findings. For a finding that maps to controls by rule id or CWE, the LLM judge checks each mapped control. If no verdict grounds, the finding is marked **false positive** (`compliance-agent/src/controls/triage.rs:71-72`, applied at `scan_triage.rs:70-73`).
Two ways this goes wrong:
- **Judge error.** On an LLM error the judge returns "no violation" (`judge.rs:53-58`, "fail closed"), so an outage of `llm.breakpilot.com` during a customer scan moves real findings to *Fehlalarm*.
- **Mismatched control text.** cppcheck memory findings map to cra-ai-20, whose prose is about "SAST … in der CI/CD-Pipeline". The judge can refute that mapping, and a real overflow is then marked false positive.
## Decision (2026-09-25)
- A judge **error** leaves the finding open, without control refs.
- A **refutation** puts the finding in a new status **"needs review"** ("Zu prüfen"). A person decides; the finding never disappears on its own.
- The judge decides the mapping, never whether the finding exists.
## Done when
- A new `FindingStatus` value, needs review, is accepted by status validation, shown and filterable in the dashboard (DE/EN), and counted as open wherever open findings are counted (overview, CRA status, evidence pack).
- The judge's result distinguishes error, refuted and confirmed; triage maps them to open, needs review and confirmed with refs.
- Tests cover each outcome, including an LLM error.
sharang
added this to the Production MVP milestone 2026-09-25 07:59:04 +00:00
sharang
added the bughigh labels 2026-09-25 07:59:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #338. Found while preparing the staging test (2026-09-25).
Problem
Control triage (5b) can hide real findings. For a finding that maps to controls by rule id or CWE, the LLM judge checks each mapped control. If no verdict grounds, the finding is marked false positive (
compliance-agent/src/controls/triage.rs:71-72, applied atscan_triage.rs:70-73).Two ways this goes wrong:
judge.rs:53-58, "fail closed"), so an outage ofllm.breakpilot.comduring a customer scan moves real findings to Fehlalarm.Decision (2026-09-25)
Done when
FindingStatusvalue, needs review, is accepted by status validation, shown and filterable in the dashboard (DE/EN), and counted as open wherever open findings are counted (overview, CRA status, evidence pack).