Closed
Description
A (seed, reset, invites) with C (numbers) • P0 • Blocks the TL-13 recording. Related: #20 (C's dispatch rules, still open), #12.
Three problems found while testing TL-07 on Maincloud:
- The clock doesn't match real time. The seed sets
freeAtfor drivers and assets to the incident clock (2026-11-08 02:00 CST), butreserveandreadyAtusectx.timestamp. Before 2 AM, R4 reads "ready 02:13" while the check-in is at the current time, so margins come out around −200 min and every case lands in Act now. SeedfreeAtrelative to the publish time, or add an owner reducer that reanchors the incident to now. The demo must show C's numbers (Watch, then +17 → −3 after the detour, best R4-ALT +6, Act now) live. - The story doesn't match. The fixture and the team update make the winter freeze the lead incident with H17. The live seed has H17 under
tornado-1, and the freeze has F03/F09/F14. Decide on one lead incident and seed H17 into it with C's locked numbers. Keep the second incident playable. - There's no repeatable demo reset. A script (kept outside the repo, or one that reads codes from the environment) should republish or reset Maincloud to the seed and set the follow-up interval for the demo. It should also create a fresh coordinator, two driver, two resident and one bridge invite, and print where to paste each one. Never commit the codes.
Also: once #20 merges, spacetimedb/src/rules.ts becomes a re-export of ./domain/dispatch, as its header comment says.
Done when a reset run at any time of day gives the agreed numbers on the live board, D's three windows and B's bridge claim fresh roles, and the commands are documented in docs/setup.md.
Added after the integration check (main + #33 + #20 + #31 merge cleanly; client build, module tsc, C 17/17 and bridge 62/62 pass):
- Maincloud is behind main. TL-09 (A/tl 09 consent enrollment #32) and TL-11 (TL-11 support: silent follow-ups with owners, audit and job release #39) added tables, so the shared database needs a republish before anyone tests registration or follow-ups live.
- Second incident in live mode. A coordinator role belongs to one incident, so the live board shows one incident per coordinator identity. Mint a coordinator code for the second incident too. D shows it from a second browser profile.
- TL-03: dispatch rules and tornado/freeze fixtures #20 and TL-15: suggest-and-confirm rules and synthetic policy signals (C) #31 are still open even though TL-03 | Build two disaster fixtures and dispatch rules #3 is closed, so the server runs the copied
rules.ts. Merge TL-03: dispatch rules and tornado/freeze fixtures #20, then TL-15: suggest-and-confirm rules and synthetic policy signals (C) #31, then swaprules.tsto the re-export. - TL-21 | About 200 synthetic registered households for the lead incident #41 (200 households) should be part of this reset.
Metadata
Metadata
Assignees
Labels
No labels
Activity
TL-18: real-time seed, lead incident labels, repeatable demo reset