Summary
Implement daemon peer port, TLS listener, and certificate infrastructure per VESTA-SPEC-014 Phase 1.
This is the foundation for daemon-to-daemon peer networking. Without this, the portal cannot connect to live daemon state.
What to build
Dependencies
- VESTA-SPEC-014 Section 5 (Cryptographic Authentication)
- Daemon startup must load peer certificate and listen before spawning workers
Acceptance criteria
- Daemon listens on PEER_PORT with valid TLS cert
- Can telnet to peer port and see TLS handshake
- Certificate hash matches SHA256(certificate.pem)
peers.log shows "LISTENING on port 6379"
Blocks
Summary
Implement daemon peer port, TLS listener, and certificate infrastructure per VESTA-SPEC-014 Phase 1.
This is the foundation for daemon-to-daemon peer networking. Without this, the portal cannot connect to live daemon state.
What to build
~/.{entity}/.env:PEER_PORT,PEER_LISTEN_ADDR,PEER_TLS_CERT,PEER_TLS_KEY~/.{entity}/id/peer/certificate.pemandprivate.key~/.{entity}/.logs/peers.logDependencies
Acceptance criteria
peers.logshows "LISTENING on port 6379"Blocks