01 / 03
Checkout and fulfilment
- Problem
- One cart can contain items with different shipping eligibility, warehouses and delivery modes.
- Decision
- Explicit delivery grouping at checkout plus deterministic allocation, so an order, its shipments, vouchers and refunds always reconcile.
- Outcome
- Consistent order, shipment, voucher and refund accounting across asynchronous steps.
- Cart
- Delivery grouping
- Allocation
- Reconciled records: Order, Shipments, Vouchers, Refunds
02 / 03
Reliable money workflows
- Decision
- Outbox-backed events and idempotent handlers, so every step is retriable and audited.
- Outcome
- Money movements stay consistent under retries and partial failures.
- Payment
- Activation: Stock, Promotion, Escrow
- Settlement
- Payout
03 / 03
Operations and recovery
- Decision
- An operations control plane with permissioned, guarded remediation rather than ad-hoc database fixes.
- Outcome
- Failures become visible, owned cases instead of silent data drift.
- Automatic recovery
- Retry exhausted?
- Operations case
- Evidence + guarded action
- Verified recovery