mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 11:48:24 +00:00
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