The Lieferkette page (#1050) keeps where the customer put each box, per
workspace:
- `GET /api/v1/supply-chain/layout`: the placed boxes by node key (empty
before the first save);
- `PUT`: replaces the whole arrangement (the last save wins), each key
trimmed and kept once with its last position; 422 for more than 5000
boxes, an empty or overlong key, or a box beyond 100000 px;
- `DELETE`: resets to the computed columns.
One document in the tenant database (`supply_chain_layout`), so export and
erasure cover it; positions are a list, not a map by key, as a supplier name
may hold a dot. Saving and resetting are writes, so read-only roles are
refused by the role gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9