Sharang Parnerkar and Claude Opus 5.5
4cf7efd516
fix(dashboard): read the docs URL at runtime
...
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Check (push) Skipped
CI / Check (pull_request) Successful in 6m31s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
DOCS_URL was read at build time, so the per-environment value in the
orca service files was ignored (staging and production share an
image). The server now reads it at startup (default /docs/) and hands
it to the sidebar with the auth info, like PORTAL_URL.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-25 09:47:06 +02:00
sharang
33eb46df76
feat(dashboard): a link back to the platform portal ( #365 )
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m1s
CI / Deploy MCP (push) Successful in 4m7s
CI / Deploy Dashboard (push) Successful in 5m34s
2026-09-24 12:16:55 +00:00
sharang
d7316dc403
fix(dashboard): the docs link opens the docs, not a 404 ( #364 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m46s
2026-09-24 12:07:58 +00:00
sharang
12b7e9b6b8
fix(dashboard): the demo targets dialog in German ( #363 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 2m59s
2026-09-24 10:15:46 +00:00
sharang
6d700589fe
ci: never drop a main run's deploy when merges land close together ( #362 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-24 09:40:32 +00:00
sharang and Claude Opus 5.5
492247625e
fix(dashboard): keep the dashboard out of search indexes ( #361 )
...
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Successful in 2m48s
CI / Deploy MCP (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-23 22:03:42 +00:00
sharang and Claude Opus 5.5
6a6587a074
feat(notify): mail the workspace when a scan finds something new ( #360 )
...
CI / Detect Changes (push) Successful in 4s
CI / Check (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 4m3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-23 20:47:26 +00:00
sharang
33b1b3127c
fix(control-map): umlauts in the CRA control titles ( #359 )
CI / Check (push) Canceled after 0s
CI / Detect Changes (push) Canceled after 0s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy MCP (push) Canceled after 0s
CI / Deploy Dashboard (push) Canceled after 0s
2026-09-23 20:39:49 +00:00
sharang
0441220330
fix(targets): the targets list counts findings live ( #358 )
CI / Check (push) Canceled after 0s
CI / Detect Changes (push) Canceled after 0s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy MCP (push) Canceled after 0s
2026-09-23 20:39:18 +00:00
sharang
9d23b2c8e0
feat(dashboard): breakpilot branding and the portal's ledger design ( #357 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Canceled after 0s
2026-09-23 20:02:33 +00:00
sharang
6752f54036
feat(retention): deleting a target or erasing a tenant removes its files ( #289 ) ( #355 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 53s
CI / Deploy Agent (push) Successful in 4m12s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 16:12:09 +00:00
sharang
0249aee44a
feat(compliance): per-target CRA Annex I status ( #283 ) ( #354 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m36s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m43s
2026-09-23 16:03:24 +00:00
sharang
48c113bc41
feat(mcp): contract tools for targets, scans, SBOM, CVEs and the control mapping ( #273 ) ( #353 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 54s
CI / Deploy Agent (push) Successful in 7m26s
CI / Deploy Dashboard (push) Successful in 5m42s
CI / Deploy MCP (push) Successful in 2m16s
2026-09-23 15:54:40 +00:00
sharang
88495f0c77
test(shutdown): wait for the handler to start instead of 100 ms ( #356 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m57s
CI / Deploy MCP (push) Successful in 2m42s
CI / Deploy Dashboard (push) Successful in 5m37s
2026-09-23 15:46:48 +00:00
sharang
c62b5c7ee2
feat(evidence): the evidence pack of a target, served as a ZIP ( #285 ) ( #352 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m2s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m18s
2026-09-23 15:37:46 +00:00
sharang
ff62bf4210
feat(sbom): CVEs for FreeRTOS, lwIP, Mbed TLS and wolfSSL in firmware trees ( #351 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m19s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 15:13:09 +00:00
sharang
32bdada66b
feat(findings): accepted risk, a who/when/why history, strict status values ( #350 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m6s
CI / Deploy Dashboard (push) Successful in 5m54s
CI / Deploy MCP (push) Successful in 2m49s
2026-09-23 15:03:26 +00:00
sharang
a5fb0aa947
feat(findings): add pentest and DAST findings by hand or from a report ( #337 ) ( #349 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m3s
CI / Deploy Agent (push) Successful in 7m41s
CI / Deploy Dashboard (push) Successful in 5m54s
CI / Deploy MCP (push) Successful in 1m57s
2026-09-23 14:46:34 +00:00
sharang
8f7a2afe4d
feat(dashboard): SBOM page in German and English ( #348 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m55s
CI / Deploy MCP (push) Skipped
2026-09-23 14:38:50 +00:00
sharang
338849d050
feat(git): check out submodules, each URL held to the remote's checks ( #347 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m29s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m54s
2026-09-23 14:29:05 +00:00
sharang
fe318c2b85
feat(targets): git tokens for private repositories, kept across edits ( #303 , #304 ) ( #346 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m47s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m53s
2026-09-23 14:19:19 +00:00
sharang
8386032565
feat(dashboard): findings show where and what, and saves wait ( #345 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m54s
2026-09-23 14:11:32 +00:00
sharang
efb2c8a1ea
feat(dashboard): onboarding starts the first scan and shows its progress ( #344 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m59s
2026-09-23 14:03:45 +00:00
sharang
52359d1786
feat(dashboard): scan status and history on the targets page ( #343 )
CI / Deploy Agent (push) Successful in 7m11s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m37s
2026-09-23 13:55:01 +00:00
sharang
5efc267075
feat(dashboard): German by default, English switchable ( #336 ) ( #342 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 10m0s
2026-09-23 13:46:15 +00:00
sharang
dae80043e6
fix(firmware): produce the firmware SBOM when detection finds firmware ( #341 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 13s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m35s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 13:37:12 +00:00
sharang
0e0dfadf56
feat(ingest): unpack tar and tar.gz source archives ( #335 ) ( #340 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m4s
CI / Deploy Dashboard (push) Successful in 4m33s
CI / Deploy MCP (push) Successful in 2m10s
2026-09-23 13:08:06 +00:00
sharang
fbf3a7cf29
feat(sast): C/C++ SAST for microcontroller firmware ( #334 ) ( #339 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m55s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 13:07:50 +00:00
sharang
c6d2d07999
fix(sbom): stop resolving tenant manifests in shared deployments ( #330 ) ( #333 )
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 57s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m48s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m26s
2026-09-23 08:59:35 +00:00
sharang
44a48957c1
feat(ci): JavaScript/TypeScript and Python fixtures for the nightly ( #310 ) ( #331 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 3m53s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 08:15:00 +00:00
sharang
fe2414a3c0
feat(scans): scan uploaded source archives like repositories ( #325 ) ( #329 )
CI / Deploy Agent (push) Successful in 3m53s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 07:22:05 +00:00
sharang
f90bfcc5c6
fix(scans): stop offering scans nothing runs, and record them ( #319 ) ( #328 )
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 53s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m43s
CI / Deploy MCP (push) Successful in 3m39s
CI / Deploy Dashboard (push) Successful in 5m21s
2026-09-22 21:05:31 +00:00
sharang
27e8c866ba
fix(sbom): firmware SBOMs list what the manifests declare ( #317 ) ( #327 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 4m31s
CI / Deploy Dashboard (push) Successful in 2m47s
CI / Deploy MCP (push) Successful in 1m50s
2026-09-22 20:34:06 +00:00
sharang
42c7b09151
feat(ci): firmware and RTOS fixtures for the nightly scan regression ( #313 ) ( #326 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 3m59s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-22 05:36:10 +00:00
sharang
d4cbdc822a
feat(ci): PLC fixtures for the nightly scan regression ( #314 ) ( #324 )
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m50s
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-21 21:48:42 +00:00
sharang
af9c640bc1
feat(ci): nightly scan regression against the built image ( #188 ) ( #323 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m0s
CI / Deploy MCP (push) Successful in 3m35s
CI / Deploy Dashboard (push) Successful in 5m18s
2026-09-21 21:21:20 +00:00
sharang
40c7557349
feat(security): pin resolved addresses and check every redirect hop ( #294 ) ( #322 )
CI / Deploy Docs (push) Successful in 54s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m41s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m20s
2026-09-21 20:26:43 +00:00
sharang
0444f18a8e
feat(platform): harden the container images ( #261 ) ( #307 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 9m12s
CI / Deploy MCP (push) Successful in 4m0s
CI / Deploy Dashboard (push) Successful in 6m25s
2026-09-21 17:28:23 +00:00
sharang
616732b3a3
feat(security): harden dashboard sessions, fix the login open redirect ( #260 ) ( #306 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m2s
CI / Deploy MCP (push) Successful in 3m49s
CI / Deploy Dashboard (push) Successful in 5m38s
2026-09-21 16:42:42 +00:00
sharang
6611c5b691
feat(security): seal tenant credentials at rest, never return them ( #260 ) ( #302 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 7m6s
CI / Deploy MCP (push) Successful in 3m52s
CI / Deploy Dashboard (push) Successful in 5m38s
2026-09-21 16:28:54 +00:00
sharang
85959907b7
feat(platform): graceful shutdown and restart recovery ( #259 ) ( #301 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 6m53s
CI / Deploy MCP (push) Successful in 3m51s
CI / Deploy Dashboard (push) Successful in 5m35s
2026-09-21 15:35:54 +00:00
sharang
bc4553d576
chore: replace every remaining "tramiton" with Firmwerk ( #300 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy Agent (push) Successful in 6m50s
CI / Deploy Dashboard (push) Successful in 5m10s
CI / Deploy MCP (push) Successful in 2m25s
2026-09-21 11:38:35 +00:00
sharang
592f947de7
feat(security): stream uploads end to end, bound request bodies ( #258 ) ( #299 )
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 8m31s
CI / Deploy Dashboard (push) Successful in 6m46s
CI / Deploy MCP (push) Successful in 2m36s
2026-09-21 11:37:18 +00:00
sharang
55da128a3c
feat(security): bound memory on queries, archives and concurrent scans ( #258 ) ( #297 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m57s
CI / Deploy MCP (push) Successful in 3m52s
CI / Deploy Dashboard (push) Successful in 5m33s
2026-09-21 11:01:54 +00:00
sharang
06d2f458e6
feat(security): stop executing code from scanned repositories ( #257 ) ( #296 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 4m54s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy MCP (push) Successful in 2m56s
CI / Deploy Dashboard (push) Successful in 3m57s
2026-09-21 10:27:59 +00:00
sharang
cc3a9c7130
feat(platform): isolate tenants on disk, in the runner API and on webhooks ( #255 ) ( #295 )
CI / Deploy Docs (push) Successful in 1m10s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m52s
CI / Deploy Dashboard (push) Successful in 5m32s
CI / Deploy MCP (push) Successful in 3m49s
2026-09-21 06:53:36 +00:00
sharang
eef3ccdf43
feat(security): refuse scans aimed at our own network ( #256 ) ( #293 )
CI / Detect Changes (push) Successful in 3s
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m23s
CI / Deploy Agent (push) Successful in 11m3s
CI / Deploy MCP (push) Successful in 3m12s
CI / Deploy Dashboard (push) Successful in 11m34s
2026-09-20 21:59:50 +00:00
sharang
aa64e2b25a
feat(platform): fail closed when auth configuration is missing ( #254 ) ( #292 )
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy MCP (push) Canceled after 0s
2026-09-20 21:37:00 +00:00
sharang and Sharang Parnerkar
6557f03d7c
feat(dashboard): add demo targets, fix MCP status, source-only UI ( #252 )
...
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Successful in 1m6s
CI / Check (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m0s
Demonstration plan, phase D3 (dashboard side). Pairs with #251 , which adds the agent endpoints and the `source_only` feature flag.
**Add demo targets.** The Targets page (empty state) and the onboarding wizard now offer a button that lists what the agent would create, seeds it, and reports per target `created` / `already there` / `failed` with the error inline. That replaces "onboard something by hand before you can see anything" for a trial user; the curl script stays for ops.
**MCP status.** The card never turned *running* on staging: the health URL was built by appending `/health` to an endpoint that already ends in `/mcp`, and the ingress routes `/mcp/*` to a server that serves `/health` at its own root. The probe now tries `…/mcp/health` and then `…/health`, and `MCP_HEALTH_URL` overrides it outright for the seeded cards (staging: `https://pruefwerk-stage.breakpilot.com/mcp/health `). Unit-tested through `mcp_health_url_candidates`.
**Source-only mode.** The dashboard reads the agent's `features` list from the public version handshake (cached, and an older agent without the key degrades to "everything enabled"). With `source_only` it hides dynamic application testing, pentest, the ICS probe and the PLC runtime behind one short note rather than offering actions that fail at the tool, and a stage the pipeline reports as skipped for that reason renders neutral instead of red.
**Control column.** The findings table shows the control-mapping column only when at least one finding in view carries `control_refs`, so an environment without a control catalog does not show a column of em dashes.
Docs: getting-started gains the demo-target entry point and a section on static-analysis-only environments; the MCP feature page documents the status probe and `MCP_HEALTH_URL`, which is also in `.env.example`.
Verified locally: `cargo fmt --all --check`, `cargo clippy -p compliance-dashboard --features server --no-default-features`, both dashboard test suites (`server` and `web` features) green.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com >
Reviewed-on: #252
2026-09-14 08:24:43 +00:00
sharang and Sharang Parnerkar
d9850bef90
feat(demo): seed curated targets from the agent, source-only mode ( #251 )
...
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m58s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy MCP (push) Successful in 3m53s
CI / Deploy Dashboard (push) Successful in 5m34s
Demonstration plan, phase D3 (agent side). Two things blocked a self-serve demo: a fresh trial tenant landed on an empty targets page, and staging tried to run DAST, pentest, the ICS probe and the soft-PLC runtime that are not deployed there, so those stages surfaced as tool errors.
## Seeding
| Request | Meaning |
|---|---|
| `GET /api/v1/targets/demo-seed` | what would be created: `key`, display `name`, `kind`, `description`, `source_only` |
| `POST /api/v1/targets/demo-seed` | body `{"names":[…],"rescan":false}`, empty `names` seeds all; `202` with one row per target, `status` = `queued` \| `exists` \| `failed` |
| `POST /api/v1/platform/tenants/demo/reset` | now takes `{"seed": true}` and reseeds with a service token, for the nightly sales-demo reset |
Seeding runs through a new shared target lifecycle (`compliance-agent/src/targets.rs`: create → store upload → attach → detect), which the onboarding handlers now call as well — so a seeded target is an ordinary target with the same records and the same `target.added` usage events, and there is no HTTP self-call. It is idempotent by display name: the seeder owns the `Demo · ` prefix, so a second call finds its own targets. `scan_id` is always `null` in the response because the scan run is created inside the background pipeline.
## Source-only set
The manifest is now source-only: `plc-pump-station`, `plc-conveyor-line`, `git-cra-vuln-demo`, `firmware-zephyr-example`. The Juice Shop target needed a running instance for DAST and pentest and is removed, along with `DEMO_WEB_URL`. Everything ships inside the agent binary (manifest plus the PLC upload fixtures), so a deployed agent seeds without the repo.
## `PW_FEATURES=source_only`
A static-analysis-only deployment: DAST, the ICS probe and the ephemeral PLC runtime record a `skipped_stages` entry on the scan run (`{stage, status:"skipped", reason:"feature disabled"}`) instead of failing; starting a DAST run or a pentest session answers `409`; the flag list is published on the public `/api/v1/platform/version` handshake so the dashboard reads the set the agent enforces rather than its own copy of the env. Unknown flags are kept and reported, so a dashboard-only flag needs no agent release.
Docs and the ops script are updated: `scripts/seed-demo-targets.sh --api` hands the job to the agent, the client-side path stays for `--reset` and for agents older than the checkout.
Verified locally: `cargo fmt --all --check`, `cargo clippy -p compliance-agent -- -D warnings`, `cargo clippy -p compliance-core -- -D warnings`, `cargo test -p compliance-core -p compliance-agent -p werkbank-exec -p control-map --lib` (414 tests). `compliance-agent/tests/demo_seed.rs` needs Mongo and runs outside CI like the other integration tests.
Pairs with the dashboard's "Add demo targets" button and with orca-platform setting `PW_FEATURES=source_only` on the staging agent.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com >
Reviewed-on: #251
2026-09-14 08:24:33 +00:00