Refine discovery to trust mesh multiaddrs

This commit is contained in:
Claude Code
2025-10-17 09:13:54 +11:00
parent 3373f7b462
commit e2847a64ba
2 changed files with 51 additions and 5 deletions

5
TODO.md Normal file
View File

@@ -0,0 +1,5 @@
# TODO
1. Disable or refactor `SwarmDiscovery` so it consumes libp2p metadata rather than Docker task attachments (`DISCOVERY_METHOD=dns` fallback until parity is reached).
2. Shift council opportunity delivery to prefer mesh/NATS using the freshly stored `Agent.P2PAddr`, leaving HTTP as a compatibility fallback.
3. Emit telemetry/alerts whenever an agent reports zero `multiaddrs` so operations can catch misconfigured peers before discovery regresses.