Suppose a retail chain (TEN-RT001) and an independent fulfillment partner (TEN-RT002) each use this click-and-collect reservation pilot with wholly synthetic product, location and inventory records. No real product prices tied to real inventory, real customer payment information, real charges, real refunds or real duplicate sales occur in this workflow; it is a stock reservation and staff approval demonstration. No guaranteed stock hold exists until staff approval completes the atomic authoritative stock check.
Pilot coordinator OP-RT101 (session SES-RT-001, ROLE-V1 at TEN-RT001) prepares a reservation workspace with product/location/organization/role binding PRD-RT001/LOC-RT001/ORG-RT001/ROLE-V1, record version RVR-RT001, view grant VGR-RT001, write grant WGR-RT001, export grant EGR-RT001 and synthetic data verification SDV-RT001.
Authorized initial reservations (A and B). Store coordinator OP-RT102 prepares TEN-RT001's approved reservation RSV-RT001 on key op:b185-ret-collect_A_001, binding product PRD-RT001 variant VRT-RT001 at location LOC-RT001 with quantity 2 and staff member STF-RT001 authorized for reservations at that location. Approver OP-RT103 (fulfillment supervisor), executor OP-RT104 at TEN-RT001. The executor performs an atomic authoritative stock check: current inventory for PRD-RT001/VRT-RT001 at LOC-RT001 confirms available quantity meets the reservation. Server commits with receipt PRT-RT-A001, audit AUD-RT-A001, reference ACR-RSV-RT501 and current record version.
Before any read of the committed result, the requesting actor's session, role, organization, product/location binding, record version and current view grant are rechecked. A revoked-grant actor who participated in A cannot read A's receipt or audit; denial is recorded before any result lookup. Separately at TEN-RT002: fulfillment partner coordinator OP-RT105 prepares RSV-RT002 on key op:b185-ret-collect_B_002, binding product PRD-RT002 variant VRT-RT002 at location LOC-RT002 with staff STF-RT002. Different approver OP-RT106, executor OP-RT107. Atomic stock check confirms availability. Server commits with PRT-RT-B001, AUD-RT-B001, ACR-RSV-RT502.
Competing reservation test. A third reservation RSV-RT003 for the same product/variant/location as A is submitted concurrently. The atomic stock check at commitment for RSV-RT003 finds insufficient remaining quantity after A's committed hold. RSV-RT003 fails gracefully: no stock hold, no charge, no receipt. Customer is notified of unavailability with option to resubmit.
Current first-effect gate. Every reservation submission, approval, retry, reconciliation lookup, result read, receipt export or audit access on any b185-ret-collect key requires all of the following IMMEDIATELY BEFORE execution:
- Authenticated session with current role at the correct organization
- Current applicable grant (VIEW for reads, WRITE for submissions, EXPORT for exports)
- Exact approved frozen bytes/digest/revision matching product, variant, location, quantity and record version
- Authorized staff with current authority for the location and reservation type
- Atomic authoritative stock check at commitment (not cached or previously queried levels)
- Authorized destination organization still approved
- Current view/write/export grants and synthetic data verification not expired or revoked
- Expiry/revocation recheck
Failure produces a denial entry before any remote effect.
Reciprocal denied reads and cross-organization tests. TEN-RT002 coordinator attempting to read or submit against A at TEN-RT001 is denied (wrong organization). TEN-RT001 coordinator attempting B at TEN-RT002 is denied. A submission with correct A key but wrong product/location binding is denied on mismatch. Changed record hash is denied on payload mismatch. Revoked WRITE grant is denied with recorded entry.
Withdrawal before first submission (fw_4a, ACR-R101). Coordinator OP-RT108 prepares RSV-RT004 (reservation for a synthetic product handoff to fulfillment partner) on key op:b185-ret-collect_R_101. The fulfillment partner withdraws from the pilot after reservation approval but before first submission because the partner determined their fulfillment systems cannot accept the proposed reservation format. Write grant WGR-RT002 revoked. Quarantined with frozen bytes, not submittable.
First attempt. Executor checks gate: write grant WGR-RT002 revoked. Denied, first entry. Eligible retry. Same key/bytes; still revoked. Second denial. Stale executor. Different executor with cached approval; rejected on current grant check. Third denial.
Baseline read set repeated at every checkpoint. The TEN-RT001 auditor OP-RT103 is separately reauthorized under current own-scope credentials with current view grant. That auditor reads: TEN-RT001 current reservation queue; op:b185-ret-collect_A_001 original committed record with frozen bytes/digest/revision, correct product/variant/location binding, PRT-RT-A001, AUD-RT-A001, ACR-RSV-RT501 and current record version matching baseline; current view/write/export grant register. The same auditor reads op:b185-ret-collect_R_101 original frozen bytes with withdrawal fence, current denial count (incrementing 0/1/2/3) and confirmation of no R101 commit, receipt or submitted reservation.
The TEN-RT002 auditor OP-RT106 is independently reauthorized under current own-scope credentials with current view grant. That auditor reads: TEN-RT002 current reservation queue; op:b185-ret-collect_B_002 original committed record with frozen bytes/digest/revision, correct product/variant/location binding, PRT-RT-B001, AUD-RT-B001, ACR-RSV-RT502 and current record version matching baseline.
| Stage | TEN-RT001 expected | TEN-RT002 expected |
|---|
| EC-RT-0 (0 denials) | A committed with verified receipt/version; R101 frozen, 0 denials, no commit/receipt | B committed with verified receipt/version |
| EC-RT-1 (1 denial) | R101: 1 denial, 0 commits; A unchanged/verified | B unchanged/verified |
| EC-RT-2 (2 denials) | R101: 2 denials, 0 commits; A unchanged | B unchanged |
| EC-RT-3 (3 denials) | R101: 3 denials, 0 submitted, 0 exposure; A unchanged | B unchanged |
Replay distinct key rule. Exact replay of confirmed A or B with same payload bytes, passing all current checks, returns only the already-confirmed scoped result. No new reservation, duplicate hold, duplicate charge or new receipt. Changed bytes, product/location binding or a revoked request cannot mint a key that bypasses deduplication. A different key is only for genuinely distinct work approved afresh.
Timeout and reconciliation (ACR-R301). Reservation RSV-RT005 submitted on key op:b185-ret-collect_R_301. Local receipt times out. Revalidate session, role, TEN-RT001 scope, current grants, product/variant/location binding, staff authority, record version and destination.
Committed branch: authoritative server holds a matching reservation record. Compare exact original frozen payload/digest/revision and scoped remote identity to PRT-RT-R301 and audit before returning any result. Confirm no current pending, queued, scheduled, retry or in-flight submission for this key. Verify R101 quarantine unchanged. Return only ACR-RSV-R301. No new reservation, charge or effect.
Absence branch: authoritative server reads confirm no matching reservation, no commit, no receipt, no pending, queued or retry work and no in-flight submission for this key across all relevant execution state. One guarded submission proceeds only after fresh product owner authorization, fresh atomic stock check, fresh executor and current grant verification.
Unknown or in-flight branch: holds for the product owner. No blind retry.
Configuration test: staged restore. Named pilot owner OP-RT103 checks a verified configuration snapshot in isolated staging at TEN-RT001 with no live credentials or submittable work. Live external result reconciliation precedes resuming any send.
Five comparisons under current independently authorized scope, preserving all newer record versions and withdrawal fences:
- TEN-RT001 reservation queue: auditor OP-RT103 (current view grant). Before and after: A committed with original version, R101 quarantined with three denials. Identical.
- TEN-RT002 reservation queue: auditor OP-RT106 (current view grant). Before and after: B committed with original version. Identical.
- A original committed record/receipt/audit: OP-RT103 (current TEN-RT001 scope, current view grant). Frozen bytes/revision/receipt identical.
- B original committed record/receipt/audit: OP-RT106 (current TEN-RT002 scope, current view grant). Frozen bytes/revision/receipt identical.
- R101 withdrawal fence and denial log: OP-RT103. Frozen bytes preserved, 3 denials, no commit/receipt. Withdrawal fence intact.
Verified-absence retry (ACR-R201). Reservation RSV-RT006 submitted on key op:b185-ret-collect_R_201. Authoritative server reads confirm no matching reservation, no commit, no receipt, no pending, queued or in-flight work for this key across all relevant execution state. All current grants, product/variant/location binding, staff authority, organization, record version and destination verified. Fresh atomic stock check confirms current availability. One guarded submission proceeds. Server commits with PRT-RT-R201, AUD-RT-R201, ACR-RSV-R201. Manual fallback: if the authoritative server becomes unavailable during the verified-absence check, the workflow holds for the pilot owner.
Residual risks: inventory may change between customer request and staff approval from other sales channels; competing reservations resolved at authoritative stock system; customer device caches may retain stale availability; offline-capable devices may attempt duplicate submissions that the server deduplicates by operation key at commit. No global exactly-once promise across all sales channels. No promise to purge offline copies outside platform control. No automatic charge, refund or duplicate sale.
Planned desktop accessibility tests. A store staff member completes a reservation approval and stock check task using only keyboard navigation and VoiceOver on Safari/macOS (planned current version at kickoff). A second staff member completes the same task using Chrome/Windows with NVDA screen reader. Planned denominator: all reservation steps on each desktop combination.
Planned mobile test. A third staff member completes the same reservation task on an iPhone (planned current iOS at kickoff) using Safari with VoiceOver touch navigation at 390px viewport width. Touch target sizes, scroll behavior during variant/location selection and error message readability are included in the planned pass target. These are planned targets with no observed results at time of writing.
Held-out fixture groups. These fixtures are kept out of drafting, tuning and construction examples.
| Group | Fixtures | Threshold |
|---|
| HG-RT-01: Wrong product/location or organization binding | FX-RT-01, FX-RT-02 | 2/2 mismatch denials (owner: OP-RT103) |
| HG-RT-02: Superseded reservation version | FX-RT-03, FX-RT-04 | 2/2 version conflicts caught (owner: OP-RT103) |
| HG-RT-03: Revoked view/write/export grant | FX-RT-05, FX-RT-06 | 2/2 revoked grants denied (owner: OP-RT106) |
| HG-RT-04: Duplicate or ambiguous reconnect | FX-RT-07, FX-RT-08 | 2/2 dedup or hold applied (owner: OP-RT103) |
| HG-RT-05: Inventory system outage and staged restore | FX-RT-09, FX-RT-10 | 2/2 hold or rollback applied (owner: OP-RT103) |
FX-RT-01: A reservation binds product PRD-RT001 variant VRT-RT001 at location LOC-RT001 at TEN-RT001 but the payload references product PRD-RT002. The product binding check denies the mismatch before submission. FX-RT-02: A coordinator at TEN-RT002 attempts to read a TEN-RT001 reservation using a valid TEN-RT002 session. The organization binding check denies the cross-organization access.
FX-RT-03: A reservation uses record version V1 but the authoritative server holds V2 (updated by a concurrent inventory adjustment). The version check denies the stale submission. FX-RT-04: A retry references a reservation version superseded during the timeout window. The version recheck catches the stale state.
FX-RT-05: A staff member whose write grant was revoked after A's successful commit attempts to submit a new reservation. The grant check denies before submission. FX-RT-06: A staff member whose export grant was revoked attempts to export A's receipt. The grant check denies before any result.
FX-RT-07: After a timeout on R301, the staff member submits a retry but the authoritative server already holds the committed reservation from the original submission. The dedup check at commit returns the existing result without creating a duplicate hold or charge. FX-RT-08: A reconnect attempt references the same operation key but with modified payload bytes. The digest mismatch triggers a hold for manual reconciliation.
FX-RT-09: The inventory management system becomes unavailable during a planned integration test. The workflow holds for the pilot owner. FX-RT-10: The pilot owner initiates a staged restore, confirms that all withdrawal fences and newer record versions are preserved, and verifies no live credentials or submittable work in staging.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.