Files
pruefwerk/compliance-core
Sharang ParnerkarandClaude Opus 5.5 c529d63cb1
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m1s
feat(findings): two kinds of Fehlalarm, the rule's and the mapping's
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
2026-09-28 19:34:46 +02:00
..