Peers now send X-Public-Key header when subscribing, so the receiving
node can verify consensus signatures immediately without waiting for
Redis discovery.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Inline types instead of separate types package
- Add Redis initialization in start()
- Use actual Ed25519 signing from crypto module
- Fix null safety on Redis client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Drop-in replacement for WebSocket-based PeerManager and StateSync
using Braid-HTTP subscriptions. Key components:
- BraidPeerManager: HTTP-native peer transport (no WebSocket server)
- BraidStateSync: Push-based sync instead of polling
- BraidStatePublisher: Serves JSON state to Simpleton light clients
- SimpletonClient: Zero-CRDT read-only client (~50 lines of protocol)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>