feat(supply-chain): the Lieferkette draws a supplier's release (#1028) #1070

Merged
sharang merged 1 commits from feat/supply-chain-releases into main 2026-11-20 10:50:02 +00:00
Owner

What

The Lieferkette now draws a supplier's SBOM release (#1028) the way the approved board ("Lieferkette", mockup RL3h) does:

  • Release (accepted, live): an indigo line like the invite link, with the version and when it came ("1.5.0 vor 2 Min.").
  • Release ended (the supplier ended it, or the connection ended): a dotted line that names the version that stays ("beendet, 2.0.4 bleibt").

Agent: GET /api/v1/supply-chain gains the delivery kinds release and release_ended. They're read from the workspace's offers: accepted ones, and ended ones that delivered a version. If several apply, an accepted release wins over an invite link, and either wins over a release that ended. An ended release that never delivered stays missing.

Dashboard:

  • the new kinds on the edge and its chip;
  • the legend reads "Freigabe oder Link: kommt von selbst", and shows "Freigabe beendet" only when the graph has such a line;
  • the toolbar's two buttons now wrap together, because the longer legend split them at 1440 px;
  • the "add the first supplier" ghost box no longer shows when a release already delivers.

Docs: guide/lieferkette.md describes both lines.

Found in today's stage test: an accepted release was drawn as the grey upload line.

Departures from the board

  • Ended line: dotted, not dashed. Dashed already means "noch keine SBOM" (no SBOM yet), which the board doesn't have.
  • Legend: the live entry covers both the release and the invite link, since they look the same. The board says only "Freigabe".
  • Supplier panel: not changed. The board's supplier subtitle ("Freigabe, live") and "Verbindung ansehen" link are not built.

Tests

  • Agent unit: a_release_delivers_by_itself_and_leaves_its_version_when_it_ends.
  • Integration (MongoDB, tests/connections.rs): after acceptance the customer's supply chain shows release with 1.5.0; after the supplier ends it, release_ended with 1.5.0. All 11 tests pass.
  • Dashboard: a_release_is_drawn_live_and_names_the_version_it_leaves; all 230 tests pass.
  • Clippy (1.94): agent, and dashboard with both server and web features, are clean.
  • Local run: a supplier agent and a customer agent with real offers, one accepted and one ended. Checked in German light mode, English dark mode, and at phone width (no horizontal scroll).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

## What The Lieferkette now draws a supplier's SBOM release (#1028) the way the approved board ("Lieferkette", mockup RL3h) does: - **Release** (accepted, live): an indigo line like the invite link, with the version and when it came ("1.5.0 vor 2 Min."). - **Release ended** (the supplier ended it, or the connection ended): a dotted line that names the version that stays ("beendet, 2.0.4 bleibt"). **Agent:** `GET /api/v1/supply-chain` gains the delivery kinds `release` and `release_ended`. They're read from the workspace's offers: accepted ones, and ended ones that delivered a version. If several apply, an accepted release wins over an invite link, and either wins over a release that ended. An ended release that never delivered stays `missing`. **Dashboard:** - the new kinds on the edge and its chip; - the legend reads "Freigabe oder Link: kommt von selbst", and shows "Freigabe beendet" only when the graph has such a line; - the toolbar's two buttons now wrap together, because the longer legend split them at 1440 px; - the "add the first supplier" ghost box no longer shows when a release already delivers. **Docs:** `guide/lieferkette.md` describes both lines. Found in today's stage test: an accepted release was drawn as the grey upload line. ## Departures from the board - **Ended line:** dotted, not dashed. Dashed already means "noch keine SBOM" (no SBOM yet), which the board doesn't have. - **Legend:** the live entry covers both the release and the invite link, since they look the same. The board says only "Freigabe". - **Supplier panel:** not changed. The board's supplier subtitle ("Freigabe, live") and "Verbindung ansehen" link are not built. ## Tests - **Agent unit:** `a_release_delivers_by_itself_and_leaves_its_version_when_it_ends`. - **Integration (MongoDB, `tests/connections.rs`):** after acceptance the customer's supply chain shows `release` with 1.5.0; after the supplier ends it, `release_ended` with 1.5.0. All 11 tests pass. - **Dashboard:** `a_release_is_drawn_live_and_names_the_version_it_leaves`; all 230 tests pass. - **Clippy (1.94):** agent, and dashboard with both server and web features, are clean. - **Local run:** a supplier agent and a customer agent with real offers, one accepted and one ended. Checked in German light mode, English dark mode, and at phone width (no horizontal scroll). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang added 1 commit 2026-11-20 10:09:35 +00:00
feat(supply-chain): the Lieferkette draws a supplier's release (#1028)
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 6m13s
CI / Check (pull_request) Successful in 22m48s
283d9b58e6
A component that a connected supplier's release delivers into is now
drawn as such: the edge is live (indigo), labelled with the version and
when it came, like an invite link. When the release ends (the supplier
ends it, or the connection ends) the edge turns dotted and says which
version stays ("beendet, 2.0.4 bleibt"), as the approved board shows.

The agent's GET /api/v1/supply-chain gains the delivery kinds `release`
and `release_ended`, read from the workspace's offers: an accepted
release before an invite link, either before a release that ended.
The legend reads "Freigabe oder Link: kommt von selbst" and names an
ended release only where the graph has one; its two actions now wrap
together. The guide describes both lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang merged commit f59dae4a66 into main 2026-11-20 10:50:02 +00:00
sharang deleted branch feat/supply-chain-releases 2026-11-20 10:50:02 +00:00
Sign in to join this conversation.