Disjoint held-out setup. 8 synthetic downtime exception records across two manufacturer tenants. All data wholly synthetic; no WMS/MES release, production change or safety control write. Positive (3: DTE-001 through DTE-003): current plant manager, valid tenant/facility, authorized role, equipment data current, exception complete, review inbox available. Negative (5: DTE-004 through DTE-008): expired session, wrong tenant, wrong role, stale equipment data, incomplete report. All hypothetical.
Allowed workflow (mf_1, operation A). Fixture DTE-001: plant manager PLM-8800 authenticates with current session SES-MF-001 for tenant MFG-A (TEN-9901), facility FAC-4401 at ROLE-V1. Equipment EQ-6001 in mode MODE-PROD at downtime data revision DATA-V1. Submits exception review with key op:mf_A_001 scoped to TEN-9901/FAC-4401/PLM-8800/EQ-6001/MODE-PROD/DATA-V1/SES-MF-001. Exception coordinator (scoped approver) independently reads: (a) session SES-MF-001 current; (b) PLM-8800 has plant manager role at TEN-9901, FAC-4401 at ROLE-V1; (c) equipment EQ-6001 current in facility, mode MODE-PROD and revision DATA-V1 current; (d) exception complete; (e) review inbox available; (f) no pending exception for same key. Approves. Exception processor (different scoped executor, bound to immutable A payload and key op:mf_A_001) delivers exception review record to facility operations inbox. Expected receipt: DTE-REF-3301 at inbox authority (read independently, confirm present). Receipt distinct from production order change, MES/WMS command, quality release or safety control write. Evidence: exception log at audit authority (read independently, confirm present for op:mf_A_001). Durable committed operation record for op:mf_A_001 read separately at operation log (confirm committed, distinct from receipt and audit). Acceptance: 3 of 3 positive produce confirmed exception receipts.
Tenant A/B role and egress cleanup. MFG-B (TEN-9902) manager PLM-8801 attempts MFG-A facility read: denied (wrong tenant). MFG-A operator OPR-8810 attempts manager action: denied (wrong role, current role version verified). After test: all synthetic exception records, review receipts and inbox entries purged from both tenants. Egress cleanup verified: no synthetic data persists in exports, caches or logs beyond test retention.
Replay of A. Key op:mf_A_001 already committed at inbox authority. Exact replay with identical key and complete original payload (tenant TEN-9901, facility FAC-4401, manager PLM-8800 at ROLE-V1, equipment EQ-6001, mode MODE-PROD, revision DATA-V1, session SES-MF-001) by still-authorized original requester PLM-8800 within exact tenant TEN-9901 scope: system returns only A's existing non-secret receipt DTE-REF-3301 and current review status. 0 new exception actions. 0 duplicates. Changed payload or different principal/tenant scope: held or rejected.
Independently approved B (mf_1b, operation B). Fixture DTE-002: manager PLM-8801 authenticates with session SES-MF-002 for tenant TEN-9902 (MFG-B), facility FAC-4402, equipment EQ-6002 in mode MODE-PROD at revision DATA-V1, at ROLE-V1. Key op:mf_B_002 with immutable payload scoped to TEN-9902/FAC-4402/PLM-8801/EQ-6002/MODE-PROD/DATA-V1/SES-MF-002. B's exception coordinator (scoped to TEN-9902) independently approves; B's exception processor delivers. Durable operation record for op:mf_B_002 committed at operation log; receipt DTE-REF-3302 at inbox authority; audit entry confirmed - each read independently. 2 new exception receipts across A/B, 0 from replay.
Denied: wrong tenant (mf_2a). DTE-004: MFG-B exception to MFG-A inbox. 0 cross-tenant reviews. Denied: wrong role (mf_2b). DTE-005: operator attempting manager action. Denied: stale data (mf_2c). DTE-006: equipment data revision outdated. Denied: incomplete report (mf_2d). DTE-007: exception report incomplete. Denied: expired session (mf_2e). DTE-008: session expired.
Revocation (mf_4, DTE-R101). Fixture DTE-R101 with stable key op:mf_R_101: plant manager PLM-8800 queues exception for TEN-9901/FAC-4401/equipment EQ-6003/mode MODE-MAINT/revision DATA-V1 while holding manager role at ROLE-V1. Before first send, async worker detects ROLE-V2 (manager role revoked) and parks the queued submission. On retry of the same queued key op:mf_R_101 and payload, worker re-checks role version, confirms ROLE-V2 still current, and blocks; submission remains parked. Read durable operation records before: op:mf_A_001 committed, op:mf_B_002 committed, op:mf_R_101 parked in monitored queue (not a committed successful operation). Read inbox authority before: DTE-REF-3301 (op:mf_A_001) present, DTE-REF-3302 (op:mf_B_002) present, no receipt for op:mf_R_101. If the stale queued submission bypasses the worker and reaches the backend, inbox authority reads ROLE-V2 (revoked) and rejects; no receipt created, no production change, no MES/WMS command. Read durable operations after: op:mf_A_001 committed (unchanged), op:mf_B_002 committed (unchanged), op:mf_R_101 still parked (queued item, not a committed business effect). Read downstream before and after blocked send: production order register at TEN-9901/FAC-4401/EQ-6003, MES dispatch queue at FAC-4401, WMS inventory at FAC-4401, quality release log and safety control register unchanged. Read inbox authority after: DTE-REF-3301 and DTE-REF-3302 unchanged, no receipt for op:mf_R_101. Read audit authority: op:mf_A_001 and op:mf_B_002 entries unchanged, no entry for op:mf_R_101 beyond denial record. If pending or in-flight at inbox authority for op:mf_R_101: HOLD for manufacturing director. Cross-tenant negative fixture: async export worker receives job with forged tenant ID TEN-9901 originating from TEN-9902 context; worker validates tenant binding before fetch, denies read of TEN-9901 inbox, denies write to TEN-9902 export; no exception receipt, no data exposure, no production or safety effect. Forged write to foreign target: TEN-9902 context submits job attempting to insert a synthetic exception record into TEN-9901 facility inbox; worker validates tenant binding before execution, denies the write; TEN-9901 inbox, receipts and audit unchanged. 0 exceptions from revoked roles.
Dropped response (mf_4b, DTE-R301). Distinct fixture: plant manager PLM-8802 submits exception DTE-R301 for MFG-A (TEN-9901)/facility FAC-4403/equipment EQ-6002/mode MODE-PROD at revision DATA-V2 with key op:mf_R_301, session SES-MF-003, response dropped. Independently read: (1) session SES-MF-003 current; (2) PLM-8802 has manager role at TEN-9901, FAC-4403 at current ROLE version; (3) equipment EQ-6002 current in facility, mode and revision DATA-V2 current; (4) exception complete; (5) durable transaction log for op:mf_R_301 present or absent; (6) inbox authority receipt under op:mf_R_301 present or absent; (7) audit authority for op:mf_R_301 present or absent; (8) pending/in-flight at inbox authority for op:mf_R_301; (9) production order register at TEN-9901/FAC-4403/EQ-6002, MES dispatch queue at FAC-4403, WMS inventory at FAC-4403, quality release log and safety control register - each scoped to tenant/facility/equipment and op:mf_R_301 key. Denial guard: if session SES-MF-003 expired, manager role revoked or version mismatched, tenant TEN-9901 binding invalid, or equipment/revision stale or unverified at reads (1) through (4): refuse; no requester-facing receipt, no retry, no downstream effect. First guard: if any remaining read is unknown, unavailable, contradictory, or pending/in-flight at inbox or audit for this key: HOLD for manufacturing director; no resend, no write, no production or safety effect. Applied: if log committed AND receipt confirmed present AND audit confirmed present, all consistent, no pending/in-flight: complete, return existing receipt, no resend. Disagree: if receipt confirmed present but audit or log absent or inconsistent: HOLD for manufacturing director read-only reconciliation; no resend, no write. Committed but absent: if log committed but receipt absent: HOLD. Conclusively uncommitted: durable log absent, inbox authority conclusively absent for op:mf_R_301, audit conclusively absent, pending/in-flight clear, production order register, MES dispatch queue, WMS inventory, quality release log and safety control register at TEN-9901/FAC-4403 unchanged for this key, session current, PLM-8802 authorized, manager role current, equipment and revision current; exception coordinator freshly scoped approves; exception processor resubmits same key op:mf_R_301 with same payload. No automatic retry. 0 duplicates. 0 production changes, MES/WMS commands, quality releases or safety writes from recovery.
Staged restore (mf_5, DTE-R201). Stage privately with no production exception submissions or key writes. Read existing A/B keys and receipts: op:mf_A_001 to DTE-REF-3301 at inbox authority, op:mf_B_002 to DTE-REF-3302 at inbox authority. Read R101 key op:mf_R_101: no receipt (denied, role revoked ROLE-V2). Read R201 key op:mf_R_201: absent before restore. Independently read inbox authority, audit authority, pending/in-flight state, and downstream records (production order register, MES dispatch queue, WMS inventory, quality release log, safety control register at each test facility/equipment) before restoring verified snapshot in private. After staging, re-read: op:mf_A_001 to DTE-REF-3301 (unchanged), op:mf_B_002 to DTE-REF-3302 (unchanged), op:mf_R_101 to no receipt (confirmed denied), op:mf_R_201 to absent, pending/in-flight clear, production order register, MES dispatch queue, WMS inventory, quality release log and safety control register unchanged at each facility. Planned test: compare authoritative operation log and audit records for op:mf_A_001, op:mf_B_002, op:mf_R_101 and op:mf_R_201 before and after private staging: A/B operation markers and audit entries unchanged, R101 denial evidence preserved in audit, R201 has no operation record or audit entry, pending/in-flight and downstream controls unchanged. Newer revocations preserved: PLM-8800 role revoked at mf_4 ROLE-V2 remains denied; no re-enabled role or live production, MES/WMS, quality or safety effect from restore. Named owner: manufacturing director reads exception register, reconciles pending against independent receipts and signs off. Two roles sign off before production resume: exception coordinator verifies inbox register, exception processor verifies submission workflows. Named fallback: manufacturing director; exception review reverts to manual inbox delivery.
Cross-tenant and access testing. Browser keyboard navigation with screen reader on facility operations dashboard: Tab/Shift-Tab moves focus between exception items; Enter opens detail; review action announced. 200% text zoom: facility names, equipment references and exception status readable. Narrow viewport (375px): exception table scrollable without data loss. Cross-tenant test: MFG-A manager cannot access MFG-B facility data, exception queue or audit logs. Wrong-role fixture: operator cannot execute manager exception review even with valid tenant membership.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.