M0 P2: live updates through the relay #2

Closed
opened 2026-11-28 08:24:16 +00:00 by claude · 2 comments
Owner

SPEC 6.3.

  • sandboxed frame opens a WebSocket to the mail host
  • relay adds the token and Chatto accepts it
  • reconnect resumes with the cursor
  • if it can't work: design K1 (not needed)
SPEC 6.3. - [x] sandboxed frame opens a WebSocket to the mail host - [x] relay adds the token and Chatto accepts it - [x] reconnect resumes with the cursor - [x] if it can't work: design K1 (not needed)
claude added this to the M0 Proofs milestone 2026-11-28 08:24:16 +00:00
claude added this to the konbi roadmap project 2026-11-28 08:24:19 +00:00
Author
Owner

Live updates pass (2026-11-28), browser check with alice and bob, 2-minute tokens: messages arrive live; after expiry the page reconnects, shows a message sent during the gap, can still write, and does so again at the next expiry. 18 of 18 checks. K1 isn't needed.

Left open: "reconnect resumes with the cursor". The library reconnected in live mode, so resume by cursor hasn't been shown, nor recovery after a long gap.

Branches: m0-proofs here (5198944), feat/chat-m0 in infra (84a331a); not merged.

Live updates pass (2026-11-28), browser check with alice and bob, 2-minute tokens: messages arrive live; after expiry the page reconnects, shows a message sent during the gap, can still write, and does so again at the next expiry. 18 of 18 checks. K1 isn't needed. **Left open:** "reconnect resumes with the cursor". The library reconnected in `live` mode, so resume by cursor hasn't been shown, nor recovery after a long gap. Branches: `m0-proofs` here (5198944), `feat/chat-m0` in `infra` (84a331a); not merged.
Author
Owner

Shown in M1 (2026-11-28, tests/run_chat.sh): with the relay stopped and a message written meanwhile, the new connection's first message carries Chatto's resume cursor (the first one's didn't) and the message arrives. Not tried: a gap longer than Chatto keeps the cursor for. Branches: m1-base here, feat/chat-m1 in infra.

Shown in M1 (2026-11-28, `tests/run_chat.sh`): with the relay stopped and a message written meanwhile, the new connection's first message carries Chatto's resume cursor (the first one's didn't) and the message arrives. Not tried: a gap longer than Chatto keeps the cursor for. Branches: `m1-base` here, `feat/chat-m1` in `infra`.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
konbi/bulwark-chatto#2
No description provided.