sequence CRDT · RGA · two replicas, no server

Conflict-Free Sync

Two devices editing the same note while the connection is down. Right now the laptop and the phone hold different text and a pile of queued operations. Hit Reconnect and watch them merge — no prompts, no "which version do you want", no lost characters.

DIVERGED link OFFLINE chars 0 ops applied 0 tombstones 0 queued 0

laptop state ------
0 pending ops IN SYNC
    phone state ------
    0 pending ops IN SYNC

      Why it always converges: every character gets a unique id like L:14 and permanently remembers which character it was typed after, so both devices rebuild the exact same order from the same set of operations — whatever order those operations happen to arrive in.

      EVENT LOG