Add local in-memory pubsub

This commit is contained in:
Eric Wendland 2026-05-17 18:23:51 +02:00
commit 6c85a341b8
13 changed files with 246 additions and 14 deletions

View file

@ -228,11 +228,16 @@ authorization and durable-state boundaries clear.
- `[ ]` Prefix-scoped capabilities can allow or deny writes.
- `[ ]` KV metadata is replicated through Iroh Documents.
- `[ ]` Iroh-gossip pubsub integration.
- `[~]` Iroh-gossip pubsub integration.
Acceptance criteria:
- `geth pubsub pub/sub` works for local test nodes.
- Pubsub messages are lossy notifications, not durable facts.
- Docs and tests keep durable state in CAS/KV/document/db instead.
- `[x]` `geth pubsub pub/sub` works against the local daemon.
- `[x]` Local pubsub messages are kept in a bounded daemon-lifetime ring
buffer.
- `[x]` Pubsub messages are documented and tested as lossy notifications, not
durable facts.
- `[ ]` `geth pubsub pub/sub` works across local test nodes over Iroh.
- `[ ]` Pubsub publish/subscribe access is capability checked.
- `[ ]` Docs and tests keep durable state in CAS/KV/document/db instead.
## Phase 4: Pipes, SSH Proxy, And SSH Distribution