Workflow

Compare scenario drafts

Read-only side-by-side view of two tenant drafts. Use left and right query parameters with the same lowercase ids shown in your drafts list (format matches GET /api/supply-chain-twin/scenarios/[id]). No solver or KPI engine.

After db:seed / twin demo seed, pick any two draft rows from the scenarios list: empty bodies still render, and the diff panel highlights top-level keys plus depth-2 paths under changed objects (capped list with overflow hint) once you diverge the JSON (for example via PATCH on each draft).

Share this compare view with the current URL parameters.

Left draft

Add a left query parameter with a draft id from your scenarios list.

Right draft

Add a right query parameter with a draft id from your scenarios list.