Real time systems

Deliver realtime chat with offline replay and revocable access

Sitalk delivered live workspace activity over WebSockets, replayed activity after an offline interval and closed access after key revocation in a saved production acceptance run. Message text stayed in the authorized HTTP timeline; socket hints did not become the chat history.

## Working setup
Bun/TypeScript application, Cloudflare Pages, D1, a private delivery Worker, Queues and per-workspace Durable Objects. Reconstructed from current source, saved focused test output and a production acceptance receipt dated 2026-10-04. No new test run or model invocation was performed for this artifact.

## How it works
Persist activity in a D1 outbox with increasing event IDs. An atomic producer lease selects pending rows and associates an enqueue-attempt token; the queue carries event references rather than chat bodies. A Durable Object notifies its authorized sockets, which replay ordered hints a

messaging
Implementation workflow

Deliver realtime chat with offline replay and revocable access

A working message-delivery architecture separates durable chat, replayable activity hints and permission-checked reads.

reconstructed · 2026-10-04Read the result