Refs #383. A design draft for agreement with the breakpilot-compliance side, before any code.
docs/design/derive-checks-from-controls.md proposes how dsms controls should drive what Prüfwerk checks, while tools keep detecting and people keep deciding coverage. In short:
Gate by verification method. Use dsms's verification method (master controls) and evidence type (CRA) to decide which controls Prüfwerk checks: code, network, hybrid. The rest are evidenced in dsms.
Check texts and surface terms from the objectives. Derive them from the controls' objectives (test_procedure / requirements, exported as OSCAL assessment-objectives), reviewed and versioned in the control map. Today they are written by hand in surface.rs and in the map.
Rule candidates. For uncovered controls, an LLM drafts a rule, a deterministic test gate checks it, and a person accepts it. The Payment Compliance Pack is the precedent.
Retrieval at scale. For the master controls: a deterministic pre-filter (IRIS) and a judge answer with counter-evidence spans (VulnAgent-R2). Needs #382.
One mapping. dsms consumes our per-control verdicts and coverage instead of re-mapping findings by CWE (_CWE_TO_REQ).
The note ends with six asks to breakpilot-compliance (A1–A6), five stories in order, and open questions.
docs/.vitepress/config.mts gains srcExclude: ['design/**'], so internal design notes are not published on the customer documentation site.
Docs only. Not meant to merge before the breakpilot-compliance side has agreed.
Refs #383. A design draft for agreement with the breakpilot-compliance side, before any code.
`docs/design/derive-checks-from-controls.md` proposes how dsms controls should drive what Prüfwerk checks, while tools keep detecting and people keep deciding coverage. In short:
1. **Gate by verification method.** Use dsms's verification method (master controls) and evidence type (CRA) to decide which controls Prüfwerk checks: code, network, hybrid. The rest are evidenced in dsms.
2. **Check texts and surface terms from the objectives.** Derive them from the controls' objectives (`test_procedure` / `requirements`, exported as OSCAL assessment-objectives), reviewed and versioned in the control map. Today they are written by hand in `surface.rs` and in the map.
3. **Rule candidates.** For uncovered controls, an LLM drafts a rule, a deterministic test gate checks it, and a person accepts it. The Payment Compliance Pack is the precedent.
4. **Retrieval at scale.** For the master controls: a deterministic pre-filter (IRIS) and a judge answer with counter-evidence spans (VulnAgent-R2). Needs #382.
5. **One mapping.** dsms consumes our per-control verdicts and coverage instead of re-mapping findings by CWE (`_CWE_TO_REQ`).
The note ends with **six asks** to breakpilot-compliance (A1–A6), **five stories** in order, and open questions.
`docs/.vitepress/config.mts` gains `srcExclude: ['design/**']`, so internal design notes are **not published** on the customer documentation site.
Docs only. Not meant to merge before the breakpilot-compliance side has agreed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
A draft for agreement with the breakpilot-compliance side: gate by
verification method, derive check texts and surface terms from the
controls' objectives, rule candidates behind a test gate and review,
retrieval at scale, and one mapping instead of two. Design notes are
excluded from the published docs.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
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.
Refs #383. A design draft for agreement with the breakpilot-compliance side, before any code.
docs/design/derive-checks-from-controls.mdproposes how dsms controls should drive what Prüfwerk checks, while tools keep detecting and people keep deciding coverage. In short:test_procedure/requirements, exported as OSCAL assessment-objectives), reviewed and versioned in the control map. Today they are written by hand insurface.rsand in the map._CWE_TO_REQ).The note ends with six asks to breakpilot-compliance (A1–A6), five stories in order, and open questions.
docs/.vitepress/config.mtsgainssrcExclude: ['design/**'], so internal design notes are not published on the customer documentation site.Docs only. Not meant to merge before the breakpilot-compliance side has agreed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p