docs: fix swarm.md — peer list reaches agents via HYPERHIVE_PEERS env, not get_agent_meta

This commit is contained in:
iris 2026-05-31 23:49:14 +02:00 committed by mara
commit 803ea9d7f6

View file

@ -66,10 +66,10 @@ environment and forwarded to agent containers.
peer linking to `https://{domain}/`. See
`docs/web-ui/dashboard.md` § P33RS tab.
2. **Agent identity**`identity::peers()` in `hive-ag3nt` reads
the same env var and exposes the peer list to agents via
`get_agent_meta` so agents can address peers with qualified names
(`agent@peer-domain`).
2. **Agent identity**the same `HYPERHIVE_PEERS` env var is
forwarded to agent containers by `meta.rs`; agent code can call
`identity::peers()` to discover peer hives and address them with
qualified names (`agent@domain`).
3. **Matrix federation** — when `matrix.enable` is on, tuwunel
federates with the peer's matrix server at