Restaurant group RG-FB-001 operates 22 locations under the same name with a POS system. The platform uses a simulated POS adapter POS-ADT-FB-001 (scope menus.read, orders.write); actual POS API version and scopes must be confirmed with the POS vendor during integration. Menu version MV-FB-012 is active across all locations. Location LOC-FB-002 has 86'd item ITM-FB-025 (grilled salmon) at 18:30. The 22-location count meets the FDA covered chain threshold for the menu labeling rule.
System state at scenario start: POS adapter POS-ADT-FB-001 active. Menu version MV-FB-012 synced. Ordering platform version PV-FB-006 deployed.
Stale sold-out item sequence. Customer CUS-FB-015 loaded the menu for LOC-FB-002 at 18:28, before the 86. Their browser shows ITM-FB-025 as available. CUS-FB-015 adds ITM-FB-025 to cart at 18:32. At checkout, the platform re-validates item availability against the current POS state. ITM-FB-025 is now 86'd at LOC-FB-002. The platform removes ITM-FB-025 from the cart, displays a notice ("Grilled salmon is no longer available at this location") and allows the customer to continue with remaining items.
Held-out fixture HELD-FB-86: 1/1 target. Stale sold-out item blocked at checkout, customer notified, remaining cart preserved.
Allergen substitution with fail-closed handling. CUS-FB-015 selects ITM-FB-030 (pasta primavera) and requests modification MOD-FB-007 (substitute peanut sauce for standard sauce). The menu system checks verified ingredient and allergen status for MOD-FB-007. If allergen data for the modifier is verified, the platform flags MOD-FB-007 as an allergen-affecting modification (peanut) and displays: "This modification adds peanut. Please confirm you have reviewed allergen information." CUS-FB-015 must tap "I have reviewed allergen information." Customer acknowledgement alone does not suffice: the modification requires staff verification of the ingredient and allergen status and staff confirmation of acceptance before the order is accepted by the platform. Without staff confirmation, the order remains held and is not submitted to the kitchen. If staff cannot verify, the modification is denied with a manual fallback directing the customer to contact staff directly. If allergen data for MOD-FB-007 is unknown or unavailable, the platform rejects the substitution before submission and displays: "Allergen information for this modification is unavailable. Please contact staff." The platform never promises allergen absence.
HELD-FB-ALLERGEN-ACCEPTED: 1/1 target. Verified allergen flag displayed, customer acknowledgement captured, staff verified ingredient/allergen at the location and confirmed acceptance; order submitted to kitchen only after staff acceptance.
HELD-FB-ALLERGEN-PENDING: 1/1 target. Customer acknowledged but staff have not yet verified; modification stays pending, order not submitted to kitchen.
HELD-FB-ALLERGEN-DENIED: 1/1 target. Staff cannot verify ingredient/allergen status at the location; modification denied, customer directed to contact staff directly.
NEG-FB-ALLERGEN-UNKNOWN: 1/1 target. Allergen data for the modifier is unknown or unavailable; substitution rejected before submission, customer directed to staff.
Wrong-location cart mutation denied. CUS-FB-025 has an active cart at LOC-FB-003. CUS-FB-025 modifies the location parameter to LOC-FB-004. The platform does not silently redirect the existing cart to a different kitchen. Adding items or checking out requires an explicit location switch that clears the cart and rebuilds it from LOC-FB-004's current menu, modifiers and kitchen capacity. NEG-FB-WRONG-LOC: 1/1 target. Cross-location mutation of an existing cart denied; customer must explicitly switch and rebuild.
Stale modifier version. CUS-FB-028 loaded the menu with modifier set MS-FB-003 (version 5). Before checkout, the POS updates MS-FB-003 to version 6 (price change on an add-on). The platform re-validates modifiers at checkout against the current POS state. The updated price is displayed and CUS-FB-028 confirms before payment.
Timeout reconciliation (simulated contract). CUS-FB-015 taps "Place order" with stable typed key OP-FB-015-ORD-001 binding tenant RG-FB-001 + action order-create + location LOC-FB-002 + cart revision CV-FB-015-003 + menu version MV-FB-012 + customer session CS-FB-015 + payload hash PH-FB-015-001 to a durable outcome. The request times out after 10 seconds. Before any further action the platform rechecks: CUS-FB-015's current session is valid, tenant RG-FB-001 is active, location LOC-FB-002 is open, cart revision CV-FB-015-003 is current, menu version MV-FB-012 is current for LOC-FB-002, and POS-ADT-FB-001 reports active capability for orders.write with simulated same-key lookup support. Changed parameters on a retry with the same key are rejected; distinct orders use a new key.
HELD-FB-COMMITTED: 1/1 target. POS returns an authoritative result matching this tenant, location, cart revision, menu version, customer and payload; order ORD-FB-045 exists with captured payment. Adopted once; no second mutation.
HELD-FB-NONEXEC: 1/1 target. POS returns an explicit terminal NOT_EXECUTED for OP-FB-015-ORD-001 and the payment processor independently returns an explicit terminal prior-payment-operation outcome for the scoped payment key PAY-FB-015-001 confirming no authorisation, no capture and no pending state for that exact key, amount and currency. "No order found" or "no charge found" alone is not sufficient. If an uncaptured authorisation exists for the payment key and the simulated contract documents reuse, verify and reuse it; otherwise definitively resolve it before a fresh authorisation. The platform rechecks current session, tenant, location, cart and menu revision, item quantities, kitchen capacity and adapter capability before retry.
HELD-FB-INCONCLUSIVE: 1/1 target. Either authority returns empty lookup, generic 404, pending, timeout or is unreachable. No write, no void, no refund, no capture. Routes to shift manager MGR-FB-002 for reconciliation. While POS order state is unresolved, neither void nor refund is permitted. Uncaptured authorisation is voided only after authoritative confirmation of no committed order. Captured payment is refunded exactly once only with definitive evidence of no committed order from both POS and payment authorities. This contract is simulated; actual POS idempotency support must be confirmed with the vendor.
If the order is confirmed but the confirmation page fails to load, CUS-FB-015 sees an authenticated recovery page scoped to their session.
NEG-FB-DUPLICATE: 1/1 target. Zero duplicate orders and zero duplicate captures for OP-FB-015-ORD-001.
Location and time-based menu rules. CUS-FB-020 accesses LOC-FB-003 at 10:45 AM. The breakfast menu (active 06:00 to 11:00) is displayed. At 11:05, CUS-FB-020 refreshes the page. The lunch menu (active 11:00 to 15:00) replaces the breakfast menu. Items from the breakfast menu that are not on the lunch menu are no longer orderable.
Cancel and manual fallback. If POS-ADT-FB-001 is unavailable and no prior order for this session is unresolved, the platform displays "Online ordering is temporarily unavailable." If a timeout has occurred for this session's order, the fallback must not instruct the customer to place a new phone order for the same intent until shift manager MGR-FB-002 reconciles the pending operation. If an order was already committed, the fallback message includes "If you already placed an order, it has been received." While POS order state is unresolved, neither void nor refund is permitted.
Mutation gate. Every first and retried order submission rechecks: customer session valid, tenant RG-FB-001 active, location open, current cart revision matches, current menu version for the location matches, current item quantities available (not 86'd), kitchen capacity for the location not exceeded, POS-ADT-FB-001 reports active capability for orders.write, and payment processor reports applicable payment capability for the scoped payment key/amount/currency. A scope, connectivity, revision, quantity or capacity mismatch suspends the order and routes to the operations queue. This contract is simulated; actual POS and payment processor idempotency support must be confirmed with the vendor.
Rollback and restore. If the platform rolls back from PV-FB-006 to PV-FB-005, confirmed orders remain in POS-FB-001. 86 states persist in the POS regardless of platform version. Allergen confirmation records from the rolled-back period are preserved in the audit log.
Residual limits. Menu sync latency (seconds) means an item 86'd at the POS may briefly appear orderable on the platform. The checkout re-validation catches this but the brief display cannot be eliminated. Allergen information accuracy depends on the data entered in the menu system; the platform cannot verify ingredient-level accuracy independently.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.