Disjoint held-out setup. 8 synthetic invoice guideline exception records across two law firm tenants. All data wholly synthetic; no trust ledger write, invoice transmission, payment or legal judgment. Positive (3: IGE-001 through IGE-003): current authenticated billing partner, valid tenant/matter, authorized role, guideline rule identified, exception justification provided, review inbox available. Negative (5: IGE-004 through IGE-008): expired session, wrong tenant (firm B exception to firm A inbox), wrong role (associate attempting partner-only action), guideline rule version stale, matter closed. Held-out excludes revocation (IGE-R101), restore (IGE-R201), dropped-response (IGE-R301). All hypothetical.
Allowed workflow (lg_1, operation A). Fixture IGE-001: billing partner BP-4400 authenticates with current session SES-LG-001 for tenant FIRM-A (TEN-5501), matter MTR-3301 at ROLE-V1. Carrier guideline GL-7001 rule GL-RULE-01 (wholly synthetic) flags time entry for exception. Submits exception request with key op:lg_A_001 scoped to tenant TEN-5501/matter MTR-3301/partner BP-4400/guideline GL-7001/session SES-LG-001. Exception coordinator (scoped approver) independently reads: (a) session SES-LG-001 current; (b) BP-4400 has billing partner role at TEN-5501 at ROLE-V1; (c) matter MTR-3301 open and current source revision; (d) guideline GL-7001 current revision; (e) exception justification provided; (f) review inbox available; (g) no pending exception for same key. Approves. Exception processor (different scoped executor, bound to immutable A payload and key op:lg_A_001) delivers review record to billing review inbox. Expected receipt: EXC-REF-8801 at inbox authority (read independently, confirm present). Exception receipt is distinct from trust ledger write, invoice transmission, payment or legal judgment. Evidence: exception log at audit authority (read independently, confirm present for op:lg_A_001). Durable committed operation record for op:lg_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. Firm B (TEN-5502) partner BP-4401 attempts to read Firm A exception: denied (wrong tenant). Firm A associate ASC-4410 attempts partner 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:lg_A_001 already committed at inbox authority. Exact replay with identical key and complete original payload (tenant TEN-5501, matter MTR-3301, partner BP-4400 at ROLE-V1, guideline GL-7001, session SES-LG-001) by still-authorized original requester BP-4400 within exact tenant TEN-5501 scope: system returns only A's existing non-secret receipt EXC-REF-8801 and current review status. 0 new exception actions. 0 duplicates. Changed payload or different principal/tenant scope: held or rejected.
Independently approved B (lg_1b, operation B). Fixture IGE-002: partner BP-4401 authenticates with session SES-LG-002 for tenant TEN-5502 (FIRM-B), matter MTR-3302, guideline GL-7002 at GL-V1, at ROLE-V1. Key op:lg_B_002 with immutable payload scoped to TEN-5502/MTR-3302/BP-4401/GL-7002/SES-LG-002. B's exception coordinator (scoped to TEN-5502) independently approves; B's exception processor delivers. Durable operation record for op:lg_B_002 committed at operation log; receipt EXC-REF-8802 at inbox authority; audit entry confirmed - each read independently. 2 new exception receipts across A/B, 0 from replay.
Denied: wrong tenant (lg_2a). IGE-004: Firm B exception to Firm A inbox. 0 cross-tenant reviews. Denied: wrong role (lg_2b). IGE-005: associate attempting partner action. Denied: stale guideline (lg_2c). IGE-006: guideline revision outdated. Denied: matter closed (lg_2d). IGE-007: matter closed. Denied: expired session (lg_2e). IGE-008: session expired.
Revocation (lg_4, IGE-R101). Fixture IGE-R101 with stable key op:lg_R_101: billing partner BP-4400 queues exception for TEN-5501/MTR-3301/guideline GL-7003/source revision SRC-V1 while holding partner role at ROLE-V1. Before first send, async worker detects ROLE-V2 (partner role revoked) and parks the queued submission. On retry of the same queued key op:lg_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:lg_A_001 committed, op:lg_B_002 committed, op:lg_R_101 parked in monitored queue (not a committed successful operation). Read inbox authority before: EXC-REF-8801 (op:lg_A_001) present, EXC-REF-8802 (op:lg_B_002) present, no receipt for op:lg_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 trust ledger write, no invoice transmission. Read durable operations after: op:lg_A_001 committed (unchanged), op:lg_B_002 committed (unchanged), op:lg_R_101 still parked (queued item, not a committed business effect). Read downstream before and after blocked send: invoice register at TEN-5501/MTR-3301, trust ledger at TEN-5501, payment ledger at TEN-5501 unchanged. Read inbox authority after: EXC-REF-8801 and EXC-REF-8802 unchanged, no receipt for op:lg_R_101. Read audit authority: op:lg_A_001 and op:lg_B_002 entries unchanged, no entry for op:lg_R_101 beyond denial record. If pending or in-flight at inbox authority for op:lg_R_101: HOLD for managing partner. Cross-tenant negative fixture: async export worker receives job with forged tenant ID TEN-5501 originating from TEN-5502 context; worker validates tenant binding before fetch, denies read of TEN-5501 inbox, denies write to TEN-5502 export; no exception receipt, no data exposure, no trust or invoice effect. Forged write to foreign target: TEN-5502 context submits job attempting to insert a synthetic exception record into TEN-5501 billing inbox; worker validates tenant binding before execution, denies the write; TEN-5501 inbox, receipts and audit unchanged. 0 exceptions from revoked roles.
Dropped response (lg_4b, IGE-R301). Distinct fixture: billing partner BP-4402 submits exception IGE-R301 for FIRM-A (TEN-5501)/matter MTR-3303/guideline GL-7002 revision GL-V2 with key op:lg_R_301, session SES-LG-003, response dropped. Independently read: (1) session SES-LG-003 current; (2) BP-4402 has partner role at TEN-5501 at current ROLE version; (3) matter MTR-3303 open and current source revision; (4) guideline GL-7002 at GL-V2 current; (5) durable transaction log for op:lg_R_301 present or absent; (6) inbox authority receipt under op:lg_R_301 present or absent; (7) audit authority for op:lg_R_301 present or absent; (8) pending/in-flight at inbox authority for op:lg_R_301; (9) invoice register at TEN-5501/MTR-3303, trust ledger at TEN-5501, payment ledger at TEN-5501 - each scoped to tenant/matter and op:lg_R_301 key. Denial guard: if session SES-LG-003 expired, partner role revoked or version mismatched, tenant TEN-5501 binding invalid, or matter/guideline 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 managing partner; no resend, no write, no trust or invoice 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 managing partner 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:lg_R_301, audit conclusively absent, pending/in-flight clear, invoice register, trust ledger and payment ledger at TEN-5501/MTR-3303 unchanged for this key, session current, BP-4402 authorized, partner role current, matter and guideline current; exception coordinator freshly scoped approves; exception processor resubmits same key op:lg_R_301 with same payload. No automatic retry. 0 duplicates. 0 trust writes, invoice transmissions or payments from recovery.
Staged restore (lg_5, IGE-R201). Stage privately with no production exception submissions or key writes. Read existing A/B keys and receipts: op:lg_A_001 to EXC-REF-8801 at inbox authority, op:lg_B_002 to EXC-REF-8802 at inbox authority. Read R101 key op:lg_R_101: no receipt (denied, role revoked ROLE-V2). Read R201 key op:lg_R_201: absent before restore. Independently read inbox authority, audit authority, pending/in-flight state, and downstream records (invoice register, trust ledger, payment ledger at each test tenant/matter) before restoring verified snapshot in private. After staging, re-read: op:lg_A_001 to EXC-REF-8801 (unchanged), op:lg_B_002 to EXC-REF-8802 (unchanged), op:lg_R_101 to no receipt (confirmed denied), op:lg_R_201 to absent, pending/in-flight clear, invoice register, trust ledger and payment ledger unchanged at each test matter. Planned test: compare authoritative operation log and audit records for op:lg_A_001, op:lg_B_002, op:lg_R_101 and op:lg_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: BP-4400 role revoked at lg_4 ROLE-V2 remains denied; no re-enabled role or live trust, invoice or payment effect from restore. Named owner: managing partner reads billing 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: managing partner; exception review reverts to manual inbox delivery.
Cross-tenant and access testing. Browser keyboard navigation with screen reader on billing dashboard: Tab/Shift-Tab moves focus between exception items; Enter opens detail; review action announced. 200% text zoom: matter names, guideline references and exception amounts readable. Narrow viewport (375px): exception table scrollable without data loss. Cross-tenant test: Firm A partner cannot access Firm B exception data, billing queue or audit logs. Wrong-role fixture: associate cannot execute partner billing exception review even with valid tenant membership.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.