Files
amethyst/commons
Claude 1d64e65a95 docs(cordn): plan the message store
A cordn room's messages live only in a LinkedHashMap. The store persists
the MLS state, the cursor, echoes and the draft — not one message. That
is worse than an uncached history: the cursor is saved past everything,
so the next launch fetches nothing and the room never refills, and both
seal keys are epoch-derived so rewinding the cursor would not help
either. Ingestion is the only moment the message is readable.

The plan sizes that against what Marmot already ships and names the two
decisions that need a call before code: where EncryptedAppendLog should
live given the independence guard forbids cordn importing anything
marmot-named, and whether history rides the backup, the device
migration, or both.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012BfD4txdnsaPRXmNXbup9n
2026-09-24 14:42:32 +00:00
..
2026-09-24 14:42:32 +00:00