Review the active case: {view.scenarioTitle} · {view.modeLabel}. Opening records and review questions never configures or starts another scenario.
- {state.spec.scenario === 'approval-delay' &&
- {index === 0 && <>{!issue && <>
One need, one authorized commitment.
What outcome do we need, within which boundaries?
>}
Demand {state.spec.task.demand} · supplied stock {state.spec.task.stock}. One supplied task. The objective is supply continuity; this model records purchasing commitments, not deliveries.
>}
- {index === 1 && <>
Permission must still be valid at commitment.
Where can the operation depart from intent?
Inspect the handoff, permission and actual exception. HAZOP links departures to safeguards; runtime checks perform the modeled stop. Costs of delay and business benefits are unmeasured.
Stock and derived work
Observed stock {world.stock}. Shortage: {world.quantity ?? 'not derived yet'}. An order does not replenish stock.
{world.quote ? <>
{world.quote.quantity} units × {world.quote.unitPrice} = {world.quote.amount} simulated units; supplier {world.quote.supplierId}.
> :
No quote prepared yet.
}>}
- {index === 1 && <>
Simulated permission records
Finance-issued model grants, not real human approval. Validity is measured in logical time.
{world.approvals.length ?
{world.approvals.map(a => - · {a.consumedByOrderId ? `used by ${a.consumedByOrderId}` : state.logicalTime >= a.expiresAt ? 'expired' : 'not consumed'} · expires T{a.expiresAt}
)}
:
No simulated permission issued.
}>}
- {index === 2 && <>{issue !== 'analytical' && <>
{view.metrics.unsafeCommittedEffects ? (view.metrics.completed ? 'Confirmation includes an unsafe commitment.' : 'An unsafe commitment exists; confirmation is absent.') : state.status === 'outcome-unknown' ? 'An order exists; confirmation is missing.' : view.metrics.safeCompleted ? 'Confirmed with required model checks satisfied.' : 'No completed purchase to assess.'}
What recommendation does the evidence support?
Check matching, fresh authority at commitment and preserve exception history. Risk appetite and accountable people are not established here; further assessment remains a human decision.
>}{!selectedEvent &&
View evidence limitations}
Recorded commitments
{world.orders.length ?
{world.orders.map(order => - · {order.quantity} units · {order.amount} simulated units · intent {order.orderIntentId}
)}
:
No order recorded.
}
{view.metrics.completed ? 'Confirmation is supported; also inspect unsafe effects and required checks.' : 'Confirmation is not yet supported, even if an order exists.'} No delivery, payment or receipt is modeled.
>}
- {index === 1 && <>
Departures and consequences
{exceptions.length ?
{exceptions.map(e => - · {e.type} · {e.reasonCode ?? 'inspect modeled effects'}
)}
:
No exception event recorded; this does not establish completion or safety.
}
{view.controls.canRecover ? 'An expired approval stopped work. Inspect its record before using Request one approval refresh in the common controls below.' : view.controls.canReconcile ? 'A reply is missing. Inspect the existing order before using Reconcile existing order once below.' : 'No refresh/reconciliation action is currently available; original disabled reasons and outcomes remain authoritative.'}
>}
-
)}
-