ArrivalPulse (fictional) manages reporting-file arrival data. FeedCore v3.5 (fictional) owns feed definitions, arrival staging, dashboard publishing and reconciliation workflows. The staging sandbox holds synthetic file arrival fixture records. Platform version: v2026-Q2-ft. Release owner: Tariq Hassan, Engineering Lead. Reviewer: Mei Lin, Operations Analyst. Test record owner: Javier Ruiz. All records are synthetic. No account data, money data, trading activity, underwriting records, credit scores, payment processing, identity verification, AML submissions or regulated filings enter the fixture.
The source extract is a CSV with columns: event_key, feed_id, scheduled_slot, period, arrival_ts, revision, payload_hash. The business period is monthly (calendar month UTC). The reporting grain is feed, period. The numerator counts distinct event_keys where arrival_ts falls on or before the scheduled_slot deadline. The denominator counts expected scheduled slots for that feed and period. When multiple arrivals share the same event_key, the latest valid revision by arrival_ts is selected. Null arrival_ts events are excluded from the numerator. Duplicate event_keys after revision selection are flagged and deduplicated.
The sandbox holds two feed fixtures. Primary feed (PF-01) has 40 expected slots for the period ending 2026-11-30. Of those, 36 have on-time arrivals (baseline 36/40, 90%). Secondary feed (SF-02) has 10 expected slots, 8 on-time (baseline 8/10, 80%). The dashboard displays 36/40 (90%) for Primary and 8/10 (80%) for Secondary at baseline.
Javier Ruiz owns the expected-results sheet, a separate spreadsheet listing each event_key, its feed, scheduled_slot, arrival_ts, revision and the independently computed period aggregate. The sheet is distinct from the fixture, the dbt model output and the dashboard.
P1 is authorized by Tariq Hassan (ENG_LEAD, independently authorized for Primary scope) targeting the Primary period aggregate. The fixture holds a disjoint baseline record: "PF-01 | 2026-11 | batch-v35 | ontime=36 | expected=40 | pending\n" with the dashboard reading 36/40 (90%) at marker pub-0200; and a proposed record: "PF-01 | 2026-11 | batch-v35 | ontime=38 | expected=40 | staged\n". Each record is a UTF-8 string ending with one LF. The two corrected arrivals had a loaded-at timestamp in the current month but their feed/slot revision resolved to a prior month's schedule; selecting the latest valid revision by arrival_ts and deduplicating by feed/slot key corrects the count. P1 stages the corrected aggregate at Primary scope only. Before staging, the dashboard independently reads 36/40 at pub-0200 for Primary and the reviewer view returns an empty staged label. After staging, the reviewer view must show 38/40 (95%) with its linked batch-v35 digest. Read the separate staging record marked stg-0200, status staged and receipt STG-PF-01. At the same cutoff, Javier Ruiz reconciles 38/40 (95%) independently against the scoped expected-results sheet. Independently read the published Primary dashboard again at pub-0200: 36/40 (90%) still serves. Zero source writes. Secondary 8/10 unchanged.
Mei Lin owns the second check in Secondary scope as Operations Analyst. P2 uses separate fixture records for SF-02: baseline "SF-02 | 2026-11 | batch-v35 | ontime=8 | expected=10 | pending\n" and proposed "SF-02 | 2026-11 | batch-v35 | ontime=9 | expected=10 | staged\n", each ending with one LF. Neither record comes from the P1 fixture. The Secondary endpoint independently reads "No staged notice" at p2-0202-before before staging. After verifying current Secondary approval for the proposed record, Mei Lin stages the corrected aggregate. The reviewer view must show 9/10 (90%) with its linked batch-v35 digest. Zero source writes. Primary unchanged. Read the Secondary published dashboard before and after this stage: 8/10 (80%) at pub-0202 both times. The separate staged view reads 9/10 (90%) at p2-0202-staged with the approved batch-v35 revision. Javier Ruiz checks that exact value on the independent sheet for the same scope and cutoff. The Primary dashboard stays at 36/40 (90%) and pub-0200.
P3 replays the identical P1 staging request for Primary. The system returns the original staging receipt STG-PF-01 with stage marker stg-0200 and status staged. The published dashboard independently reads 36/40 at published reader marker pub-0200, unchanged from baseline. Scope (Primary valid), approval (batch-v35 current) and aggregate (38/40 unchanged in the staged view) are independently confirmed. Zero new admission, zero dispatch, zero publication and zero source writes.
Held-out reconciliation. Javier Ruiz's held-out sheet covers a third feed, Auxiliary (AF-03), for the same period. The sheet lists 15 expected slots with 12 on-time arrivals, expected 12/15 (80%). The dashboard displays 13/15 (86.7%) because one arrival was delivered twice with different revisions and both were counted. Require exact distinct event key after selecting latest valid revision. The metric owner corrects the deduplication, reruns for AF-03, and confirms 12/15 (80%) matches the held-out sheet.
Bounded read test. Three reads against Primary period aggregate with no staging effect. (a) Authorized read: 200 with current value and ETag. (b) Conditional read: 304. (c) Revoked permission: denied. Zero writes.
F1 through F7 exercise role, token, scope, batch version, payload hash, pre-publication withdrawal and missing-field validation. F1: viewer with no report-reader role receives 403, zero token. F2: Mei Lin's token revoked, 401, zero staged. F3: Secondary-scoped analyst targets Primary, 403 scope-denied. F4: stale batch, 409 version-rejected. F5: payload hash changed, 409 hash-mismatch. F6: Tariq Hassan withdraws before publish, zero effect. F7: feed_id missing, 422.
F8 duplicate-pending detail. On a separately reset fixture the published dashboard reads 36/40 for Primary at published reader marker pub-0200. The corrected aggregate 38/40 is admitted as pending under Tariq Hassan (ENG_LEAD, Primary), approval batch-v35, receipt STG-PF-01, stage marker stg-0200. The published dashboard independently reads 36/40 at pub-0200 unchanged; the staged view reads 38/40 at stg-0200. Authority for Tariq Hassan, Primary scope and batch-v35 are re-verified current. The identical request is retried on the same slot under the same actor. The system confirms the existing pending admission and returns STG-PF-01. Published dashboard still reads 36/40 at pub-0200. Zero additional admissions, zero dispatch, zero publication, zero source writes.
F9 lost-acknowledgement detail. On a separately reset fixture the Primary staging was published. The journal shows the applied entry: owner Tariq Hassan (ENG_LEAD, Primary), approval batch-v35, receipt STG-PF-01, status applied, published reader marker pub-0201. The acknowledgement was lost after commit. Before deciding to resend, the system queries the authoritative journal and finds the applied entry with STG-PF-01 and status applied. The published dashboard independently reads 38/40 at pub-0201. Authorization for Tariq Hassan, Primary scope and batch-v35 are re-verified current. The system returns STG-PF-01 with applied status. Zero redispatch, zero re-publication.
F10 terminal no-effect. For cancelled staging STG-PF-99 the system reads the journal and confirms no admitted, pending or active execution. It produces fenced epoch proof. Tariq Hassan's current Primary-scoped capability, batch-v35 approval and current epoch are independently re-verified. One bounded same-key retry under the new epoch is permitted. Any unresolved state triggers a hold with zero dispatch until journal status is independently resolved.
F11 contention detail. Three independently reset subcases on the same sandbox fixture. (a) STG-PF-01 is staged under Tariq Hassan (ENG_LEAD, Primary), approval batch-v35, execution active, receipt STG-PF-01, stage marker stg-0201. The published dashboard independently reads 36/40 at published reader marker pub-0201. (b) After independent reset with the prior occupied slot reseeded, Mei Lin (OPS_ANALYST, with separate current scoped approval batch-v35 for this occupied staging slot) independently reads the published dashboard at pub-0201 showing 36/40 for Primary, verifies Tariq Hassan as existing staging owner with active receipt STG-PF-01, and attempts STG-PF-03 targeting the same Primary aggregate slot. The API reports conflict. Tariq Hassan remains staging owner. Zero contender admission, zero dispatch, zero publication. The published dashboard independently reads 36/40 at pub-0201 unchanged. (c) Reset a separate conflict copy for the occupied Primary slot with the original owner and receipt reseeded. The independently queried Primary reviewer view reads 38/40 (95%) at batch-v35, while the published Primary dashboard reads 36/40 (90%) at pub-0201 under batch-v34. The journal retains Tariq Hassan as owner. After placing the slot on hold, read the published Primary dashboard again: 36/40 (90%) at pub-0201. Zero new admissions, dispatches or retries. Keep the hold until Tariq Hassan reconciles the two scoped readings and verifies the currently approved revision against the source.
F12 snapshot age and publication. The dashboard, API and policy-enforced cache consult separate actor approval, publication status and snapshot-age inputs for the Primary aggregate. The staged value 38/40 has already been verified and is seeded as the current published snapshot. At 47 hours since independent content verification, force an eligible refresh that times out. Independently recheck Tariq Hassan's current approval, Primary scope and confirm the record is currently publishable. On all three surfaces the published value 38/40 may still serve for Primary and 8/10 for Secondary must stay unchanged. At 48 hours force a second refresh with the mock returning unavailable. The independently enforced 48-hour hard max age cutoff now withholds 38/40 and all three surfaces must show approved fallback "feeds-index-current" for Primary and unchanged 8/10 for Secondary. 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 Primary. Each result must immediately withhold the affected value on the dashboard, API and cache and serve fallback "feeds-index-current". The unchanged 8/10 for Secondary must be preserved in each run. Already downloaded or offline copies can escape that control.
F16 late-revocation detail. Seed PF-01-a at batch-v35a for Primary. On the private readiness screen confirm current approval and the proposed value "38/40-updated" under selector CFG-PF-01. The public dashboard, API and policy-enforced cache must still read selector CFG-PF-00, value 36/40 for Primary, approved fallback "feeds-index-current" and 8/10 for Secondary. Revoke PF-01-a after readiness. The attempted switch is rejected. Read CFG-PF-00, 36/40, the absence of "38/40-updated", "feeds-index-current" and 8/10 independently on all three surfaces. In a separate compatible restore arm, prepare CFG-PF-01-r without PF-01-a. Immediately before switching, Tariq Hassan independently verifies current approval for the exact CFG-PF-01-r selector, Primary scope and its remaining batch artifacts, and confirms the withdrawal fence still excludes PF-01-a. After switching, the actual readback on each surface must show CFG-PF-01-r, 36/40, no "38/40-updated", fallback "feeds-index-current" and 8/10 for Secondary. In the separately reset incompatible arm, the saved fixture lacks the required feed group code for the candidate schema. Reject the restore and independently verify CFG-PF-00 remains selected, 36/40 still serves, "38/40-updated" is absent, "feeds-index-current" still serves and 8/10 for Secondary is unchanged on all three surfaces. No branch permits reusing PF-01-a. External copies can lag.
QA evidence and rerun. Javier Ruiz owns the test record. Tariq Hassan owns engineering release. Mei Lin owns operations release. Held-out is AF-03, not used to seed Primary or Secondary. Block because dashboard shows 13/15 while held-out expects 12/15. Preserve first failing trace. Rerun smallest check on corrected deduplication. Release cadence conditional on risk, scope, fixture quality and change pattern.
F13-F18 accessibility. Chromium at 320px. F13: Feed selector, Period filter and Publish action Tab-reachable, Enter-activated (WCAG 2.2 2.1.1). F14: 2px focus ring, no focus loss (WCAG 2.4.7). F15: table reflows at 320 CSS px, zero horizontal scroll (WCAG 1.4.10). F17: "Pending review" and "Published" text visible (WCAG 1.4.1). F18: aria-live "Aggregate status: Published", focus stays on control (WCAG 4.1.3). Safari/VoiceOver check targets "Aggregate status: Published".
| Step | Operation | Outcome |
|---|
| P1. Stage Primary aggregate | Corrected 38/40 staged | Independent marker; no source write |
| P2. Stage Secondary aggregate | Corrected 9/10 staged | Independent marker; no source write |
| P3. Replay Primary staging | Original receipt and marker | No new staging or write |
| F1. Viewer at query | Role denied, zero token | expect: 403, zero token |
| F2. Revoked at use | Denied before change | 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 publish | No published effect | expect: 0 published effect |
| F7. Missing field | Validation error | expect: 422 validation-error |
| F8. Retry pending staging | Journal pending; dashboard unchanged | 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 publish | 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" visible | target: "Published" visible |
| F18. Status announcement | target: "Aggregate 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.