Files
pruefwerk/compliance-agent
Sharang ParnerkarandClaude Opus 5.5 a2f768d99c
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 / Agent integration (pull_request) Successful in 4m57s
CI / Check (pull_request) Canceled after 5m28s
feat(releases): release a target to a connected workspace and publish versions (#1028)
The supplier's side of phase 4, step 4 of the plan on #1028:

- `POST /api/v1/targets/{id}/releases` releases a target over one of the
  workspace's active connections (#1062), once per connection at a time
  (409 `released`); an unknown or inactive connection is 422
  (`unknown_connection`); `…/releases/{release}/end` ends it (idempotent);
- `POST /api/v1/targets/{id}/versions` publishes a version: the target's
  components now as the stripped CycloneDX (`released_cyclonedx`, #1049),
  the workspace's display name as supplier and the label as version; labels
  are unique per target (409), a target without components is 422; the
  document is kept in the target's upload folder with its SHA-256, so an
  unchanged version is never delivered twice;
- `GET …/versions/preview?label=` builds it without storing it;
- `GET /api/v1/targets/{id}/releases` lists releases (active first) and
  versions;
- releasing, ending and publishing are audited; deleting a target deletes
  its releases and versions (their files with its upload folder).

Delivering versions to the customers who accept comes with the customer
side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-19 13:06:22 +01:00
..