The CRA catalog from breakpilot-compliance was used only as prose for the LLM judge. Its severity and evidence type were dropped, and every control was judged at Medium. The judge also weighed each tool finding against the control's generic text: a rand() finding against "Schlüssel in HSM/Vault…", a buffer overflow against "SAST, DAST, SCA … in der CI/CD-Pipeline". That mismatch is what could refute real findings (#367).
Changes
Catalog ratings:
traits::Control carries severity and evidence_type from the catalog's properties (severity, evidence-type).
The control specs take the catalog's severity (Medium only where there is none), so grounded findings get it too. For example, cra-ai-8 is critical and cra-ai-20 high.
Per-binding check text.
A control-map binding can carry a check: what a finding of this binding means for the control. Triage looks up the matching binding (ControlMap::bindings_for_finding), and the judge reads its check in place of the control's prose.
Check texts are written for 13 bindings: cra-ai-7, 8, 9, 10, 13, 14, 15, 16, 20 (semgrep, gitleaks, cppcheck).
cra-ai-1 and the SBOM/CVE controls keep the catalog prose: it fits, or those findings are never triaged.
CRA status: each control shows its catalog severity and evidence type (Nachweis im Code / im Prozess / in Code und Prozess / durch Dokumente) under its title. The evidence handler loads the catalog, from the backend or the baked snapshot.
Test: the control map and the shipped catalog must name the same 40 controls.
Upstream, not changed here
The catalog's titles and prose use ASCII transliterations ("Passwoerter", "Schluessel"). That belongs in breakpilot-compliance: refresh-oscal-snapshot.sh copies the catalog verbatim.
Checked
cargo fmt --all --check.
clippy --all-targets -- -D warnings for core, agent, control-map and the dashboard (server, web).
Closes #381.
The CRA catalog from breakpilot-compliance was used only as prose for the LLM judge. Its severity and evidence type were dropped, and every control was judged at Medium. The judge also weighed each tool finding against the control's generic text: a `rand()` finding against "Schlüssel in HSM/Vault…", a buffer overflow against "SAST, DAST, SCA … in der CI/CD-Pipeline". That mismatch is what could refute real findings (#367).
## Changes
- **Catalog ratings:**
- `traits::Control` carries `severity` and `evidence_type` from the catalog's properties (`severity`, `evidence-type`).
- The control specs take the catalog's severity (Medium only where there is none), so grounded findings get it too. For example, cra-ai-8 is critical and cra-ai-20 high.
- **Per-binding check text.**
- A control-map binding can carry a `check`: what a finding of this binding means for the control. Triage looks up the matching binding (`ControlMap::bindings_for_finding`), and the judge reads its check in place of the control's prose.
- Check texts are written for 13 bindings: cra-ai-7, 8, 9, 10, 13, 14, 15, 16, 20 (semgrep, gitleaks, cppcheck).
- cra-ai-1 and the SBOM/CVE controls keep the catalog prose: it fits, or those findings are never triaged.
- **CRA status:** each control shows its catalog severity and evidence type (Nachweis im Code / im Prozess / in Code und Prozess / durch Dokumente) under its title. The evidence handler loads the catalog, from the backend or the baked snapshot.
- **Test:** the control map and the shipped catalog must name the same 40 controls.
## Upstream, not changed here
The catalog's titles and prose use ASCII transliterations ("Passwoerter", "Schluessel"). That belongs in breakpilot-compliance: `refresh-oscal-snapshot.sh` copies the catalog verbatim.
## Checked
- `cargo fmt --all --check`.
- `clippy --all-targets -- -D warnings` for core, agent, control-map and the dashboard (`server`, `web`).
- Tests: agent 452, core 99 + 42 integration, control-map 12, dashboard 53 / 37. New tests cover:
- the judge receives the binding's check (a `rand()` finding is judged against the RNG text, not "Keys in an HSM");
- catalog ratings are read;
- map/catalog parity;
- the DE/EN labels.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
The catalog's severity and evidence type were dropped and every control
judged against its generic prose (a rand() finding against "keys in an
HSM"). Specs now carry the catalog's severity, each control-map binding
can carry the check text the judge reads instead, the CRA status shows
the catalog's ratings, and a test keeps the map and the catalog in step.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 33394cc609 into main2026-09-25 19:10:11 +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.
Closes #381.
The CRA catalog from breakpilot-compliance was used only as prose for the LLM judge. Its severity and evidence type were dropped, and every control was judged at Medium. The judge also weighed each tool finding against the control's generic text: a
rand()finding against "Schlüssel in HSM/Vault…", a buffer overflow against "SAST, DAST, SCA … in der CI/CD-Pipeline". That mismatch is what could refute real findings (#367).Changes
traits::Controlcarriesseverityandevidence_typefrom the catalog's properties (severity,evidence-type).check: what a finding of this binding means for the control. Triage looks up the matching binding (ControlMap::bindings_for_finding), and the judge reads its check in place of the control's prose.Upstream, not changed here
The catalog's titles and prose use ASCII transliterations ("Passwoerter", "Schluessel"). That belongs in breakpilot-compliance:
refresh-oscal-snapshot.shcopies the catalog verbatim.Checked
cargo fmt --all --check.clippy --all-targets -- -D warningsfor core, agent, control-map and the dashboard (server,web).rand()finding is judged against the RNG text, not "Keys in an HSM");🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p