TemplateLedger (fictional) manages practice-group administrative template documentation and layout records. MetricCore v4.2 (fictional) owns metric definitions, source staging, dashboard publishing and reconciliation workflows. The staging sandbox holds synthetic practice-group administrative template fixture records. Platform version: v2026-Q2-lg. Release owner: Victor Hale. Reviewer: Mira Cheng, Document Governance Analyst. Test record owner: Liam Ortiz. All records are synthetic. No live case files, no client records, no billing data, no privileged information, no document management changes, no system changes enter the fixture.
The mock advisory extract is a CSV with columns: template_id, practice_group, layout_status, owner_role, acceptance_timestamp, layout_edition, dossier_revision, batch_version. The administrative cutoff is 2026-11-23 17:00 America/Chicago. The reporting grain is practice_group, cutoff date. The metric counts approved practice-group administrative template dossiers with verified layout edition and current records-owner acceptance. If two records share the same template_id within the same practice group and date the collision is quarantined. The denominator is the independently approved eligible nonproduction practice-group administrative template roster at the same scope and cutoff.
The sandbox holds two scope fixtures. Demo Alder (DAL-01) carries practice-group administrative template records with a baseline of 23/34 dossier confirmations. Demo Birch (DBR-02) carries records for the same date with a baseline of 14/24 dossier confirmations.
Liam Ortiz owns the expected-results sheet, a separate spreadsheet listing each template_id, its practice group, records owner, acceptance status and the independently computed dossier total.
For Alder, Victor Hale authorizes only the synthetic batch-v4 staging request at 2026-11-23 17:00 America/Chicago. Operation dal-01-p1 binds the approved scope and proposed bytes. The baseline fixture is "DAL-01 | 2026-11-23 17:00 America/Chicago | batch-v4 | total=23/34 | pending\n" and the proposal is "DAL-01 | 2026-11-23 17:00 America/Chicago | batch-v4 | total=27/34 | staged\n", each with one literal LF at the end. Liam Ortiz compares the approved extract and the independently scoped worksheet for Alder. The worksheet starts from 34 entries in the independently approved eligible nonproduction practice-group administrative template roster. It counts 23 already qualified records and 4 separate practice-group administrative template dossiers with verified edition and current records-owner acceptance, for 27/34 with 7 remaining unqualified at the cutoff. Independently read the dashboard, API and export before and after staging. Each returns 23/34, status published, marker pub-0800 both times. The separate reviewer view changes from "No staged notice" at stg-0800-before to 27/34, status staged, at stg-0800 with receipt STG-DAL-01. Birch stays published at 14/24 and pub-0802 across dashboard, API and export. The journal records one staged effect and zero dispatch, publication or source writes.
Mira Cheng independently holds current Birch staging authority for batch-v4 at 2026-11-23 17:00 America/Chicago. Operation dbr-02-p2 binds only that scope and the proposed bytes. The disjoint baseline is "DBR-02 | 2026-11-23 17:00 America/Chicago | batch-v4 | total=14/24 | pending\n" and the proposal is "DBR-02 | 2026-11-23 17:00 America/Chicago | batch-v4 | total=18/24 | staged\n". Both end with one LF. Liam Ortiz owns the separate worksheet and compares the authorized Birch source. The worksheet starts from 24 entries in the independently approved eligible nonproduction practice-group administrative template roster. It counts 14 already qualified records and 4 separate practice-group administrative template dossiers with verified edition and current records-owner acceptance, for 18/24 with 6 remaining unqualified at the cutoff. In the three separate dashboard, API and export reads, Birch returns 14/24, status published, marker pub-0802 before and after staging. Its reviewer view starts at "No staged notice" under p2-0802-before, then reads 18/24, status staged, marker p2-0802-staged. The three Alder reads stay published at 23/34 and pub-0800. Record one Birch stage admission and zero dispatch, publication or source writes.
P3 sends dal-01-p1 with the identical approved Alder bytes and rechecks Victor Hale, current scope and batch-v4 independently. The already-existing receipt STG-DAL-01 and reviewer marker stg-0800 still show 27/34, staged. The dashboard, API and export each independently report 23/34, published, pub-0800. The journal shows zero new admission, dispatch, publication or source writes in the replay.
Held-out reconciliation. Liam Ortiz's held-out sheet covers November 22 for Demo Cedar (DCR-03). Expected 8/13. Dashboard displays 9/13 because an obsolete nonconfidential administrative template was counted as an approved layout. Discrepancy blocks release. Victor Hale corrects the layout-edition filter and confirms 8/13. Keep this third identity and approval window separate from Alder and Birch. The held-out sheet uses the original approved population and a separate edition for that cutoff.
Bounded read test. For Alder, an authorized mock read at pub-0800 returns 200 with 23/34 and an ETag. With unchanged content, the same authorized reader and matching ETag, the conditional response is 304 with no body. Revoke the reader role, then repeat the conditional request. It is denied without content even with the old ETag. The Birch value remains 14/24, with no stage or write.
F1 through F7 use isolated Alder fixtures. In F1 a viewer without preview authority is denied at issuance (403) with zero token. In F2 Mira Cheng receives a valid Birch token, loses that permission and is denied at use (401). F3 applies Mira Cheng's otherwise valid Birch approval to Alder and expects 403 with no admission. F4 submits stale batch-v3 against the required batch-v4 and expects 409. In F5 a modified Alder payload under dal-01-p1 no longer matches the approved bytes, so the validator returns 409. F6 withdraws Victor Hale's approval before mock dispatch and records zero dispatch, stage, publication or source writes. F7 removes practice_group from the local fixture and expects 422 before admission. All seven preserve 23/34, published, pub-0800.
F8 duplicate-pending detail. Reset the Alder slot with 27/34 pending under STG-DAL-01 at stg-0800. Read the journal independently for Victor Hale, current Alder scope, batch-v4 approval and key dal-01-p1. Resend the exact approved bytes under dal-01-p1 and get the same pending receipt. The stage does not advance. Dashboard, API and export each show 23/34, published, pub-0800 before and after. Birch remains at 14/24 and pub-0802. Count zero new dispatches, admissions, publications or source writes.
F9 lost-acknowledgement detail. In a separately reset Alder local-only publication fixture, Victor Hale separately approves a local publish for batch-v4 at the same cutoff under distinct operation key dal-01-f9. Seed the successfully applied publication at pub-0801 with receipt PUB-DAL-01, then drop the acknowledgement. Before any retry, query the authoritative journal by dal-01-f9. Read Victor Hale, Alder scope, batch-v4, receipt PUB-DAL-01 and applied status. Independently revalidate current authority for that report. Dashboard, API and export each show the applied value 27/34, published, pub-0801. Return the original applied receipt with zero redispatches, republications or source writes.
F10 terminal no-effect. For cancelled Alder operation dal-01-f10, query the authoritative journal and verify no admitted, pending or active execution. A terminal no-effect record at epoch 6 fences that earlier attempt. Re-read current batch-v4 approval and Alder authority for Victor Hale at epoch 7. Only then allow one bounded retry with identical bytes and key dal-01-f10. If any terminal, scope or epoch check is indeterminate, the hold permits zero dispatches and keeps 23/34 at pub-0800.
F11 contention detail. Run each Alder arm with a fresh reset. In (a), the journal records dal-01-p1 as active under Victor Hale, with STG-DAL-01, stg-0800 and current batch-v4. Independently read 23/34 as published at pub-0800. In (b), first read that same owner, value and marker. Grant Mira Cheng separate current approval for the same exact Alder slot in this arm. The authorized contender key dal-01-f11b conflicts with active dal-01-p1. Expect zero contender admissions and dispatches, with Victor Hale, 23/34 and pub-0800 preserved. In (c), the independent worksheet reader returns 23/34, while an export verifier using a suspect obsolete template layout returns 24/34. Both readings purport to describe the current Alder report at 2026-11-23 17:00 America/Chicago, batch-v4, using the same approved population and definition. The dashboard, API and export serving pointers keep 23/34, published, pub-0800. Hold with zero dispatches or retries until Victor Hale resolves the disagreement with Liam Ortiz.
F12 snapshot age and publication. In the Alder age-limit fixture, the separately verified value 27/34 starts published at pub-0801. At 47 hours force an eligible content refresh to time out. Independently re-read Victor Hale's current approval, Alder scope and confirmed publication status. The dashboard, API and controlled cache still serve 27/34 at pub-0801, with Birch staying at 14/24. At the hard 48-hour limit force a second eligible refresh failure. Independently recheck the same actor approval, scoped report and confirmed publication status. The independent limit withholds 27/34 even with current authority. All three surfaces return "template-index-current" and preserve Birch at 14/24. In three further resets, test at both 47 and 48 hours with the actor and scope still valid. An unavailable publication lookup reads unknown, a withdrawal reads withdrawn and a restriction reads restricted. Record each authority read independently. In each arm all three surfaces immediately withhold 27/34, return "template-index-current" and preserve Birch at 14/24. The controls cannot remove downloaded copies.
F16 late-revocation detail. In the Alder readiness fixture, read the private candidate registry: selector CFG-DAL-01, item DAL-01-a, batch-v4a, numeric result 27/34, scoped approver Victor Hale. Independently read the active public surfaces: selector CFG-DAL-00, Alder 23/34, fallback "template-index-current" and Birch 14/24 on dashboard, API and controlled cache. Assert that proposed DAL-01-a and proposed 27/34 are absent on all three active reader surfaces at readiness. Revoke DAL-01-a after readiness and before switching. Expect rejection. Re-read all three surfaces for selected CFG-DAL-00, 23/34, "template-index-current", Birch 14/24 and confirm DAL-01-a and 27/34 remain absent. In a separate compatible restore, recheck Victor Hale's current authority for CFG-DAL-01-r, compatible batch-v4a scope and confirm the withdrawal fence for DAL-01-a is intact before switching. After installation all three surfaces read CFG-DAL-01-r, 23/34, "template-index-current", Birch 14/24 with DAL-01-a and 27/34 absent. In the reset incompatible arm, the saved fixture lacks the required practice-group code. Reject it and independently read all three surfaces as CFG-DAL-00, 23/34, "template-index-current", Birch 14/24 with DAL-01-a and 27/34 absent. Previously downloaded copies may lag.
QA evidence and rerun. Liam Ortiz keeps the first failed check, wait condition and the exact approved eligible nonproduction practice-group administrative template roster revision. After Victor Hale corrects the obsolete administrative template layout, repeat only the independently instrumented held-out comparison. Mira Cheng reviews the corrected evidence. Keep release blocked until the scoped result matches the independent worksheet. Release cadence depends on change risk, approved scope and fixture quality. In the Alder fixture, Safari with VoiceOver should announce "Template status: Published" once while the triggering control retains focus.
F13-F18 accessibility. Chromium 320px, DOM observer. F13: Scope selector, Date filter, Publish Tab-reachable, Enter-activated (WCAG 2.2 2.1.1). F14: 2px focus ring (2.4.7). F15: template table reflows (1.4.10). F17: "Pending review"/"Published" visible (1.4.1). F18: "Template status: Published" announced (4.1.3). Safari VoiceOver targeting "Template status: Published".
| Step | Operation | Outcome |
|---|
| P1. Stage Alder template | Corrected 27/34 staged | Independent marker; no source write |
| P2. Stage Birch template | Corrected 18/24 staged | Independent marker; no source write |
| P3. Replay Alder 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: "Template 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.