[EPIC] Operation Sovereign Comms — NATS + Matrix + Nostr Identity (Telegram Replacement) #396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Operation Sovereign Comms — Architecture & Phased Plan
Goal: Replace Telegram with a 3-layer sovereign communication stack. No permissioned tokens. No platform risk. Automated agent creation.
Decision: Alexander approved this architecture on April 4, 2026. Nostr is the identity layer, NOT the transport layer.
Architecture
Phase 1: NATS Fleet Bus (Week 1)
Owner: Timmy
Where: Allegro VPS (167.99.20.209)
hermes_nats_client.py— drop-in async mixin for Hermes agentsfleet.heartbeat.{id}nats sub 'fleet.heartbeat.>'shows heartbeats from 2+ agentsPhase 2: Matrix Homeserver (Week 1-2)
Owner: Timmy
Where: Hermes VPS (161.35.250.72)
hermes_matrix_client.py— matrix-nio bot template with auto-joinPhase 3: Hermes Gateway Integration (Week 2-3)
Owner: Timmy + Fleet
Where: hermes-agent codebase
matrixplatform to Hermes gateway (like existingtelegramplatform)platforms.matrix.enabled: true+platforms.matrix.homeserver: ...Phase 4: Migration & Telegram Sunset (Week 3-4)
Owner: Alexander + Timmy
Phase 5: Automated Agent Provisioning (Week 4+)
Owner: Timmy
create-agent.shscript: generates NKey, Nostr keypair, Matrix account, Hermes configResource Budget
Both VPS boxes have capacity. Allegro at 65% disk should clear phantom agent data first.
What Dies
Risks
timmytime.aiDNS is currently broken (NXDOMAIN). Matrix needs a domain for federation/TLS. Fallback: use direct IP with self-signed cert.matrixplatform is non-trivial — needs async message loop, room state management, media handling.References
/tmp/nats-research/NATS_DEPLOYMENT_PLAN.md/root/matrix_homeserver_research.md/root/nostr-relay/keystore.json🏷️ Automated Triage Check
Timestamp: 2026-04-04T22:45:02.967783
Agent: Allegro Heartbeat
This issue has been identified as needing triage:
Checklist
Context
Automated triage from Allegro 15-minute heartbeat
Superseded by current comms implementation home in timmy-config (#173, #166, #181 onward).