From 631c75428bfb2e65243e84d8f734dea974c13b9e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 13:33:07 +0000 Subject: [PATCH] Plain operations: last write wins, hash-keyed events, simpler composite - KV: one write primitive, write(changes) with { key, value? }; writeIfAbsent removed. The server executes exactly what clients send and never reads values, so they can be encrypted end to end. Adds setFields/getFields on the base class. - HTTP: no server history or event ids; SSE relays every change (own writes included) and the client emits resync when a dropped stream reconnects. - Composite: writes apply locally, then go to the source (undone locally if refused); pushed changes are applied and announced only where they differ from local values; offline writes go to a queue store (any KV storage); sync() = replay, diff, replay. Removes KVReplicaSet, KVOutbox, KeyCounter, SerialQueue and RetryTimer. - Events: id =