Suppose a restaurant group (TEN-FB001) and a food supplier network (TEN-FB002) each use this menu operations and waste tracking pilot with wholly synthetic menu items, ingredient records, waste events and allergen sources. No real food items served to customers, real supplier agreements, real allergen determinations for actual menu items or real food safety clearances occur in this workflow; it is a waste event correction and allergen source conflict demonstration. No automatic safety clearance or shelf-life decision occurs.
Pilot coordinator OP-FB101 (session SES-FB-001, ROLE-V1 at TEN-FB001) prepares a kitchen workspace with menu/ingredient/organization/role binding MNU-FB001/ING-FB001/ORG-FB001/ROLE-V1, record version RVR-FB001, view grant VGR-FB001, write grant WGR-FB001, export grant EGR-FB001 and synthetic data verification SDV-FB001.
Authorized initial waste corrections (A and B). Kitchen manager OP-FB102 prepares TEN-FB001's approved waste correction WCR-FB001 on key op:b185-food-waste_A_001, binding menu item MNU-FB001 with waste event WST-FB001 (mislabeled waste reason: recorded as spoilage but actually a prep error). Named food-safety owner FSO-FB001 authorized for waste corrections at this location. Approver OP-FB103 (operations supervisor), executor OP-FB104 at TEN-FB001. The executor checks FSO-FB001's current authorization, then submits the correction. Server commits with receipt PRT-FB-A001, audit AUD-FB-A001, reference ACR-WCR-FB501 and current record version.
Ingredient allergen source conflict. Ingredient ING-FB002 (a synthetic flour supplier record) has an allergen source conflict: the current supplier documentation lists wheat allergen but the ingredient record references an outdated supplier who listed a different grain composition. Menu items MNU-FB002 and MNU-FB003 both use ING-FB002. Both are immediately blocked from release.
Named food-safety owner FSO-FB001 receives the conflict notification. FSO-FB001 reviews current supplier documentation, verifies the allergen classification and either updates the ingredient record or escalates for additional supplier verification. MNU-FB002 and MNU-FB003 remain blocked until FSO-FB001 explicitly clears the allergen source.
Before any read of the committed result, the requesting actor's session, role, organization, menu/ingredient 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-FB002: supplier coordinator OP-FB105 prepares WCR-FB002 on key op:b185-food-waste_B_002, binding menu item MNU-FB004 with waste event WST-FB002. Different approver OP-FB106, executor OP-FB107. Server commits with PRT-FB-B001, AUD-FB-B001, ACR-WCR-FB502.
Current first-effect gate. Every waste correction, allergen update, retry, reconciliation lookup, result read, receipt export or audit access on any b185-food-waste 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 menu item, waste event and record version
- Authorized food-safety owner with current authority for the location and correction type
- No unresolved allergen source conflict on affected ingredients (for menu release operations)
- 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-FB002 coordinator attempting to read or submit against A at TEN-FB001 is denied (wrong organization). TEN-FB001 manager attempting B at TEN-FB002 is denied. A submission with correct A key but wrong menu/waste 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-FB108 prepares WCR-FB003 (waste correction for a synthetic kitchen handoff to supplier network) on key op:b185-food-waste_R_101. The supplier network withdraws from the pilot after correction approval but before first submission because the supplier determined their tracking systems cannot accept the proposed correction format. Write grant WGR-FB002 revoked. Quarantined with frozen bytes, not submittable.
First attempt. Executor checks gate: write grant WGR-FB002 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-FB001 auditor OP-FB103 is separately reauthorized under current own-scope credentials with current view grant. That auditor reads: TEN-FB001 current waste correction queue; op:b185-food-waste_A_001 original committed record with frozen bytes/digest/revision, correct menu/waste/FSO binding, PRT-FB-A001, AUD-FB-A001, ACR-WCR-FB501 and current record version matching baseline; allergen source conflict status for ING-FB002 (blocked, pending FSO review); current view/write/export grant register. The same auditor reads op:b185-food-waste_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 correction.
The TEN-FB002 auditor OP-FB106 is independently reauthorized under current own-scope credentials with current view grant. That auditor reads: TEN-FB002 current waste correction queue; op:b185-food-waste_B_002 original committed record with frozen bytes/digest/revision, correct menu/waste binding, PRT-FB-B001, AUD-FB-B001, ACR-WCR-FB502 and current record version matching baseline.
| Stage | TEN-FB001 expected | TEN-FB002 expected |
|---|
| EC-FB-0 (0 denials) | A committed with verified receipt/version; ING-FB002 conflict blocked; R101 frozen, 0 denials, no commit/receipt | B committed with verified receipt/version |
| EC-FB-1 (1 denial) | R101: 1 denial, 0 commits; A unchanged; ING-FB002 still blocked | B unchanged/verified |
| EC-FB-2 (2 denials) | R101: 2 denials, 0 commits; A unchanged | B unchanged |
| EC-FB-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 correction, duplicate effect or new receipt. Changed bytes, menu/waste 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). Waste correction WCR-FB004 submitted on key op:b185-food-waste_R_301. Local receipt times out. Revalidate session, role, TEN-FB001 scope, current grants, menu/waste binding, FSO authority, record version and destination.
Committed branch: authoritative server holds a matching correction record. Compare exact original frozen payload/digest/revision and scoped remote identity to PRT-FB-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-WCR-R301. No new correction or effect.
Absence branch: authoritative server reads confirm no matching correction, no commit, no receipt, no pending, queued or retry work and no in-flight submission for this key across all relevant execution state. Reconcile authoritative business operation record, exact original payload/version/binding and any pending/queued/scheduled/retry/in-flight state. One guarded submission proceeds only after fresh product owner authorization, fresh executor and current grant verification.
Unknown or in-flight branch: holds for the product owner. No blind retry. "No matching correction record" alone is NOT proof retry is safe.
Configuration test: staged restore. Named pilot owner OP-FB103 checks a verified configuration snapshot in isolated staging at TEN-FB001 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-FB001 waste correction queue and allergen conflict status: auditor OP-FB103 (current view grant). Before and after: A committed with original version, ING-FB002 conflict status preserved, R101 quarantined with three denials. Identical.
- TEN-FB002 waste correction queue: auditor OP-FB106 (current view grant). Before and after: B committed with original version. Identical.
- A original committed record/receipt/audit: OP-FB103 (current TEN-FB001 scope, current view grant). Frozen bytes/revision/receipt identical.
- B original committed record/receipt/audit: OP-FB106 (current TEN-FB002 scope, current view grant). Frozen bytes/revision/receipt identical.
- R101 withdrawal fence and denial log: OP-FB103. Frozen bytes preserved, 3 denials, no commit/receipt. Withdrawal fence intact.
Verified-absence retry (ACR-R201). Waste correction WCR-FB005 submitted on key op:b185-food-waste_R_201. Authoritative server reads confirm no matching correction, no commit, no receipt, no pending, queued or in-flight work for this key across all relevant execution state. All current grants, menu/waste binding, FSO authority, organization, record version and destination verified. One guarded submission proceeds. Server commits with PRT-FB-R201, AUD-FB-R201, ACR-WCR-R201. Manual fallback: if the authoritative server becomes unavailable during the verified-absence check, the workflow holds for the pilot owner. Durable server dedup at commit.
Residual risks: supplier allergen documentation may change between verification and menu release; food safety owner availability may affect resolution time; customer device caches may retain stale menu availability; offline-capable devices may attempt duplicate submissions that the server deduplicates by operation key at commit. No global exactly-once promise across supplier systems. No promise to purge offline copies outside platform control. No automatic safety clearance or shelf-life decision.
Planned desktop accessibility tests. A kitchen manager completes a waste correction and allergen conflict review task using only keyboard navigation and VoiceOver on Safari/macOS (planned current version at kickoff). A second manager completes the same task using Chrome/Windows with NVDA screen reader. Planned denominator: all correction steps on each desktop combination.
Planned mobile test. A third manager completes the same correction 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 waste event lookup 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-FB-01: Wrong menu/waste or organization binding | FX-FB-01, FX-FB-02 | 2/2 mismatch denials (owner: OP-FB103) |
| HG-FB-02: Stale or unknown ingredient allergen source blocking release | FX-FB-03, FX-FB-04 | 2/2 release denials (owner: FSO-FB001) |
| HG-FB-03: Revoked view/write/export grant | FX-FB-05, FX-FB-06 | 2/2 revoked grants denied (owner: OP-FB106) |
| HG-FB-04: Duplicate or ambiguous reconnect | FX-FB-07, FX-FB-08 | 2/2 dedup or hold applied (owner: OP-FB103) |
| HG-FB-05: Supplier system outage and staged restore | FX-FB-09, FX-FB-10 | 2/2 hold or rollback applied (owner: OP-FB103) |
FX-FB-01: A waste correction binds menu item MNU-FB001 with waste event WST-FB001 at TEN-FB001 but the payload references menu item MNU-FB002. The menu binding check denies the mismatch before submission. FX-FB-02: A coordinator at TEN-FB002 attempts to read a TEN-FB001 correction using a valid TEN-FB002 session. The organization binding check denies the cross-organization access.
FX-FB-03: A menu item release is attempted for MNU-FB002 while ingredient ING-FB002 has a stale allergen source (supplier documentation expired). Named food-safety owner FSO-FB001 has not cleared the source. The release is denied; MNU-FB002 remains blocked. FX-FB-04: A menu item release is attempted for MNU-FB003 while ingredient ING-FB002 has an unknown allergen source (new supplier with no documentation on file). The release is denied until FSO-FB001 verifies and clears the source.
FX-FB-05: A manager whose write grant was revoked after A's successful commit attempts to submit a new correction. The grant check denies before submission. FX-FB-06: A manager whose export grant was revoked attempts to export A's receipt. The grant check denies before any result.
FX-FB-07: After a timeout on R301, the manager submits a retry but the authoritative server already holds the committed correction from the original submission. The dedup check at commit returns the existing result without creating a duplicate correction. FX-FB-08: A reconnect attempt references the same operation key but with modified payload bytes. The digest mismatch triggers a hold for manual reconciliation.
FX-FB-09: The supplier integration becomes unavailable during a planned allergen verification test. The workflow holds for the pilot owner; affected menu items remain blocked. FX-FB-10: The pilot owner initiates a staged restore, confirms that all withdrawal fences, allergen conflict blocks 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.