A finding a person rejects can be wrong in two ways, and they need
different fixes: the rule fired on code that is fine ("Fehlalarm –
Regel", the existing false_positive, relabelled), or the finding is real
but does not violate the CRA requirement it was mapped to ("Fehlalarm –
Zuordnung", a new wrong_mapping status). Kept apart, they become clean
labels for the finding classifier (#416).
A wrong mapping needs a reason, like an accepted risk (FindingStatus::
needs_reason, enforced by the agent and asked for on the finding's page).
It no longer counts against its controls in the CRA status or the OSCAL
report; the finding keeps its control refs, so which mapping was wrong
stays on record, and the semantic pass does not map it again. Bulk actions
offer neither status that needs a reason.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p