Live sync JSON documents over Iroh

This commit is contained in:
Eric Wendland 2026-05-18 18:49:34 +02:00
commit 284207eb01
8 changed files with 370 additions and 7 deletions

View file

@ -145,7 +145,9 @@ Roadmap items should be actionable and checkable:
work. The auth evaluator already understands `kv.write_prefix:<prefix>`
grants for `kv.write_key:<key>` requests.
- Document resources can be registered locally and updated with validated local
JSON state. Automerge editing/state and sync are still roadmap work.
JSON state. `geth document sync <node-id> <name>` and background live-sync can
pull authorized JSON last-writer-wins state over Iroh. Automerge editing/state
and true CRDT sync are still roadmap work.
- Pubsub supports local daemon-lifetime publish/subscribe snapshots through a
bounded in-memory ring buffer. Remote publish over the protected Iroh control
ALPN requires `pubsub.publish` on `resource:pubsub:<topic>`. Iroh-gossip