A hypothetical regional restaurant chain builds a branded mobile app. Named system owner: the chain's chief operating officer. Named proposer: the marketing director. Named independent approver: the food safety manager. All targets are hypothetical and illustrative.
Prelaunch fixtures.
fnb_cur_1: Customer CUS-7700 opens app, authenticated, browses menu at location LOC-A. App displays menu version V-2026-11-16-A synced from Toast POS. Customer views item BOWL-CHKN-SPC (spicy chicken bowl, $14.50) with modifiers: size (regular/large), protein (chicken/tofu/shrimp), spice level (mild/medium/hot), add-ons (avocado +$2, extra protein +$3). Allergen display (operator-declared): wheat, soy, sesame. Expected receipt and evidence: (1) session log, (2) menu display log with item, version, modifiers and allergen display
fnb_cur_2: Customer CUS-7700 orders BOWL-CHKN-SPC with modifiers: large (+$2.50), chicken, hot, add avocado (+$2). Total $19.00. Pickup at LOC-A in 20 minutes. Key op:fnb_A_001. Food safety manager reviews menu sync and allergen display policy. Marketing director submits within approved policy. Expected receipt and evidence: (1) order at POS authority with reference ORD-FNB-5501, item, modifiers, total and pickup time, (2) order log at audit authority
fnb_cur_3: Customer CUS-7701 orders WRAP-VEG-MED (veggie wrap, $12.00) with modifiers: regular, no cheese, add hummus (+$1.50). Total $13.50. Pickup at LOC-B in 25 minutes. Key op:fnb_B_002. Distinct customer, distinct item, distinct location. Expected receipt and evidence verified independently at POS authority and audit authority, same structure as fnb_cur_2, with reference ORD-FNB-5502
fnb_stale_menu_1: Order referencing menu version older than current (operator updated price after customer loaded menu)
fnb_removed_modifier_1: Order including modifier (e.g., "add bacon") that was removed in current menu version
fnb_allergen_missing_1: Customer filters by "no wheat" but item BOWL-CHKN-SPC has no operator-provided allergen data (should show notice, not hide item)
fnb_expired_session_1: Order after session timeout
fnb_unauth_role_1: Customer attempting to modify menu configuration (requires marketing director role)
fnb_item_unavailable_1: Order for item marked unavailable in current POS sync (sold out)
fnb_unknown_item_1: Order for ITEM-ABSENT not in current menu version
fnb_pos_outage_1: Order submission during POS API outage
App store data declarations. Apple App Privacy Details requires developers to declare data collected (transmitted off the device and accessible to the developer or its partners beyond what is needed to service the request in real time), its uses, linkage to identity, tracking status, partner SDK practices and applicable exceptions. OS permission alone does not substitute for an accurate data-type disclosure. Google Play Data Safety has its own definitions of collection and sharing, SDK disclosure requirements and exemptions; ephemeral off-device processing may be answerable on the form and omittable from the visible section only when Google's stated criteria hold. Both declarations must reflect ordering data transmitted to the POS, loyalty data, location data and third-party SDK behavior. No order details or loyalty balances in analytics or crash payloads.
FDA allergen scope. FALCPA originally identified eight major food allergens for FDA-regulated packaged food labeling; the FASTER Act added sesame as the ninth. This labeling scope applies to FDA-regulated packaged food where applicable, not as a general restaurant menu duty. The app displays allergen tags per menu item as declared by the operator. The operator is responsible for allergen content accuracy; the app does not independently verify content. Items without operator-provided allergen data display a notice ("allergen information not available; ask staff"). Cross-contact risk is the operator's responsibility to declare and manage. Restaurant allergen disclosure obligations may vary by jurisdiction beyond FALCPA's packaged food scope. Staffed fallback: if the app's allergen display is unavailable or the customer questions the data, staff at the counter can provide the operator's current allergen information.
Disjoint held-out setup. 12 synthetic ordering records in two cohorts. Positive (4: FNB-001 through FNB-004): current session, current menu version, item available, modifiers valid. Negative (8: FNB-005 through FNB-012): stale menu, removed modifier, allergen data missing (display notice), expired session, unauthorized role, item unavailable, unknown item, POS outage. Held-out excludes revocation (FNB-R101), restore (FNB-R201) and stale (fnb_R_STALE_901). Training/tuning disjoint. All hypothetical.
Allowed workflow (fnb_1, operation A). Fixture FNB-001: customer orders BOWL-CHKN-SPC with valid modifiers on current menu version, key op:fnb_A_001. Food safety manager reads: (a) menu version current; (b) session current; (c) item available; (d) modifiers valid in version; (e) allergen display matches operator declaration. Approves. Marketing director submits. Expected business receipt: order at POS authority (read independently). Evidence: audit log (read independently). Acceptance target: 4 of 4 positive records produce confirmed POS orders.
Replay of A. Key committed. Rejected. 0 duplicates.
Independently approved B (fnb_1b, operation B). Fixture FNB-002: different customer CUS-7701, different item WRAP-VEG-MED, different location LOC-B, key op:fnb_B_002, session SES-FNB-002. Food safety manager independently reads menu version at LOC-B (current), session (current), item available, modifiers valid, allergen display matches operator declaration. Freshly approves. Marketing director submits. Expected business receipt: order at POS authority with ORD-FNB-5502 (read independently, confirm present). Evidence: audit log (read independently, confirm present). Expected from three submissions (A, replay A, B): 2 new POS orders committed (ORD-FNB-5501 and ORD-FNB-5502), 0 from replay. Acceptance target: 2 of 3 produce new orders; 0 duplicate effects.
Denied fixtures. FNB-005: stale menu (price changed, requires fresh fetch). FNB-006: removed modifier. FNB-007: allergen filter on item without data (display notice, do not hide). FNB-008: expired session. FNB-009: customer modifying menu. FNB-010: item sold out. FNB-011: unknown item. FNB-012: POS outage. Each 0 unauthorized effects.
Stale-submission recovery. Customer builds order offline, key op:fnb_R_STALE_901. Reconnects. Re-check menu version. If item or modifier changed, customer notified. 0 stale orders submitted.
Revoked authority (fnb_3c). Fixture FNB-R101: marketing director queued POS order for customer CUS-7702 at LOC-A with key op:fnb_R_101, approval version APV-FNB-5. Food safety manager had freshly approved exact customer, item, modifiers and location. Before POS authority confirmed order, COO (named revoker) revoked marketing director's order submission authority (APV-FNB-6). Device reads APV-FNB-6, authority absent. op:fnb_R_101 marked quarantined in local ledger. Backend also rejects on receipt. Independently read POS authority: no order for FNB-R101. Independently read payment authority: no charge for this key. Independently read kitchen dispatch: no ticket for this key. Independently read audit log: no entry. Pending queue: zero. Committed orders from prior operations (ORD-FNB-5501, ORD-FNB-5502): present at POS, kitchen tickets dispatched, payments confirmed. Before revocation: order queued. After revocation: no POS entry, no charge, no kitchen dispatch. 0 effects after revocation, 0 duplicate charges, 0 orphaned kitchen tickets.
Dropped first response (fnb_3b). Fixture FNB-003: customer CUS-7700 orders SALAD-GRK at LOC-A, key op:fnb_A_003, session SES-FNB-003, approval APV-FNB-5. Connection interrupted. Pre-retry reconciliation:
- Read durable order log for key
op:fnb_A_003: present (committed) / absent / error.
- Read POS authority for order matching customer, item, location, key: confirmed present (with order reference and ticket number) / confirmed absent / pending or in-flight.
- Read payment authority for charge against this key: charged / not charged / pending.
- Read kitchen dispatch for ticket referencing this key: dispatched / not dispatched / pending.
- Read audit log for this key: confirmed present / confirmed absent.
- Read session SES-FNB-003: current / expired.
- Read menu version at LOC-A: current / stale.
- Read item SALAD-GRK availability and modifier validity: available / unavailable / changed.
- Read marketing director authority: APV-FNB-5 current / revoked.
- Check pending order queue for this key: zero / nonzero.
Committed, consistent. Durable log committed AND POS order confirmed AND payment confirmed AND kitchen ticket dispatched AND audit present, no pending: complete. No repeat. No duplicate charge or kitchen dispatch.
Committed order, kitchen not dispatched. POS order present, payment charged, but kitchen ticket not dispatched and not pending/in-flight. Do not repeat POS order or charge. Named kitchen/POS owner (operations manager) verifies authoritative POS ticket state and confirms no ticket and no pending dispatch. Food safety manager (original approver) freshly approves scoped kitchen dispatch under op:fnb_C_003 only after confirmed no ticket, no pending, and POS supports separate dispatch. Marketing director (executor) submits. Independently verify after dispatch: POS order and charge unchanged, kitchen ticket now present. No duplicate charge, no duplicate order.
Committed order, payment absent. POS order present but payment authority shows no charge and nothing pending. Escalate: customer may have order without payment. No order repeat. COO investigates payment reconciliation.
Committed log, POS absent. Durable log committed, POS confirms no order, nothing pending. Check payment: if charged but no POS order, escalate immediately for refund investigation. If not charged, HOLD for COO.
No log, effects exist. Reconcile existing without replay.
Conclusively uncommitted. No durable log, POS conclusively no order, payment conclusively no charge, kitchen conclusively no ticket, audit conclusively absent, pending and in-flight clear at POS authority, payment authority and kitchen dispatch, session current, menu version current at LOC-A (current object version), item SALAD-GRK available with valid modifiers, marketing director authority at APV-FNB-5 verified, food safety manager freshly approves exact same order payload: resubmit same key op:fnb_A_003. No automatic retry.
Fails closed. Unknown read, pending or in-flight at any authority, expired session, stale menu, unavailable item, changed modifiers, revoked authority: hold for COO. Acceptance target: 0 duplicate POS orders, 0 duplicate charges, 0 duplicate kitchen dispatches.
Manual staffed fallback. If app is unavailable or POS integration is interrupted, staffed counter ordering remains the safe fallback. No unsafe acceptance of orders with invalid or stale modifiers. If a customer requests allergen-specific preparation and allergen data is missing or stale for the selected item, the app shows a notice and directs the customer to confirm with staff in person.
Operations logging (fnb_4). Restricted order audit record (proposed; scoped by operator): customer, items, modifiers, allergen tags displayed, order reference, payment reference, kitchen ticket reference, key, decision and timestamp. General log: opaque reference, role, timestamp, outcome. No customer identity, order specifics, loyalty balance or payment details in general logs. Retention per operator policy and applicable regulations. Project logs per owner policy. Native input errors are acceptance targets. Training/tuning disjoint.
Staged restore (fnb_5). After system recovery: stage privately with no production order, payment or kitchen writes. Read authoritative versions before restore: POS authority (ORD-FNB-5501 from op:fnb_A_001 present with ticket, ORD-FNB-5502 from op:fnb_B_002 present with ticket, no order for FNB-R101), payment authority (charges for committed orders confirmed, no charge for revoked), kitchen dispatch (tickets for committed orders dispatched), pending order queue (state). Authorized route: marketing director with current scope (APV-FNB-5 if not revoked), food safety manager accepted. Revoked route: marketing director at APV-FNB-6 denied. Private restore fixture FNB-R201 with key op:fnb_R_201 (distinct from FNB-R101): read POS, payment and kitchen (all absent for R201 before and after, no production writes). 0 production effects. Named fallback: COO; ordering reverts to in-store counter and phone orders after food safety manager review. Queue reconciliation: COO reviews pending order queue. Two named roles sign off: food safety manager verifies menu data, allergen declarations and POS configuration, marketing director verifies ordering and loyalty workflows. Both approve before production restore.
VoiceOver and TalkBack plan (fnb_6). iPhone SE VoiceOver: (1) browse menu with allergen filter (target: items announced with name, price, allergen tags where available); (2) customize order with modifiers (target: modifier groups and options announced, selection confirmed); (3) view loyalty balance and rewards (target: points and next reward announced). Samsung Galaxy A14 TalkBack: (1) reorder previous order (target: order items announced, one-tap reorder confirmed); (2) schedule pickup time (target: available slots announced); (3) track order status (target: status and estimated time announced). iPad keyboard: (1) navigate menu categories; (2) customize item; (3) checkout. Desktop keyboard: food safety manager reviews allergen policy. Low-end device: 4 seconds on 3G. Text scale: 200%. Test plan; results not claimed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.