A hypothetical marketplace builds a reconciliation system. System owner: CEO. Proposer: marketplace operator. Approver: finance operations owner. No money movement, refund or payout originates from this scenario.
Prelaunch fixtures. mkt_cur: reconciliation anomaly for platform ACCT-PLT, currency USD. Charge ch_abc read from Stripe: paid: true, captured: true, currency: "usd", linked PaymentIntent pi_abc with status: "succeeded". Expected Transfer tr_seller absent after authoritative Stripe API lookup (no Transfer object recorded for this charge-to-seller relationship). Seller acct_seller_A active. Operator proposes support case scoped to platform/ACCT-PLT/USD/ch_abc/tr_seller/reconciliation revision v2. Two effects: (1) case record at case store, (2) downstream task queue entry at queue store. mkt_verify: finance operations owner independently reads (a) Charge ch_abc paid, captured, currency fields; (b) linked PaymentIntent pi_abc status; (c) Transfer tr_seller existence at Stripe (expectation: absent, no recorded Transfer object); (d) seller acct_seller_A status; (e) downstream task queue (no existing case). A recorded Transfer object and its destination, amount, currency and reversed fields do not prove payout or seller bank receipt. mkt_stale: revision v1 when current is v2. mkt_wrong_seller: case directed at acct_seller_B when anomaly involves acct_seller_A. mkt_disputed: ch_def has open dispute, case references undisputed status. mkt_wrong_role: customer support agent attempts case approval. mkt_queue_down: support case queue unavailable. mkt_unknown_account: valid operator references seller acct_seller_X not in platform (valid user, unknown connected account). mkt_unknown_object: case references Charge ch_zzz that returns 404 from Stripe API (valid structure, unknown object).
Held-out fixtures. 12 records in disjoint cohorts. Positive (4): TXN-001 through TXN-004 with current revision, authorized operator, finance owner verification of exact Charge/PaymentIntent/Transfer fields and case queue. Negative (8): TXN-005 stale reconciliation (0 cases on stale); TXN-006 wrong seller (0 cross-seller cases); TXN-007 disputed charge with undisputed reference (0 cases with inconsistent status); TXN-008 wrong role (0 approvals); TXN-009 case queue unavailable (0 cases when queue down, hold); TXN-010 duplicate case for same anomaly (0 duplicate cases); TXN-011 unknown connected account acct_seller_X (0 cases for unknown accounts); TXN-012 unknown Charge ch_zzz returning 404 (0 cases for unknown objects). Excludes TXN-R101 and TXN-R201. Training and tuning data disjoint from held-out.
Allowed workflow (operation A). TXN-001: operator proposes support case with key op:mkt_A_001 scoped to ACCT-PLT/USD/ch_abc/tr_seller/v2. Before approval, finance owner independently reads: (a) Charge ch_abc fields paid: true, captured: true, currency: "usd"; (b) linked PaymentIntent pi_abc status: "succeeded"; (c) Transfer tr_seller existence at Stripe (absent, no recorded object); (d) seller acct_seller_A status (active); (e) downstream task queue (no existing case for this anomaly). All confirmed. Approves case routing. Two effects: (1) case record committed at case store, (2) downstream task queue entry created at queue store. After approval: read case record independently from case store (confirmed present). Read task queue entry independently from queue store (confirmed present). Case record and queue entry are separate outputs; neither proves the other. No money movement, no finance writes.
Replay of A. Same key op:mkt_A_001. Log: committed. Case record and queue entry unchanged. Rejected, 0 duplicates.
Independently approved B. TXN-002: operator proposes distinct case with key op:mkt_B_002 for different anomaly involving Charge ch_ghi (paid: true, captured: true, currency: "usd") and Transfer tr_seller_B. Finance owner independently reads Charge fields, Transfer existence and destination, amount, currency, reversed fields if Transfer recorded, seller status and queue. All confirmed. Approves. Two effects: case record + queue entry. Both independently read and confirmed. A recorded Transfer object with its destination and amount does not prove payout or seller bank receipt. 2 of 3 approved. 0 duplicate effects. No money movement.
Ambiguous first response (mkt_3b). Key op:mkt_A_003 for TXN-003. Network interruption. Pre-retry gates:
- Read durable log for
op:mkt_A_003: present/absent/error.
- Read current Stripe Charge ch_abc fields:
paid, captured, currency.
- Read linked PaymentIntent pi_abc
status.
- Read Transfer tr_seller existence at Stripe and if present read
destination, amount, currency, reversed fields.
- Read platform account ACCT-PLT and seller acct_seller_A status and current reconciliation version.
- Verify operator still holds platform reconciliation authority.
- Read case record at case store for TXN-003: committed/absent/pending.
- Read downstream task queue entry at queue store for this anomaly: committed/absent/pending.
- Read pending/inflight case and task queues for this key.
Log committed AND case record confirmed present at case store AND downstream task queue entry confirmed present at queue store, both consistent, no conflicting pending: complete, no repeat. Log present, case absent, pending: STOP, CEO investigates. Log committed, case record confirmed present at case store (one verified committed effect) but downstream task queue entry confirmed absent from queue store AND absent from pending/inflight routing (one confirmed missing effect), current operator authority and exact Stripe Charge/PaymentIntent/Transfer fields verified at current version: standalone repair under new key op:mkt_C_003, create ONLY the missing task queue entry, finance owner freshly approves, independently verify both case record and queue entry afterward; case routing only, no Stripe writes. If log committed but both effects absent with nothing pending: HOLD for CEO, no new write. Log committed and any effect pending or inflight: STOP, CEO investigates. No log but one or both effects exist: reconcile existing effects without replay. No durable transaction for this key, case conclusively absent from case store, queue entry conclusively absent from queue store, all pending/inflight case and task queues clear, operator authority confirmed, reconciliation version confirmed, exact Stripe fields confirmed, finance owner freshly approves: identical-key resubmit op:mkt_A_003. If verified case record exists without log: reconcile without replay. Any unknown read, read failure, unknown account or object, any pending, conflict or revoked authority: hold for CEO.
Revoked authority (mkt_3c). TXN-R101 with key op:mkt_R_101: operator queued case while reconciliation scope was current, approval version APV-1. CEO revokes operator's reconciliation authority (approval version now APV-2). On delayed result: read operator permission at APV-2 (authority absent). Read local pending queue: op:mkt_R_101 retained as quarantined local entry (present, not committed, marked revoked). Read case store at authoritative provider: no case record for R101. Read task queue store at authoritative provider: no entry for R101. Read in-flight provider case and task operations: no in-flight case creation or queue insertion for this key (quarantined local entry is distinct from an in-flight provider-side operation). Committed effects from prior operations preserved. Before revocation: authority present at APV-1, case queued locally. After revocation: authority absent at APV-2, quarantined local entry retained for audit, no case record at provider, no queue entry at provider, no new effect. Case routing only, no Stripe writes. 0 effects.
Private staged restore (mkt_5). TXN-R201 with key op:mkt_R_201, distinct from R101, outside held-out. Stage privately, prior known revision. Read authoritative Stripe charge/transfer fields, committed case records at case store, task queue entries at queue store, pending queues. Exact authorized key op:mkt_A_001 (case committed, queue entry present). Exact revoked key op:mkt_R_101 (case absent, queue entry absent, not committed). Before/after state: R201 case absent and queue entry absent before and after staging, zero production writes. Authorized route accepted. Revoked route denied. 0 production effects. Existing case records, queue entries and revocations preserved. Manual fallback: CEO. Queue reconciliation: CEO reviews case and reconciliation queues. Two roles restart: CEO verifies data, finance owner verifies workflows. Both approve before production restore.
Phone and tablet plan. On iPhone SE 3rd generation at 375 by 667, operator attempts 3 tasks: (1) view anomaly queue (target: 0 horizontal overflow); (2) open anomaly detail with charge, transfer, seller (target: scrollable); (3) tap Submit Case (target: reachable, draft not committed). On iPad 10th generation at 820 by 1180 with keyboard, finance owner attempts 3 tasks: (1) arrow-key navigation (target: visible focus); (2) Enter to open (target: focus moves); (3) keyboard approve or defer (target: announced, no silent commit). Remaining risk: Stripe API rate limits during high-volume reconciliation may delay status reads.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.