fix(#947): include manager in gateway agents.conf routing
This commit is contained in:
parent
aa96d76e73
commit
11d74e1e17
2 changed files with 13 additions and 12 deletions
|
|
@ -130,9 +130,11 @@ logical agent name → TCP web port:
|
|||
|
||||
Written alongside `agents.conf` on every topology change. Ports come from
|
||||
`lifecycle::agent_web_port(name)` — a pure FNV-1a hash of the name,
|
||||
reproducible from the name alone. The manager is excluded: the gateway
|
||||
routes `/` directly to c0re's dashboard upstream, not through a
|
||||
per-agent `/agent/<name>/` prefix.
|
||||
reproducible from the name alone. The manager is excluded: it always
|
||||
uses a unix socket (`HIVE_WEB_SOCKET` is unconditionally set for the
|
||||
manager role), so its TCP port never appears in the fallback map.
|
||||
The gateway routes `/agent/root/` to the manager's unix socket via
|
||||
`agents.conf` alongside sub-agents.
|
||||
|
||||
The file doubles as a human-readable audit artifact — `cat agent-ports.json`
|
||||
shows every registered sub-agent and its deterministic port assignment. TCP
|
||||
|
|
|
|||
Loading…
Reference in a new issue