Tracking epic for the approved plan "Prüfwerk → Production MVP" (v1, 2026-09-19), decisions locked 2026-09-19/20.
Goal. Put a first paying pilot on pruefwerk.breakpilot.com, safe for multiple tenants, that meets platform contract 2.0 and delivers the SKU's evidence promise for CODESYS + Siemens TIA + Firmwerk firmware.
MVP definition
Topic
Decision
Scan scope
Static SW + PLC: git SAST/secrets, SBOM + CVE, PLC lint + archive SBOM, CRA control mapping. Prod runs PW_FEATURES=source_only: no DAST, pentest, PLC runtime or Werkbank jobs.
Pilot inputs
CODESYS (.projectarchive/PLCopen/ST) + Siemens TIA via Openness exports (SCL/DB/UDT + SimaticML XML + AML hardware export) + firmware as an imported Firmwerk bundle (CycloneDX/SPDX + OpenVEX + attestation).
Evidence
Both: Prüfwerk ships its own evidence pack + compliance view (meets the SKU on its own), and keeps the OSCAL/MCP loop to breakpilot-compliance working for conformity docs. That loop does not block go-live, because dsms/M-MIG-9 is parked.
UI
The Dioxus dashboard stays as the contract-2.0 standalone UI. #189 is parked until after the MVP.
Untrusted code
Off in prod. clippy, repo eslint, package-manager installs and the Nix build are disabled. Firmware builds belong to Firmwerk. They return later as sandboxed Werkbank jobs.
Timeline
Earliest possible. The scope below is the minimum; everything else goes to R1/R2.
Staging-first promotion (decided 2026-09-20). Every workstream lands on pruefwerk-stage and soaks there; the production node, DNS, realm and service file follow once staging carries the full MVP. The go-live date moves with that gate, not the other way round. Prod VM sizing is deferred until then.
Out of MVP
DAST / pentest / ICS probe / PLC runtime / Werkbank cloud runner (CRA-WBK SKUs), Nuclei, ZAP, VEX generation, CSAF ingest, IEC 62443 catalog / EMB3D, machine BOM tree and asset hierarchy, risk assessment / SL, CVD and Art. 14, mobile, Yocto / QEMU / FirmwareStatic, the Next.js UI. These live in the milestones R1 · Dynamic & OT depth and R2 · Moat.
Children
MVP-0 · Safety baseline (P0, first)
#254 · 0.1 Fail-closed configuration in production
#255 · 0.2 Tenant isolation: per-tenant clones, no file:// or local-path ingest, artifact + runner scoping
#256 · 0.3 SSRF guard (net_guard) for git, LiveUrl, DAST and ICS
Per PR: cargo fmt --all --check, clippy with the exact CI flags, cargo test -j8, Mongo integration tests.
Security: net_guard tests, cross-tenant HTTP/MCP/runner negative tests, startup failure per missing prod env var, upload and zip-bomb limits, graceful shutdown leaves no running runs.
Pilot formats: golden baselines for the CODESYS archive, TIA SCL + SimaticML + AML and a Firmwerk bundle, run nightly (#188).
Stage E2E: tests/stage/0*.sh plus new scripts for quota 429, ladder on webhook/MCP, export ZIP, DELETE data confirm, evidence-pack contents and manifest hashes, audit entries, usage outbox across an agent restart.
Go-live: §13 checklist ticked with evidence links, a restore drill, Gatus green for 24 h, a timed pilot dry run.
Tracking epic for the approved plan **"Prüfwerk → Production MVP" (v1, 2026-09-19)**, decisions locked 2026-09-19/20.
**Goal.** Put a first paying pilot on `pruefwerk.breakpilot.com`, safe for multiple tenants, that meets platform contract 2.0 and delivers the SKU's evidence promise for CODESYS + Siemens TIA + Firmwerk firmware.
## MVP definition
| Topic | Decision |
|---|---|
| Scan scope | **Static SW + PLC**: git SAST/secrets, SBOM + CVE, PLC lint + archive SBOM, CRA control mapping. Prod runs `PW_FEATURES=source_only`: no DAST, pentest, PLC runtime or Werkbank jobs. |
| Pilot inputs | **CODESYS** (`.projectarchive`/PLCopen/ST) + **Siemens TIA via Openness exports** (SCL/DB/UDT + SimaticML XML + AML hardware export) + **firmware as an imported Firmwerk bundle** (CycloneDX/SPDX + OpenVEX + attestation). |
| Evidence | **Both**: Prüfwerk ships its own evidence pack + compliance view (meets the SKU on its own), **and** keeps the OSCAL/MCP loop to breakpilot-compliance working for conformity docs. That loop does **not** block go-live, because dsms/M-MIG-9 is parked. |
| UI | The Dioxus dashboard stays as the contract-2.0 *standalone* UI. **#189 is parked** until after the MVP. |
| Untrusted code | **Off in prod.** clippy, repo eslint, package-manager installs and the Nix build are disabled. Firmware builds belong to Firmwerk. They return later as sandboxed Werkbank jobs. |
| Timeline | **Earliest possible.** The scope below is the minimum; everything else goes to R1/R2. |
**Staging-first promotion (decided 2026-09-20).** Every workstream lands on `pruefwerk-stage` and soaks there; the production node, DNS, realm and service file follow once staging carries the full MVP. The go-live date moves with that gate, not the other way round. Prod VM sizing is deferred until then.
## Out of MVP
DAST / pentest / ICS probe / PLC runtime / Werkbank cloud runner (CRA-WBK SKUs), Nuclei, ZAP, VEX *generation*, CSAF ingest, IEC 62443 catalog / EMB3D, machine BOM tree and asset hierarchy, risk assessment / SL, CVD and Art. 14, mobile, Yocto / QEMU / FirmwareStatic, the Next.js UI. These live in the milestones **R1 · Dynamic & OT depth** and **R2 · Moat**.
## Children
### MVP-0 · Safety baseline (P0, first)
- [ ] #254 · 0.1 Fail-closed configuration in production
- [ ] #255 · 0.2 Tenant isolation: per-tenant clones, no `file://` or local-path ingest, artifact + runner scoping
- [ ] #256 · 0.3 SSRF guard (`net_guard`) for git, LiveUrl, DAST and ICS
- [ ] #257 · 0.4 Stop executing untrusted customer code (clippy, repo eslint, package managers, Nix)
- [ ] #258 · 0.5 Resource control: scan semaphore, streamed uploads, zip-bomb caps, query limits
- [ ] #259 · 0.6 Graceful shutdown, stale scan recovery, configurable webhook port
- [ ] #260 · 0.7 Secrets at rest + dashboard session hardening
- [ ] #261 · 0.8 Container hardening: non-root, healthcheck, pinned tools, drop Nix
- [ ] #294 · 0.9 Pin resolved addresses + validate redirect hops (DNS rebinding; follow-up to #256)
### MVP-1 · Platform contract 2.0 completion (P0)
- [ ] #262 · 1.1 Health/version probes with real checks + build metadata
- [ ] #263 · 1.2 Enforce entitlement limits, trial 429, paid overage usage
- [ ] #264 · 1.3 Ladder enforcement on webhooks, MCP and the runner API
- [ ] #265 · 1.4 Tenant lifecycle endpoints that take effect (provision/suspend/export/delete)
- [ ] #266 · 1.5 Usage outbox (batched, retried, demo tenants skipped)
- [ ] #267 · 1.6 Audit events to the registry
- [ ] #268 · 1.7 `/metrics`, JSON logs with `tenant_id`, OTel fixes
- [ ] #269 · 1.8 `openapi.yaml` + `product.manifest.yaml` + registry registration
- [ ] #270 · 1.9 CORS/CSP/security headers + preflight ordering
- [ ] #271 · 1.10 Dashboard tenant identity, back-to-portal, ladder banner, error handling
- [ ] #272 · 1.11 Minimal RBAC from `org_roles`
- [ ] #273 · 1.12 MCP contract tools, token expiry, per-call audit + tests
- [ ] #274 · 1.13 Cross-tenant negative tests in CI
### MVP-2 · Pilot inputs (P0)
- [ ] #282 · Epic · Siemens TIA support via Openness exports
- [ ] #275 · 2.1 SCL dialect in the PLC parser
- [ ] #276 · 2.2 SimaticML block XML (SCL/LAD/FBD) → ST
- [ ] #277 · 2.3 Siemens rules + unbounded WHILE/FOR rule
- [ ] #278 · 2.4 S7 hardware SBOM + vendor CPE CVE matching
- [ ] #279 · 2.5 TIA onboarding, docs, synthetic fixtures + golden baseline
- [ ] #280 · 2.6 Firmwerk evidence import (CycloneDX/SPDX + OpenVEX + attestation, CVE matching)
- [ ] #281 · 2.7 PLC findings get CRA control refs
### MVP-3 · Evidence & compliance view (P0)
- [ ] #283 · 3.1 Compliance view per target
- [ ] #284 · 3.2 Scan-run view + operator-guided per-stage re-run
- [ ] #285 · 3.3 Evidence pack ZIP + monthly job
- [ ] #286 · 3.4 Dead-code cleanup (ControlLinker, llm/descriptions.rs, llm/fixes.rs, chromiumoxide)
### MVP-4 · Release engineering & ops
- [ ] #287 · 4.1 CI gates deploys on tests + trivy + cosign `:sha` + build args
- [ ] #288 · 4.2 Release flow (tag → `:prod-<ver>` → prod webhook)
- [ ] #289 · 4.3 Data retention / cleanup of clones, blobs and work dirs
- [ ] #290 · 4.4 Docs contract (runbook, data model + GDPR, API reference, integration guide)
### MVP-5 · Production go-live
- [ ] #291 · 5.1 Production promotion (node, realm, DNS, service file, backups, security gate)
## Existing issues folded in
#62 #63 #64 #65 #66 #67 #68 #71 #108 #109 (re-scoped as the evidence pack) #117 (re-scoped as the per-target compliance/scan view) #188 #190 (minimal) #191 #236 (loop rule).
## Verification (from the plan)
- Per PR: `cargo fmt --all --check`, clippy with the exact CI flags, `cargo test -j8`, Mongo integration tests.
- Security: `net_guard` tests, cross-tenant HTTP/MCP/runner negative tests, startup failure per missing prod env var, upload and zip-bomb limits, graceful shutdown leaves no `running` runs.
- Pilot formats: golden baselines for the CODESYS archive, TIA SCL + SimaticML + AML and a Firmwerk bundle, run nightly (#188).
- Stage E2E: `tests/stage/0*.sh` plus new scripts for quota 429, ladder on webhook/MCP, export ZIP, `DELETE data` confirm, evidence-pack contents and manifest hashes, audit entries, usage outbox across an agent restart.
- Go-live: §13 checklist ticked with evidence links, a restore drill, Gatus green for 24 h, a timed pilot dry run.
sharang
added this to the Production MVP milestone 2026-09-20 20:15:47 +00:00
New sub-epic #309 Nightly scan coverage (agreed 2026-09-21). It supersedes the plan's MVP-4 nightly item by expanding #188, and moves it forward: it starts after the last MVP-0 item (#294) and runs in parallel with MVP-1. Fixture groups #310–#316; bugs it surfaced: #317 (Zephyr SBOM gaps), #318 (DAST dig, R1), #319 (advertised but unimplemented scan types).
New sub-epic **#309 Nightly scan coverage** (agreed 2026-09-21). It supersedes the plan's MVP-4 nightly item by expanding #188, and moves it forward: it starts after the last MVP-0 item (#294) and runs in parallel with MVP-1. Fixture groups #310–#316; bugs it surfaced: #317 (Zephyr SBOM gaps), #318 (DAST `dig`, R1), #319 (advertised but unimplemented scan types).
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.
Tracking epic for the approved plan "Prüfwerk → Production MVP" (v1, 2026-09-19), decisions locked 2026-09-19/20.
Goal. Put a first paying pilot on
pruefwerk.breakpilot.com, safe for multiple tenants, that meets platform contract 2.0 and delivers the SKU's evidence promise for CODESYS + Siemens TIA + Firmwerk firmware.MVP definition
PW_FEATURES=source_only: no DAST, pentest, PLC runtime or Werkbank jobs..projectarchive/PLCopen/ST) + Siemens TIA via Openness exports (SCL/DB/UDT + SimaticML XML + AML hardware export) + firmware as an imported Firmwerk bundle (CycloneDX/SPDX + OpenVEX + attestation).Staging-first promotion (decided 2026-09-20). Every workstream lands on
pruefwerk-stageand soaks there; the production node, DNS, realm and service file follow once staging carries the full MVP. The go-live date moves with that gate, not the other way round. Prod VM sizing is deferred until then.Out of MVP
DAST / pentest / ICS probe / PLC runtime / Werkbank cloud runner (CRA-WBK SKUs), Nuclei, ZAP, VEX generation, CSAF ingest, IEC 62443 catalog / EMB3D, machine BOM tree and asset hierarchy, risk assessment / SL, CVD and Art. 14, mobile, Yocto / QEMU / FirmwareStatic, the Next.js UI. These live in the milestones R1 · Dynamic & OT depth and R2 · Moat.
Children
MVP-0 · Safety baseline (P0, first)
file://or local-path ingest, artifact + runner scopingnet_guard) for git, LiveUrl, DAST and ICSMVP-1 · Platform contract 2.0 completion (P0)
/metrics, JSON logs withtenant_id, OTel fixesopenapi.yaml+product.manifest.yaml+ registry registrationorg_rolesMVP-2 · Pilot inputs (P0)
MVP-3 · Evidence & compliance view (P0)
MVP-4 · Release engineering & ops
:sha+ build args:prod-<ver>→ prod webhook)MVP-5 · Production go-live
Existing issues folded in
#62 #63 #64 #65 #66 #67 #68 #71 #108 #109 (re-scoped as the evidence pack) #117 (re-scoped as the per-target compliance/scan view) #188 #190 (minimal) #191 #236 (loop rule).
Verification (from the plan)
cargo fmt --all --check, clippy with the exact CI flags,cargo test -j8, Mongo integration tests.net_guardtests, cross-tenant HTTP/MCP/runner negative tests, startup failure per missing prod env var, upload and zip-bomb limits, graceful shutdown leaves norunningruns.tests/stage/0*.shplus new scripts for quota 429, ladder on webhook/MCP, export ZIP,DELETE dataconfirm, evidence-pack contents and manifest hashes, audit entries, usage outbox across an agent restart.New sub-epic #309 Nightly scan coverage (agreed 2026-09-21). It supersedes the plan's MVP-4 nightly item by expanding #188, and moves it forward: it starts after the last MVP-0 item (#294) and runs in parallel with MVP-1. Fixture groups #310–#316; bugs it surfaced: #317 (Zephyr SBOM gaps), #318 (DAST
dig, R1), #319 (advertised but unimplemented scan types).