docs(design): deriving checks from breakpilot-compliance controls (#383) #400

Merged
sharang merged 4 commits from docs/derive-checks-design into main 2026-09-25 20:43:11 +00:00
Owner

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.ai/code/session_01EYKjxacrr6K88DruUmP48p

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
sharang added 1 commit 2026-09-25 19:10:34 +00:00
docs(design): deriving checks from breakpilot-compliance controls (#383)
CI / Check (push) Skipped
CI / Check (pull_request) Canceled after 0s
CI / Detect Changes (pull_request) Canceled after 0s
CI / Deploy Agent (pull_request) Canceled after 0s
CI / Deploy Dashboard (pull_request) Canceled after 0s
CI / Deploy Docs (pull_request) Canceled after 0s
CI / Deploy MCP (pull_request) Canceled after 0s
ed32585e37
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
sharang added 1 commit 2026-09-25 19:12:47 +00:00
docs(design): asks match what dsms already exports and pulls
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 7m30s
22adba2a70
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-09-25 19:42:51 +00:00
docs(design): A7, a service may fetch the catalog
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 7m3s
0216a3d856
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-09-25 20:27:45 +00:00
docs(design): ask A1 is met, each master control carries its verification method
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 7m51s
76ef82b939
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit 96aab82382 into main 2026-09-25 20:43:11 +00:00
Sign in to join this conversation.