Workflow

Step 1

Define scenario

Create a draft below; name and JSON editing follow in later slices.

Step 2

Apply shocks

Demand, lead time, capacity edits (stub).

Step 3

Review deltas

KPI diff vs baseline (stub).

Twin scenarios

Scenario workspace

Drafts are tenant-scoped rows from the twin API. Open links target the detail route planned in Slice 40 (404 until that page exists).

Compare drafts (preview shell)

Scenarios

Drafts

Rows load from GET /api/supply-chain-twin/scenarios (keyset pages of 50; Load more uses the API cursor). Create uses the existing POST draft endpoint; the list refreshes after a successful create.

Loading scenario drafts...

Fetching the latest tenant drafts from the Twin API.