BookingHub (fictional) manages property reservation data. MetricCore v4.2 (fictional) owns metric definitions, source staging, dashboard publishing and reconciliation workflows. The staging sandbox holds synthetic reservation fixture records. Platform version: v2026-Q2-tr. Release owner: Alec Durand, Revenue Director. Reviewer: Maya Lin, Operations Analyst. Test record owner: Sofia Reyes. All records are synthetic. No guest personal records, loyalty balances, payment card details or rate negotiations enter the fixture.
The source extract is a CSV with columns: reservation_id, property_code, stay_date, room_type, status, batch_version. The reporting grain is property, stay date. The numerator counts confirmed room-nights: each authorized reservation contributes exactly one room-night per stay night at the current property. The denominator counts available room-nights (rooms multiplied by one). A modification keeps the original reservation_id with the latest approved revision. Cancellations before business-date close are excluded from the numerator. Duplicate reservation_ids for the same property and stay date are flagged.
The sandbox holds two property fixtures. Demo Harbour (DH-01) has 40 available room-nights for stay date 2026-11-20, with 24 confirmed (baseline rate 24/40 = 60%). Demo Ridge (DR-02) has 20 available room-nights, with 12 confirmed (baseline rate 12/20 = 60%).
Sofia Reyes owns the expected-results sheet, a separate spreadsheet that lists each reservation_id, its property, stay date, room type, status and the independently computed stay-date rate. The sheet obtains its per-reservation confirmed/available 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 Alec Durand (REVENUE_DIRECTOR, independently authorized for Harbour scope) targeting the Harbour stay-date occupancy for 2026-11-20. The fixture holds a disjoint baseline record: "DH-01 | 2026-11-20 | batch-v10 | occupied=24 | available=40 | pending\n" with the dashboard reading 24/40 (60%) at marker pub-0100; and a proposed record: "DH-01 | 2026-11-20 | batch-v10 | occupied=27 | available=40 | staged\n". Each record is a UTF-8 string ending with one LF. The baseline 24/40 undercounts the occupancy because a stale channel snapshot rejected three valid confirmed room-night allocations for stay date 2026-11-20. Each allocation is keyed by reservation ID, stay date and room allocation at the current property and revision. The corrected revision restores the three allocations under the updated snapshot at batch-v10. Before staging, independently read the dashboard, API and export for Harbour: all three return 24/40 (60%), status published, marker pub-0100. The reviewer view returns "No staged notice" at stage marker stg-0100. P1 stages the corrected rate at Harbour scope only. After staging, independently read the dashboard, API and export for Harbour again: all three still return 24/40 (60%), status published, marker pub-0100 unchanged. The separate reviewer view now shows 27/40 (67.5%), status staged, marker stg-0100, receipt STG-DH-01, linked to batch-v10. At the same cutoff, Sofia Reyes reconciles 27/40 (67.5%) on the expected-results sheet: the sheet counts 27 confirmed room-nights out of 40 available for DH-01 date 2026-11-20 at batch-v10. Zero source writes outside the staging layer. The Ridge value 12/20 (60%) is unchanged on dashboard, API and export at pub-0100.
Maya Lin owns the second check in Ridge scope as Operations Analyst. P2 uses separate fixture records for DR-02: baseline "DR-02 | 2026-11-20 | batch-v10 | occupied=12 | available=20 | pending\n" and proposed "DR-02 | 2026-11-20 | batch-v10 | occupied=13 | available=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 Ridge: all three return 12/20 (60%), status published, marker pub-0102. The Ridge reviewer view returns "No staged notice" at stage marker p2-0102-before. After verifying current Ridge approval for the proposed record, Maya Lin stages the corrected rate. The reviewer view now shows 13/20 (65%) for Ridge, status staged, marker p2-0102-staged, linked to batch-v10. Sofia Reyes reconciles 13/20 (65%) on the expected-results sheet for DR-02 date 2026-11-20: the sheet counts 13 confirmed room-nights out of 20 available at batch-v10, scope Ridge, cutoff 2026-11-20. The independent inventory sheet contains 20 approved available room-nights. Its reservation tab contains 12 already confirmed and one newly reconciled current allocation; seven approved available room-nights have no qualifying allocation at close. After staging, independently read the dashboard, API and export for Ridge: all three still return 12/20 (60%), status published, marker pub-0102. Zero source writes. The Harbour dashboard, API and export stay at 24/40 (60%), 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 Harbour. The system returns the original staging receipt STG-DH-01 with stage marker stg-0100 and status staged. Independently read the dashboard, API and export for Harbour: all three return 24/40 (60%), status published, marker pub-0100 unchanged from baseline. Independently query the Harbour reviewer view: 27/40 (67.5%) at stg-0100, still staged under the existing receipt. Scope (Harbour valid), approval (batch-v10 current) and rate (27/40 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 date (2026-11-19) for a third property, Demo Canal (DC-03). The DC-03 fixture is excluded from P1 and P2 entirely. The sheet lists 16 available room-nights with 10 confirmed, expected rate 10/16 (62.5%). The dashboard displays 11/16 (68.75%) because one superseded booking move into the held-out date was counted as a new confirmed room-night, overcounting the numerator by one. Each stay is keyed by reservation ID, stay date and room allocation at the current property and revision; a booking move keeps the original reservation ID. The discrepancy between expected 62.5% and observed 68.75% blocks the release. The metric owner corrects the booking revision rule, reruns for DC-03 date 2026-11-19, and confirms 10/16 (62.5%) matches the held-out sheet.
Bounded read test. Three reads against the Harbour stay-date rate with no staging effect. (a) Authorized read: the dashboard returns 24/40 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 property 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: Maya Lin holds a previously valid issued preview for the Ridge 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 Ridge-scoped analyst targets Harbour 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: Alec Durand withdraws the Harbour staging candidate before any dispatch; the system confirms zero dispatch, zero staged effect, zero publication and zero source writes. F7: the property_code field is missing and the request receives 422 validation-error.
F8 duplicate-pending detail. On a separately reset fixture the published dashboard reads 24/40 for Harbour at published reader marker pub-0100. The corrected rate 27/40 is admitted as pending under Alec Durand (REVENUE_DIRECTOR, Harbour), approval batch-v10, receipt STG-DH-01, stage marker stg-0100. The published dashboard independently reads 24/40 at pub-0100 unchanged; the separate staged view reads 27/40 at stg-0100. Authority for Alec Durand, Harbour 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-DH-01. The published dashboard still reads 24/40 at pub-0100. Zero additional admissions, zero dispatch, zero publication, zero source writes.
F9 lost-acknowledgement detail. On a separately reset fixture the Harbour staging was published. The journal shows the applied entry: owner Alec Durand (REVENUE_DIRECTOR, Harbour), approval batch-v10, receipt STG-DH-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-DH-01 and status applied. The published dashboard independently reads 27/40 at pub-0101, confirming the rate reached the controlled surface. Authorization for Alec Durand, Harbour scope and batch-v10 are independently re-verified current. The system returns the original receipt STG-DH-01 with the applied status. Zero redispatch, zero re-publication.
F10 terminal no-effect. For cancelled staging STG-DH-99 the system reads the journal and confirms no admitted, pending or active execution referencing STG-DH-99. It produces fenced epoch proof establishing that no future execution can reference STG-DH-99 under the current epoch. Alec Durand's current Harbour-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-DH-01 is staged under Alec Durand (REVENUE_DIRECTOR, Harbour), approval batch-v10, execution active, receipt STG-DH-01, stage marker stg-0101. The published dashboard independently reads 24/40 at published reader marker pub-0101. (b) After independent reset with the prior occupied slot reseeded, Maya Lin (OPERATIONS_ANALYST, with separate current scoped approval batch-v10 for this occupied staging slot) independently reads the published dashboard at pub-0101 showing 24/40 for Harbour, verifies Alec Durand as existing staging owner with active receipt STG-DH-01, and attempts STG-DH-03 targeting the same Harbour occupancy slot. The API reports conflict. Alec Durand remains staging owner. Zero contender admission, zero dispatch, zero publication. The published dashboard independently reads 24/40 at pub-0101 unchanged. (c) On a separately reset conflict fixture for the occupied Harbour slot, the published Harbour dashboard reads 24/40 at pub-0101 under the approved current batch-v10 edition. A stale channel extract for the same Harbour scope, same date 2026-11-20 and same approved batch-v10 claims the rate is 27/40, contradicting the 24/40 published at pub-0101. Alec Durand independently queries the published report (24/40 at pub-0101) and the channel extract (27/40). The two readings purport to be the same current approved scope, period and batch but disagree. The journal retains Alec Durand as owner. After placing the slot on hold, the published Harbour dashboard still reads 24/40 at pub-0101. Zero new admissions, dispatches or retries. Alec Durand investigates the channel adapter's duplicate booking-move handling, identifies the spurious reservation 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 Harbour rate. The staged value 27/40 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 Alec Durand's current approval (confirmed current), Harbour scope (confirmed valid) and publication authority (confirmed active). On all three surfaces the published value 27/40 may still serve for Harbour and 12/20 for Ridge 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 27/40; all three surfaces must show approved fallback "occupancy-index-current" for Harbour with an immediate hold. The unchanged 12/20 for Ridge 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 Harbour. 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 "occupancy-index-current" on dashboard, API and cache. The unchanged 12/20 for Ridge must be preserved in each run. Already downloaded or offline copies can escape that control.
F16 late-revocation detail. Seed candidate DH-01-a with metric 27/40 at batch-v10a for Harbour under selector CFG-DH-01. On the private readiness screen confirm current approval and the proposed candidate DH-01-a carrying 27/40 under selector CFG-DH-01. The public dashboard, API and policy-enforced cache must still read selector CFG-DH-00, value 24/40 for Harbour, approved fallback "occupancy-index-current" and 12/20 for Ridge. Revoke DH-01-a after readiness. The attempted switch is rejected. Independently read all three surfaces: CFG-DH-00, 24/40, candidate DH-01-a absent, no 27/40 from the revoked candidate, "occupancy-index-current" serving, 12/20 for Ridge unchanged. In a separate compatible restore arm, prepare CFG-DH-01-r without DH-01-a. Immediately before switching, Alec Durand independently verifies current approval for the exact CFG-DH-01-r selector, Harbour scope and its remaining batch artifacts, and confirms the withdrawal fence still excludes DH-01-a. After switching, the actual readback on the dashboard, API and cache must show CFG-DH-01-r, 24/40, candidate DH-01-a absent, no 27/40 from the revoked candidate, fallback "occupancy-index-current" and 12/20 for Ridge. In the separately reset incompatible arm, the saved fixture lacks the required property group code for the candidate schema. Reject the restore. Independently read the dashboard, API and cache: CFG-DH-00 remains selected, the approved previous value 24/40 still serves for Harbour, the proposed 27/40 from DH-01-a does not appear on any surface, candidate DH-01-a is absent, "occupancy-index-current" still serves and 12/20 for Ridge is unchanged on all three surfaces. No branch permits reusing DH-01-a. External copies can lag.
QA evidence and rerun. Sofia Reyes owns the test record. Alec Durand owns the revenue release decision. Maya Lin owns the operations release decision. The held-out input is the Demo Canal DC-03 fixture for date 2026-11-19, not used to seed or calibrate Harbour or Ridge. Block release because the dashboard displays 11/16 while the held-out sheet expects 10/16. Preserve the first failing trace. Rerun the smallest instrumented check on the corrected booking revision rule. Release cadence is conditional on risk, scope, fixture quality and the buyer's change pattern.
F13-F18 accessibility. Chromium at 320px with a DOM status observer. F13: Property selector, Date 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: occupancy 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 "Occupancy status: Published" while focus stays on the Publish action control (WCAG 4.1.3); no guest or private data in the announced text. A reviewer uses Safari with VoiceOver for a separate manual check targeting the identical expected string "Occupancy status: Published".
| Step | Operation | Outcome |
|---|
| P1. Stage Harbour rate | Corrected 27/40 staged | Independent marker; no source write |
| P2. Stage Ridge rate | Corrected 13/20 staged | Independent marker; no source write |
| P3. Replay Harbour 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: "Occupancy 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.