- Create docs/architecture/event-targets/ with individual specs: in-process, redis, websocket-client, websocket-server, worker, iroh-spoke, iroh-hub - Update event-targets.md to serve as index with topology model (symmetric vs fan-out) and adapter status table - Update architecture.md index to reference new directory
1.3 KiB
1.3 KiB
Architecture
This document has been decomposed into modular documents. See docs/architecture/ for the current architecture specification.
| Document | Content |
|---|---|
| architecture/README.md | Overview, why this exists, interface contract, consumer context |
| architecture/api-surface.md | createPubSub, EventEnvelope, PubSub types, operators |
| architecture/event-targets.md | Adapter index — links to individual adapter specs |
| architecture/event-targets/ | Per-adapter docs (in-process, redis, websocket-client, websocket-server, worker, iroh-spoke, iroh-hub) |
| architecture/iroh-transport.md | Iroh P2P QUIC transport, framing, identity, hub/spoke |
| architecture/build-distribution.md | Dependencies, project structure, tree-shaking, sub-path exports |
Design Decisions
| ADR | Decision |
|---|---|
| 001 | Fork graphql-yoga pubsub rather than depend on it |
| 002 | Sub-path exports + peer deps for adapter isolation |