Graveyard Shift Kit

One skeleton. Two night shifts.

Field software for the hours
when the network is dead.

Floods knock out signal. Rural clinics run all night on one nurse and a paper book. The Graveyard Shift Kit is a lean, local-first skeleton for exactly those shifts — an append-only event store, honest device-to-device sync packets, and a night-readable design system — proven by two complete, working applications.

Floodline

A neighborhood flood board: water levels, blocked roads, and unmet needs across a 24-zone ward grid.

  • Field reports with severity, zone map, and acknowledge/resolve workflow
  • Unmet-needs view so boats and medicine go where they are actually needed
  • Printable situation summary for the coordination post
Open Floodline →

Night Clinic

A triage queue for small clinics: transparent red-flag priority, live wait estimates, initials-only privacy.

  • Every priority shows its reasoning; staff overrides are recorded
  • Wait estimates from tonight's real consultation median
  • Shift handover by sync packet — no server, no patient names
Open Night Clinic →

How the skeleton works

Both apps share packages/skeleton-core unchanged. Each app adds only its domain reducer and screens.

1 · Record offline.
Every action is an event in an append-only log stored on the device. State is derived by a pure reducer, so history is never overwritten.
2 · Carry the packet.
Export a GSK1. sync packet and move it by chat, file, or QR. Checksums reject tampered or truncated packets before anything merges.
3 · Merge safely.
Merging is set union by event id: commutative and idempotent, proven by property-based tests. Import twice, import in any order — same result.
0
Servers required
2
Apps on one skeleton
15
Automated tests incl. properties