Story Events and overlays
Turn committed domain facts into safe, useful presentation for members, viewers, and editors.
Emit meaning, not editing instructions
A Story Event describes a verified semantic fact:
personal_bestrank_gainedtarget_clearedcheckout_completedlead_changedmatch_wonstreak_extended
The bounded fact payload carries enough domain context for downstream consumers to explain the moment. It should not contain HTML, a file path, an OBS scene, provider credentials, or a request to publish content.
Story effects are processed only after the activity transition commits.
Retractions
If an authorized correction invalidates a committed moment, deterministic replay produces the corrected event set and the host emits explicit retractions. Editors and overlays can reconcile without pretending the first event never existed.
Read-only overlay
An overlay is a package artifact rendered from a bounded host snapshot. It may show activity identity, goal, current/final result, progress, pace or meaningful change, connection state, stakes, and the next milestone.
It cannot:
- send activity commands;
- control OBS;
- query member history;
- fetch arbitrary network resources;
- retain credentials;
- become a second scoring implementation.
Shared presentation primitives
The public Presentation Kit provides pure semantic framing, theme tokens, safe-area layout, formatting, reduced-motion behavior, and accessibility primitives. The package still decides what the viewer should care about and maps domain state into that model.
This lets Split Timer and Reaction Foundations share quality without looking or behaving like the same activity.
State matrix
Preview at least:
| Activity | Connection | Expected presentation |
|---|---|---|
| ready | healthy | goal and how to begin |
| active | healthy | current result/progress and next meaningful action |
| active | stale | last committed truth plus explicit stale status |
| active | unavailable | honest unavailable state and manual fallback |
| terminal | any | final committed result and outcome |
| replay | offline | pinned read-only historical evidence |
Test compact broadcast dimensions and full 16:9 layouts in addition to member phone, tablet, and desktop viewports.