SellPulse (fictional) manages retail sell-side data. UnitCore v2.8 (fictional) owns net-unit definitions, source staging, dashboard publishing and reconciliation. The sandbox holds synthetic transaction fixtures. Platform version: v2026-Q2-rt. Release owner: Nora Lindstrom, Merchandising Director. Reviewer: Sam Okafor, Retail Analyst. Test record owner: Priya Desai. All records are synthetic. No personal customer data, pricing changes, payment details or inventory write-backs enter the fixture.
The source extracts are CSVs. POS extract columns: txn_id, store_id, channel, units_sold, units_returned, return_type, txn_date. Online extract: order_id, store_id, channel, units_sold, units_returned, return_type, order_date. The business week is Monday 00:00 to Sunday 23:59 UTC. The grain is store, week, channel. Net units = in-window units_sold minus in-window units_returned where return_type is "approved". Pending and disputed returns are excluded.
The sandbox holds two store fixtures. Store Alpha (SA-01) POS: 25 sold, 5 approved returns, net 20 (baseline). Store Beta (SB-02) online: 17 sold, 3 approved returns, net 14 (baseline). The dashboard displays 20 for Alpha and 14 for Beta.
Priya Desai owns the expected-results sheet with each transaction, store, channel, return_type and the independently computed net units.
P1 is authorized by Nora Lindstrom (MERCH_DIRECTOR, independently authorized for Alpha scope). The fixture holds a disjoint baseline record: "SA-01 | 2026-W47 | batch-v28 | sold=25 | returns=5 | net=20 | pending\n" with the dashboard reading net 20 at marker pub-0600; and a proposed record: "SA-01 | 2026-W47 | batch-v28 | sold=25 | returns=4 | net=21 | staged\n". Each record is a UTF-8 string ending with one LF. One return was reclassified from approved to disputed after the return-ID linkage confirmed the POS return_id and the online return_id mapped to the same canonical return event. A dbt test on the Alpha fixture verifies that two distinct same-store/date/amount returns both count as separate events when their canonical return IDs differ, and blocks any unresolved linkage where the canonical ID is unknown. P1 stages at Alpha scope only. Before staging, the dashboard independently reads net 20 at pub-0600 and the reviewer view returns an empty staged label. After staging, the reviewer view must show net 21 with its linked batch-v28 digest. Read the separate staging record marked stg-0600, status staged and receipt STG-SA-01. At the same cutoff, Priya Desai reconciles net 21 independently against the scoped expected-results sheet. Independently read the published Alpha dashboard again at pub-0600: net 20 still serves. Zero source writes. Beta unchanged.
Sam Okafor owns the second check in Beta scope. P2 uses separate fixture records for SB-02: baseline "SB-02 | 2026-W47 | batch-v28 | sold=17 | returns=3 | net=14 | pending\n" and proposed "SB-02 | 2026-W47 | batch-v28 | sold=17 | returns=2 | net=15 | staged\n", each ending with one LF. Neither record comes from the P1 fixture. The Beta endpoint independently reads "No staged notice" at p2-0602-before before staging. After verifying current Beta approval, Sam Okafor stages the corrected count. The reviewer view must show net 15 with its linked batch-v28 digest. Zero source writes. Read the Beta published dashboard before and after this stage: net 14 at pub-0602 both times. The separate staged view reads net 15 at p2-0602-staged with the approved batch-v28 revision. Priya Desai checks that exact value on the independent sheet for the same scope and cutoff. The Alpha dashboard stays at net 20 and pub-0600.
P3 replays the identical P1 staging request for Alpha. The system returns the original staging receipt STG-SA-01 with stage marker stg-0600 and status staged. The published dashboard independently reads net 20 at published reader marker pub-0600, unchanged from baseline. Scope (Alpha valid), approval (batch-v28 current) and count (net 21 unchanged in the staged view) are independently confirmed. Zero new admission, zero dispatch, zero publication and zero source writes.
Held-out reconciliation. Priya Desai's held-out sheet covers a third store, Gamma (SG-03), for the same week. The sheet lists 17 sold, 2 approved returns, expected net 15. The two approved returns share the same store, date and amount but carry different canonical return IDs (RET-SG-7701 and RET-SG-7702). Both are valid separate events under the linkage rule. However a third return row appeared in the online extract with a different transaction ID but the same canonical return ID as RET-SG-7701, creating an aliased duplicate that the deduplication step failed to collapse. After deduplication the third row is removed, the two distinct canonical returns remain and the approved count stays 2. That gives net 17 − 2 = 15, matching the expected-results sheet, but the dashboard shows 14 because it counted three returns (the aliased row survived). The metric owner corrects the canonical-ID deduplication, reruns for SG-03, verifies that the two distinct canonical return IDs each appear exactly once, and confirms net 15.
Bounded read test. Three reads against Alpha with no effect. (a) 200 with value and ETag. (b) 304. (c) Revoked: denied. Zero writes.
F1 through F7: F1: viewer 403, zero token. F2: Sam Okafor revoked, 401, zero staged. F3: Beta targets Alpha, 403. F4: stale batch, 409. F5: hash changed, 409. F6: withdrawal before publish, zero. F7: missing store_id, 422.
F8 duplicate-pending detail. On a separately reset fixture the published dashboard reads net 20 for Alpha at published reader marker pub-0600. The corrected count net 21 is admitted as pending under Nora Lindstrom (MERCH_DIRECTOR, Alpha), approval batch-v28, receipt STG-SA-01, stage marker stg-0600. The published dashboard independently reads net 20 at pub-0600 unchanged; the staged view reads net 21 at stg-0600. Authority for Nora Lindstrom, Alpha scope and batch-v28 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-SA-01. Published dashboard still reads net 20 at pub-0600. Zero additional admissions, zero dispatch, zero publication, zero source writes.
F9 lost-acknowledgement detail. On a separately reset fixture the Alpha staging was published. The journal shows the applied entry: owner Nora Lindstrom (MERCH_DIRECTOR, Alpha), approval batch-v28, receipt STG-SA-01, status applied, published reader marker pub-0601. The acknowledgement was lost after commit. Before deciding to resend, the system queries the authoritative journal and finds the applied entry with STG-SA-01 and status applied. The published dashboard independently reads net 21 at pub-0601. Authorization for Nora Lindstrom, Alpha scope and batch-v28 are re-verified current. The system returns STG-SA-01 with applied status. Zero redispatch, zero re-publication.
F10 terminal no-effect. For cancelled staging STG-SA-99 the system reads the journal and confirms no admitted, pending or active execution. It produces fenced epoch proof. Nora Lindstrom's current Alpha-scoped capability, batch-v28 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. (a) STG-SA-01 staged under Nora Lindstrom (MERCH_DIRECTOR, Alpha), approval batch-v28, execution active, receipt STG-SA-01, stage marker stg-0601. The published dashboard independently reads net 20 at published reader marker pub-0601. (b) After independent reset with the prior occupied slot reseeded, Sam Okafor (RETAIL_ANALYST, with separate current scoped approval batch-v28 for this occupied staging slot) independently reads the published dashboard at pub-0601 showing net 20 for Alpha, verifies Nora Lindstrom as existing staging owner with active receipt STG-SA-01, and attempts STG-SA-03 targeting the same Alpha net-unit slot. Conflict. Nora Lindstrom remains staging owner. Zero contender admission, zero dispatch, zero publication. Published dashboard independently reads net 20 at pub-0601 unchanged. (c) Reset a separate conflict copy for the occupied Alpha slot with the original owner and receipt reseeded. The independently queried Alpha reviewer view reads net 21 at batch-v28, while the published Alpha dashboard reads net 20 at pub-0601 under batch-v27. The journal retains Nora Lindstrom as owner. After placing the slot on hold, read the published Alpha dashboard again: net 20 at pub-0601. Zero new admissions, dispatches or retries. Keep the hold until Nora Lindstrom 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. The staged value net 21 has already been verified and is seeded as the current published snapshot, separate from P1 stage-only state. At 47 hours since verification, force an eligible refresh that times out. Independently recheck Nora Lindstrom's current approval batch-v28 and Alpha scope; the net count is publishable. Dashboard reads net 21 for Alpha and net 14 for Beta. API reads net 21 for Alpha and net 14 for Beta. Policy-enforced cache reads net 21 for Alpha and net 14 for Beta. At 48 hours force a second refresh returning unavailable. The 48-hour hard max age cutoff withholds net 21. Dashboard reads fallback "units-index-current" for Alpha and net 14 for Beta. API reads fallback "units-index-current" for Alpha and net 14 for Beta. Policy-enforced cache reads fallback "units-index-current" for Alpha and net 14 for Beta. In three separate reset runs at both ages with Nora Lindstrom's approval batch-v28 current and Alpha scope re-verified, make the publication lookup (i) time out, (ii) return withdrawn, or (iii) return restricted. Each result withholds net 21 immediately: dashboard reads fallback "units-index-current" for Alpha and net 14 for Beta; API reads the same fallback and net 14; cache reads the same fallback and net 14. Beta unchanged in each run. Offline copies can escape that control.
F16 late-revocation detail. Seed SA-01-a at batch-v28a for Alpha. On readiness confirm Nora Lindstrom's approval batch-v28a current and proposed value "21-updated" under selector CFG-SA-01. Before switch: dashboard reads CFG-SA-00, net 20 for Alpha, fallback "units-index-current" and net 14 for Beta; API reads CFG-SA-00, net 20, fallback and net 14; cache reads CFG-SA-00, net 20, fallback and net 14. Revoke SA-01-a; switch rejected. Dashboard reads CFG-SA-00, net 20, absence of "21-updated", fallback "units-index-current" and net 14 for Beta. API reads CFG-SA-00, net 20, absence of "21-updated", fallback and net 14. Cache reads CFG-SA-00, net 20, absence of "21-updated", fallback and net 14. Compatible restore: prepare CFG-SA-01-r without SA-01-a. Nora Lindstrom verifies approval batch-v28 before switching and confirms the withdrawal fence excludes SA-01-a. After switching: dashboard reads CFG-SA-01-r, net 20, no "21-updated", fallback "units-index-current", net 14 for Beta; API reads CFG-SA-01-r, net 20, no "21-updated", fallback, net 14; cache reads CFG-SA-01-r, net 20, no "21-updated", fallback, net 14. Incompatible: fixture lacks required store group code; reject. Dashboard reads CFG-SA-00, net 20, fallback "units-index-current" and net 14 unchanged; API reads CFG-SA-00, net 20, fallback and net 14 unchanged; cache reads CFG-SA-00, net 20, fallback and net 14 unchanged. No branch permits reusing SA-01-a.
QA evidence and rerun. Priya Desai owns test record. Nora Lindstrom owns merchandising release. Sam Okafor owns retail release. Held-out is SG-03. Block because 14 displayed vs 15 expected. Preserve trace. Rerun on corrected deduplication. Release cadence conditional on risk, scope, fixture quality and change pattern.
F13-F18 accessibility. Chromium at 320px. F13: Store selector, Week filter and Publish action Tab-reachable, Enter-activated (WCAG 2.2 2.1.1). F14: 2px focus ring (WCAG 2.4.7). F15: table reflows at 320 CSS px (WCAG 1.4.10). F17: "Pending review" and "Published" text visible (WCAG 1.4.1). F18: aria-live "Net units status: Published", focus stays on control (WCAG 4.1.3). Safari/VoiceOver targets "Net units status: Published".
| Step | Operation | Outcome |
|---|
| P1. Stage Alpha net units | Corrected 21 staged | Independent marker; no source write |
| P2. Stage Beta net units | Corrected 15 staged | Independent marker; no source write |
| P3. Replay Alpha 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: "Net units 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.