hive-c0re: drop the dead manager exclusion from the agent web-port map
This commit is contained in:
parent
fb58f0e5b9
commit
0df52806f9
2 changed files with 17 additions and 18 deletions
|
|
@ -131,11 +131,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: 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.
|
||||
reproducible from the name alone. Every agent gets an entry — no name is
|
||||
special-cased. Note this TCP map is now a fallback the gateway no longer
|
||||
reaches: all agents bind a unix-socket web UI (`HIVE_WEB_SOCKET`) and the
|
||||
gateway routes via `agent-sockets.json`, picking the socket upstream
|
||||
whenever one exists. The root agent's UI is routed at `/agent/root/`.
|
||||
|
||||
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