Before revision: Collaborative text editing and versioning is known to be a tough topic. Diffs, OT and CRDT are three relevant classes of algorithms which all have their issues. CRDT is the only one that works correctly and deterministically in a distributed environment, at the unfortunate cost of data structure complexity and metadata overheads. A chronofold is a data structure for editable linear collections based on the Causal Tree CRDT model.
After revision: Chronofold is a replicated data structure for versioned text, based on the Causal Tree CRDT model.