LegalSync (fictional) manages time-entry data. MetricCore v4.2 (fictional) owns metric definitions, source staging, dashboard publishing and reconciliation workflows. The staging sandbox holds synthetic time-entry fixture records. Platform version: v2026-Q2-lg. Release owner: Daniel Ashworth, Billing Partner. Reviewer: Priya Nair, Legal Operations Analyst. Test record owner: Sofia Reyes. All records are synthetic. No privileged content, retainer balances, settlement amounts or fee arrangements enter the fixture.
The source extract is a CSV with columns: summary_id, matter_code, work_code, billing_period, approval_status, batch_version. The reporting grain is matter, billing period. The numerator counts distinct approved time-summary rows with a valid work-code. The denominator counts all eligible rows at the billing cutoff, including those with unmapped work codes. An expired versioned work-code alias is treated as unmapped, not as valid. Duplicate summary IDs within the same billing scope and period are flagged. Separate approved summaries remain separate even when their matter and codes match.
The sandbox holds two matter fixtures. Demo Accord (DA-01) has 42 eligible rows for billing period 2026-11, with 33 approved valid (baseline rate 33/42 = 78.6%). Demo Tribunal (DT-02) has 20 eligible rows, with 13 approved valid (baseline rate 13/20 = 65%).
Sofia Reyes owns the expected-results sheet, a separate spreadsheet that lists each opaque summary_id, its matter, billing period, work code, approval status and the independently computed compliance rate. The sheet obtains its per-row approved/eligible counts from the approved source extract at the declared batch revision. The sheet is distinct from the fixture, the dbt model output and the dashboard.
P1 is authorized by Daniel Ashworth (BILLING_PARTNER, independently authorized for Accord scope) targeting the Accord billing compliance for 2026-11. The fixture holds a disjoint baseline record: "DA-01 | 2026-11 | batch-v10 | approved_valid=33 | eligible=42 | pending\n" with the dashboard reading 33/42 (78.6%) at marker pub-0100; and a proposed record: "DA-01 | 2026-11 | batch-v10 | approved_valid=36 | eligible=42 | staged\n". Each record is a UTF-8 string ending with one LF. The three previously excluded rows were approved time-entries with valid work-codes for billing period 2026-11; they were excluded because a versioned work-code alias had expired at the time of import and the adapter treated the rows as unmapped, although the alias was subsequently renewed before the billing cutoff under the current work-code revision. Before staging, independently read the dashboard, API and export for Accord: all three return 33/42 (78.6%), status published, marker pub-0100. The reviewer view returns "No staged notice" at stage marker stg-0100. P1 stages the corrected rate at Accord scope only. After staging, independently read the dashboard, API and export for Accord again: all three still return 33/42 (78.6%), status published, marker pub-0100 unchanged. The separate reviewer view now shows 36/42 (85.7%), status staged, marker stg-0100, receipt STG-DA-01, linked to batch-v10. At the same cutoff, Sofia Reyes reconciles 36/42 (85.7%) on the expected-results sheet: the sheet counts 36 approved valid time-summary rows out of 42 eligible for DA-01 period 2026-11 at batch-v10. Zero source writes outside the staging layer. The Tribunal value 13/20 (65%) is unchanged on dashboard, API and export at pub-0100.
Priya Nair owns the second check in Tribunal scope as Legal Operations Analyst. P2 uses separate fixture records for DT-02: baseline "DT-02 | 2026-11 | batch-v10 | approved_valid=13 | eligible=20 | pending\n" and proposed "DT-02 | 2026-11 | batch-v10 | approved_valid=15 | eligible=20 | staged\n", each ending with one LF. Neither record comes from the P1 fixture. Before staging, independently read the dashboard, API and export for Tribunal: all three return 13/20 (65%), status published, marker pub-0102. The Tribunal reviewer view returns "No staged notice" at stage marker p2-0102-before. After verifying current Tribunal approval for the proposed record, Priya Nair stages the corrected rate. The reviewer view now shows 15/20 (75%) for Tribunal, status staged, marker p2-0102-staged, linked to batch-v10. Sofia Reyes reconciles 15/20 (75%) on the expected-results sheet for DT-02 period 2026-11: the sheet counts 15 approved valid rows out of 20 eligible at batch-v10, scope Tribunal, cutoff 2026-11. On the separate approved summary roster she checks 13 already mapped plus two newly validated work codes and retains five unmapped eligible rows in the denominator. After staging, independently read the dashboard, API and export for Tribunal: all three still return 13/20 (65%), status published, marker pub-0102. Zero source writes. The Accord dashboard, API and export stay at 33/42 (78.6%), status published, marker pub-0100. One stage admission for this fixture, with zero dispatch, publication or source writes.
P3 replays the identical P1 staging request for Accord. The system returns the original staging receipt STG-DA-01 with stage marker stg-0100 and status staged. Independently read the dashboard, API and export for Accord: all three return 33/42 (78.6%), status published, marker pub-0100 unchanged from baseline. Independently query the Accord reviewer view: 36/42 (85.7%) at stg-0100, still staged under the existing receipt. Scope (Accord valid), approval (batch-v10 current) and rate (36/42 unchanged) are independently confirmed. Zero new admission, zero dispatch, zero publication and zero source writes.
Held-out reconciliation. Sofia Reyes's held-out sheet covers a different billing period (2026-10) for a third matter, Demo Ruling (DR-03). The DR-03 fixture is excluded from P1 and P2 entirely. The sheet lists 12 eligible rows with 8 approved valid, expected rate 8/12 (66.7%). The dashboard displays 9/12 (75%) because one expired versioned work-code alias was counted as a valid entry when the approved schema treats that alias revision as inactive after its expiry date. The discrepancy between expected 66.7% and observed 75% blocks the release. The metric owner corrects the alias handling, reruns for DR-03 period 2026-10, and confirms 8/12 (66.7%) matches the held-out sheet.
Bounded read test. Three reads against the Accord billing compliance rate with no staging effect. (a) Authorized read: the dashboard returns 33/42 and ETag. (b) Conditional read with matching ETag: 304 with no body. (c) Read with revoked report-reader permission: denied with no content. Zero writes or staging effects.
F1 through F7 exercise role, token, scope, batch version, payload hash, pre-dispatch withdrawal and missing-field validation. F1: a matter viewer with no report-reader role attempts to obtain a preview of the staged rate; the system denies preview issuance with 403 and zero issued token, zero staged effect. F2: Priya Nair holds a previously valid issued preview for the Tribunal staged rate; her report-reader role is revoked mid-session; the next read using the existing preview receives 401 with zero staged effect. F3: a Tribunal-scoped analyst targets Accord and receives 403 scope-denied. F4: a stale batch version batch-v9 is submitted and receives 409 version-rejected (batch-v10 required). F5: the aggregate payload hash is changed after approval and receives 409 hash-mismatch. F6: Daniel Ashworth withdraws the Accord staging candidate before any dispatch; the system confirms zero dispatch, zero staged effect, zero publication and zero source writes. F7: the matter_code field is missing and the request receives 422 validation-error.
F8 duplicate-pending detail. On a separately reset fixture the published dashboard reads 33/42 for Accord at published reader marker pub-0100. The corrected rate 36/42 is admitted as pending under Daniel Ashworth (BILLING_PARTNER, Accord), approval batch-v10, receipt STG-DA-01, stage marker stg-0100. The published dashboard independently reads 33/42 at pub-0100 unchanged; the separate staged view reads 36/42 at stg-0100. Authority for Daniel Ashworth, Accord scope and batch-v10 approval are independently re-verified current. The identical staging request is retried on the same operation slot under the same actor. The system confirms the existing pending admission, re-authorizes against batch-v10 and returns STG-DA-01. The published dashboard still reads 33/42 at pub-0100. Zero additional admissions, zero dispatch, zero publication, zero source writes.
F9 lost-acknowledgement detail. On a separately reset fixture the Accord staging was published. The journal shows the applied entry: owner Daniel Ashworth (BILLING_PARTNER, Accord), approval batch-v10, receipt STG-DA-01, status applied, published reader marker pub-0101. The acknowledgement was lost after commit. Before deciding to resend, the system queries the authoritative journal and finds the applied entry with receipt STG-DA-01 and status applied. The published dashboard independently reads 36/42 at pub-0101, confirming the rate reached the controlled surface. Authorization for Daniel Ashworth, Accord scope and batch-v10 are independently re-verified current. The system returns the original receipt STG-DA-01 with the applied status. Zero redispatch, zero re-publication.
F10 terminal no-effect. For cancelled staging STG-DA-99 the system reads the journal and confirms no admitted, pending or active execution referencing STG-DA-99. It produces fenced epoch proof establishing that no future execution can reference STG-DA-99 under the current epoch. Daniel Ashworth's current Accord-scoped capability, batch-v10 approval and current epoch are independently re-verified. One bounded same-key retry under the new epoch is permitted. Empty UI, timeout and missing journal entry alone are not sufficient proof of terminal no-effect. Any unresolved state triggers a hold with zero dispatch until the journal status is independently resolved.
F11 contention detail. Three independently reset subcases on the same sandbox fixture. (a) STG-DA-01 is staged under Daniel Ashworth (BILLING_PARTNER, Accord), approval batch-v10, execution active, receipt STG-DA-01, stage marker stg-0101. The published dashboard independently reads 33/42 at published reader marker pub-0101. (b) After independent reset with the prior occupied slot reseeded, Priya Nair (LEGAL_OPS_ANALYST, with separate current scoped approval batch-v10 for this occupied staging slot) independently reads the published dashboard at pub-0101 showing 33/42 for Accord, verifies Daniel Ashworth as existing staging owner with active receipt STG-DA-01, and attempts STG-DA-03 targeting the same Accord compliance slot. The API reports conflict. Daniel Ashworth remains staging owner. Zero contender admission, zero dispatch, zero publication. The published dashboard independently reads 33/42 at pub-0101 unchanged. (c) On a separately reset conflict fixture for the occupied Accord slot, the published Accord dashboard reads 33/42 at pub-0101 under the approved current batch-v10 edition. A stale billing extract for the same Accord scope, same period 2026-11 and same approved batch-v10 claims the rate is 36/42, contradicting the 33/42 published at pub-0101. Daniel Ashworth independently queries the published report (33/42 at pub-0101) and the billing extract (36/42). The two readings purport to be the same current approved scope, period and batch but disagree. The journal retains Daniel Ashworth as owner. After placing the slot on hold, the published Accord dashboard still reads 33/42 at pub-0101. Zero new admissions, dispatches or retries. Daniel Ashworth investigates the alias handling in the billing adapter, identifies the expired versioned work-code alias as the cause and corrects the extract before any retry.
F12 snapshot age and publication. The dashboard, API and policy-enforced cache consult separate actor approval, publication status and snapshot-age inputs for the Accord rate. The staged value 36/42 has already been verified and is seeded as the current published snapshot in a separately reset fixture. At 47 hours since independent content verification, force an eligible refresh that times out. Independently recheck Daniel Ashworth's current approval (confirmed current), Accord scope (confirmed valid) and publication authority (confirmed active). On all three surfaces the published value 36/42 may still serve for Accord and 13/20 for Tribunal must stay unchanged. At 48 hours force a second refresh with the mock returning unavailable. Independently reconfirm the same current actor approval, scope and publication authority. The independently enforced 48-hour hard max age cutoff now withholds 36/42; all three surfaces must show approved fallback "compliance-index-current" for Accord with an immediate hold. The unchanged 13/20 for Tribunal is preserved. In three separate reset runs at both ages, keep actor approval current and make the publication lookup time out, return withdrawn, or return restricted for Accord. After each failure independently recheck actor authorization, scope and publication authority before the hold is applied. Each result must immediately withhold the affected value and serve fallback "compliance-index-current" on dashboard, API and cache. The unchanged 13/20 for Tribunal must be preserved in each run. Already downloaded or offline copies can escape that control.
F16 late-revocation detail. Seed candidate DA-01-a with metric 36/42 at batch-v10a for Accord under selector CFG-DA-01. On the private readiness screen confirm current approval and the proposed candidate DA-01-a carrying 36/42 under selector CFG-DA-01. The public dashboard, API and policy-enforced cache must still read selector CFG-DA-00, value 33/42 for Accord, approved fallback "compliance-index-current" and 13/20 for Tribunal. Revoke DA-01-a after readiness. The attempted switch is rejected. Independently read all three surfaces: CFG-DA-00, 33/42, candidate DA-01-a absent, no 36/42 from the revoked candidate, "compliance-index-current" serving, 13/20 for Tribunal unchanged. In a separate compatible restore arm, prepare CFG-DA-01-r without DA-01-a. Immediately before switching, Daniel Ashworth independently verifies current approval for the exact CFG-DA-01-r selector, Accord scope and its remaining batch artifacts, and confirms the withdrawal fence still excludes DA-01-a. After switching, the actual readback on the dashboard, API and cache must show CFG-DA-01-r, 33/42, candidate DA-01-a absent, no 36/42 from the revoked candidate, fallback "compliance-index-current" and 13/20 for Tribunal. In the separately reset incompatible arm, the saved fixture lacks the required matter group code for the candidate schema. Reject the restore. Independently read the dashboard, API and cache: CFG-DA-00 remains selected, the approved previous value 33/42 still serves for Accord, the proposed 36/42 from DA-01-a does not appear on any surface, candidate DA-01-a is absent, "compliance-index-current" still serves and 13/20 for Tribunal is unchanged on all three surfaces. No branch permits reusing DA-01-a. External copies can lag.
QA evidence and rerun. Sofia Reyes owns the test record. Daniel Ashworth owns the billing release decision. Priya Nair owns the operations release decision. The held-out input is the Demo Ruling DR-03 fixture for period 2026-10, not used to seed or calibrate Accord or Tribunal. Block release because the dashboard displays 9/12 while the held-out sheet expects 8/12. Preserve the first failing trace. Rerun the smallest instrumented check on the corrected alias handling. Release cadence is conditional on risk, scope, fixture quality and the firm's change pattern.
F13-F18 accessibility. Chromium at 320px with a DOM status observer. F13: Matter selector, Period filter and Publish action controls are each Tab-reachable and Enter-activated (WCAG 2.2 2.1.1). F14: 2px visible focus ring on each control, no focus loss during Tab traversal (WCAG 2.4.7). F15: compliance table reflows at 320 CSS px with zero horizontal scroll (WCAG 1.4.10). F17: non-color text labels "Pending review" and "Published" visible alongside any status indicator (WCAG 1.4.1). F18: after activating the Publish action control, the DOM status observer reads aria-live region text "Compliance status: Published" while focus stays on the Publish action control (WCAG 4.1.3); no privileged or matter-sensitive data in the announced text. A reviewer uses Safari with VoiceOver for a separate manual check targeting the identical expected string "Compliance status: Published".
| Step | Operation | Outcome |
|---|
| P1. Stage Accord rate | Corrected 36/42 staged | Independent marker; no source write |
| P2. Stage Tribunal rate | Corrected 15/20 staged | Independent marker; no source write |
| P3. Replay Accord staging | Original receipt and marker | No new staging or write |
| F1. Viewer at preview | Preview denied, zero token | expect: 403, zero token |
| F2. Revoked at use | Previously valid denied | expect: 401 revoked, 0 staged |
| F3. Wrong scope | Scope denied, 0 effect | expect: 403 scope-denied |
| F4. Stale batch | Version rejected | expect: 409 version-rejected |
| F5. Changed payload | Hash mismatch | expect: 409 hash-mismatch |
| F6. Withdraw before dispatch | No dispatch or staged effect | expect: 0 dispatch, 0 effect |
| F7. Missing field | Validation error | expect: 422 validation-error |
| F8. Retry pending staging | Journal pending; dashboard same | expect: 0 publish, 0 change |
| F9. Published lost-ack | Journal published; confirmed | No re-publication |
| F10. Terminal no effect | Not staged; fenced; 1 retry | expect: not-staged, fenced |
| F11. Occupied slot | Owner holds; 0 contender | expect: owner unchanged |
| F12. Refresh near cutoff | Serve before; withhold after | expect: serve pre, withhold post |
| F13. Keyboard reach and use | Tab to controls | Use controls with Enter |
| F14. Visible focus | Focus ring visible | Focus remains on control |
| F15. Reflow at 320px | target: no horizontal scroll | target: table content visible |
| F16. Late revocation | Stale blocked; prior serves | expect: blocked, prior serves |
| F17. Status in text | target: "Pending review" | target: "Published" visible |
| F18. Status announcement | target: "Compliance status: Published" | target: focus stays on control |
| Positive state | 3 of 3 correct | 3/3 targets: 2 staged, 0 from P3, 0 source writes |
| Failure state | 18 of 18 correct | 18/18 targets: denial/hold, accessibility, 0 unauthorized |
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.