Disjoint held-out setup. 8 synthetic RFI review records across two contractor tenants. All data wholly synthetic; no accepted construction document, field-work authorization, design change or safety determination. Positive (3: RFI-001 through RFI-003): current project manager, valid tenant/project, authorized role, drawing revision current, RFI complete, review inbox available. Negative (5: RFI-004 through RFI-008): expired session, wrong tenant (contractor B RFI to contractor A project), wrong role (field laborer attempting PM action), drawing revision outdated, RFI incomplete. All hypothetical.
Allowed workflow (cx_1, operation A). Fixture RFI-001: project manager PM-6600 authenticates with current session SES-CX-001 for tenant GC-A (TEN-7701), project PROJ-4401 at ROLE-V1. Drawing DWG-8001 at current revision REV-V3. Submits RFI review request with key op:cx_A_001 scoped to TEN-7701/PROJ-4401/PM-6600/DWG-8001/REV-V3/SES-CX-001. RFI coordinator (scoped approver) independently reads: (a) session SES-CX-001 current; (b) PM-6600 has PM role at TEN-7701, PROJ-4401 at ROLE-V1; (c) DWG-8001 at REV-V3 is current drawing revision; (d) RFI complete with field, safety and design references current; (e) project inbox available; (f) no pending for same key. Approves. RFI processor (different scoped executor, bound to immutable A payload and key op:cx_A_001) delivers RFI review record to project operations inbox. Expected receipt: RFI-REF-1101 at inbox authority (read independently, confirm present). Receipt distinct from accepted construction document, field-work authorization, safety determination or design change. Evidence: RFI log at audit authority (read independently, confirm present for op:cx_A_001). Durable committed operation record for op:cx_A_001 read separately at operation log (confirm committed, distinct from receipt and audit). Acceptance: 3 of 3 positive produce confirmed RFI receipts.
Tenant A/B role and egress cleanup. GC-B (TEN-7702) PM-6601 attempts GC-A project read: denied (wrong tenant). GC-A field laborer LBR-6610 attempts PM action: denied (wrong role, current role version verified). After test: all synthetic RFI 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:cx_A_001 already committed at inbox authority. Exact replay with identical key and complete original payload (tenant TEN-7701, project PROJ-4401, PM-6600 at ROLE-V1, drawing DWG-8001 at REV-V3, session SES-CX-001) by still-authorized original requester PM-6600 within exact tenant TEN-7701 scope: system returns only A's existing non-secret receipt RFI-REF-1101 and current review status. 0 new RFI actions. 0 duplicates. Changed payload or different principal/tenant scope: held or rejected.
Independently approved B (cx_1b, operation B). Fixture RFI-002: PM PM-6601 authenticates with session SES-CX-002 for tenant TEN-7702 (GC-B), project PROJ-4402, drawing DWG-8002 at revision REV-V3, at ROLE-V1. Key op:cx_B_002 with immutable payload scoped to TEN-7702/PROJ-4402/PM-6601/DWG-8002/REV-V3/SES-CX-002. B's RFI coordinator (scoped to TEN-7702) independently approves; B's RFI processor delivers. Durable operation record for op:cx_B_002 committed at operation log; receipt RFI-REF-1102 at inbox authority; audit entry confirmed - each read independently. 2 new RFI receipts across A/B, 0 from replay.
Denied: wrong tenant (cx_2a). RFI-004: GC-B RFI to GC-A project. 0 cross-tenant reviews. Denied: wrong role (cx_2b). RFI-005: field laborer attempting PM action. Denied: stale drawing (cx_2c). RFI-006: drawing revision outdated vs accepted submittal. Denied: incomplete RFI (cx_2d). RFI-007: RFI incomplete. Denied: expired session (cx_2e). RFI-008: session expired.
Revocation (cx_4, RFI-R101). Fixture RFI-R101 with stable key op:cx_R_101: project manager PM-6600 queues RFI review for TEN-7701/PROJ-4401/drawing DWG-8003/revision REV-V5 while holding PM role at ROLE-V1. Before first send, async worker detects ROLE-V2 (PM role revoked) and parks the queued submission. On retry of the same queued key op:cx_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:cx_A_001 committed, op:cx_B_002 committed, op:cx_R_101 parked in monitored queue (not a committed successful operation). Read inbox authority before: RFI-REF-1101 (op:cx_A_001) present, RFI-REF-1102 (op:cx_B_002) present, no receipt for op:cx_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 field-work authorization, no design change. Read durable operations after: op:cx_A_001 committed (unchanged), op:cx_B_002 committed (unchanged), op:cx_R_101 still parked (queued item, not a committed business effect). Read downstream before and after blocked send: approved drawing register at TEN-7701/PROJ-4401, accepted-submittal record at TEN-7701/PROJ-4401/DWG-8003, field authorization log and safety determination register unchanged. Read inbox authority after: RFI-REF-1101 and RFI-REF-1102 unchanged, no receipt for op:cx_R_101. Read audit authority: op:cx_A_001 and op:cx_B_002 entries unchanged, no entry for op:cx_R_101 beyond denial record. If pending or in-flight at inbox authority for op:cx_R_101: HOLD for project director. Cross-tenant negative fixture: async export worker receives job with forged tenant ID TEN-7701 originating from TEN-7702 context; worker validates tenant binding before fetch, denies read of TEN-7701 inbox, denies write to TEN-7702 export; no RFI receipt, no data exposure, no field or safety effect. Forged write to foreign target: TEN-7702 context submits job attempting to insert a synthetic RFI record into TEN-7701 project inbox; worker validates tenant binding before execution, denies the write; TEN-7701 inbox, receipts and audit unchanged. 0 RFIs from revoked roles.
Dropped response (cx_4b, RFI-R301). Distinct fixture: project manager PM-6602 submits RFI review RFI-R301 for GC-A (TEN-7701)/project PROJ-4403/drawing DWG-8002 at revision REV-V4 with key op:cx_R_301, session SES-CX-003, response dropped. Independently read: (1) session SES-CX-003 current; (2) PM-6602 has PM role at TEN-7701, PROJ-4403 at current ROLE version; (3) drawing DWG-8002 at REV-V4 current; (4) RFI complete with field/safety/design references; (5) durable transaction log for op:cx_R_301 present or absent; (6) inbox authority receipt under op:cx_R_301 present or absent; (7) audit authority for op:cx_R_301 present or absent; (8) pending/in-flight at inbox authority for op:cx_R_301; (9) approved drawing register at TEN-7701/PROJ-4403, accepted-submittal record at TEN-7701/PROJ-4403/DWG-8002, field authorization log and safety determination register - each scoped to tenant/project and op:cx_R_301 key. Denial guard: if session SES-CX-003 expired, PM role revoked or version mismatched, tenant TEN-7701 binding invalid, or drawing/RFI 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 project director; no resend, no write, no field or design 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 project 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:cx_R_301, audit conclusively absent, pending/in-flight clear, approved drawing register, accepted-submittal record, field authorization log and safety determination register at TEN-7701/PROJ-4403 unchanged for this key, session current, PM-6602 authorized, PM role current, drawing and RFI current; RFI coordinator freshly scoped approves; RFI processor resubmits same key op:cx_R_301 with same payload. No automatic retry. 0 duplicates. 0 field authorizations, safety determinations or design changes from recovery.
Staged restore (cx_5, RFI-R201). Stage privately with no production RFI submissions or key writes. Read existing A/B keys and receipts: op:cx_A_001 to RFI-REF-1101 at inbox authority, op:cx_B_002 to RFI-REF-1102 at inbox authority. Read R101 key op:cx_R_101: no receipt (denied, role revoked ROLE-V2). Read R201 key op:cx_R_201: absent before restore. Independently read inbox authority, audit authority, pending/in-flight state, approved drawing register and accepted-submittal record at each test project, field authorization log and safety determination register before restoring verified snapshot in private. After staging, re-read: op:cx_A_001 to RFI-REF-1101 (unchanged), op:cx_B_002 to RFI-REF-1102 (unchanged), op:cx_R_101 to no receipt (confirmed denied), op:cx_R_201 to absent, pending/in-flight clear, approved drawing register, accepted-submittal record, field authorization log and safety determination register unchanged at each project. Planned test: compare authoritative operation log and audit records for op:cx_A_001, op:cx_B_002, op:cx_R_101 and op:cx_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: PM-6600 role revoked at cx_4 ROLE-V2 remains denied; no re-enabled role or live field, safety or design effect from restore. Named owner: project director reads RFI register, reconciles pending against independent receipts and signs off. Two roles sign off before production resume: RFI coordinator verifies inbox register, RFI processor verifies submission workflows. Named fallback: project director; RFI review reverts to manual inbox delivery.
Cross-tenant and access testing. Browser keyboard navigation with screen reader on project operations dashboard: Tab/Shift-Tab moves focus between RFI items; Enter opens detail; review action announced. 200% text zoom: project names, drawing references and RFI status readable. Narrow viewport (375px): RFI table scrollable without data loss. Cross-tenant test: GC-A PM cannot access GC-B project data, RFI queue or audit logs. Wrong-role fixture: field laborer cannot execute PM RFI review even with valid tenant membership.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.