Platform Directory

CRDT Primitives & Sync Adapters

Every state structure, local storage driver, and encrypted transport primitive ships in one cohesive TypeScript and Rust/WASM workspace.

8 of 8 modules
CR-01 State Types

FugueMax Rich-Text & Code Sequence

Non-interleaving collaborative text engine with native ProseMirror, CodeMirror 6, and Lexical bindings.

  • Zero character interleaving
  • Rich-text mark intervals
  • Per-character attribution
Merge Latency
2.9 ms / 10k ops
Wire Footprint
1.4 B / char
CR-02 State Types

Moveable Hierarchical Tree CRDT

Cycle-free tree reordering for design canvases, outliners, and nested folder workspaces under arbitrary partitions.

  • Guaranteed acyclic graph
  • Fractional sibling index
  • Undo/redo stack aware
Merge Latency
1.6 ms / move
Wire Footprint
64 B / op
ST-03 Storage

SQLite OPFS & IndexedDB Persistence

Sub-millisecond browser and React Native local storage adapter with automatic delta compaction and instant cold boot.

  • 100k+ records instant query
  • Background worker vacuum
  • Zero main-thread jank
Merge Latency
0.5 ms commit
Wire Footprint
Zstd snapshots
ST-04 Storage

Postgres Logical Replication Bridge

Mirror CRDT document projections into standard PostgreSQL tables so existing analytics and SQL reporting keep working.

  • Bi-directional WAL sync
  • Typed JSONB & relational views
  • Zero vendor lock-in
Merge Latency
4.2 ms sync
Wire Footprint
WAL delta stream
TR-05 Transport

WebTransport / WebSocket Delta Relay

Multiplexed binary sync protocol that reconciles thousands of rooms over a single connection with automatic backpressure.

  • State-vector diff handshake
  • Automatic reconnect resume
  • Edge fan-out in 34 PoPs
Merge Latency
8.1 ms p95 RTT
Wire Footprint
Binary RLE v3
AU-06 Auth

Zero-Knowledge Document Key Epochs

Encrypts every CRDT operation envelope client-side before transit with instant member revocation via epoch rotation.

  • XChaCha20-Poly1305 AEAD
  • Forward-secret key epochs
  • JWT / Passkey RBAC claims
Merge Latency
0.3 ms cipher
Wire Footprint
+24 B MAC tag
OB-07 Observability

Causal Graph & Time-Travel Inspector

Visual DevTools bridge to scrub document history, audit conflicting branches, and export deterministic repro traces.

  • Deterministic state replay
  • Per-actor attribution diff
  • OpenTelemetry span hooks
Merge Latency
0.0 ms prod overhead
Wire Footprint
Compact DAG log
TR-08 Transport

Sub-Frame Cursor & Selection Ephemera

Volatile in-memory awareness channel for live multiplayer cursors, viewport follow, and typing indicators without bloating history.

  • Never written to disk
  • Auto-evicts stale peers
  • Interpolation smoothing
Merge Latency
60 Hz throttled
Wire Footprint
28 B datagram