[bug] `HermesSidecar` `Health.ts` reports "gateway down" for a profile served by the…
What happened
HermesSidecar Health.ts reports "gateway down" for a profile served by the default-profile multiplexer
Summary
Context for every issue: macOS, Claude Code harness, in-place upgrade from 7.40.4 to v8.761.0 via the bootstrap (LIFEOS_SRC=<local release dir>) and Tools/InstallAll.ts --yes.
What happens. With several Hermes profiles served by one default-profile multiplexer, restarting one profile's slot (hermes -p <profile> gateway restart) leaves that profile's gateway_state.json at {"pid": <old>, "gateway_state": "draining"}. hermes -p <profile> gateway ensure reports "state": "ready" from the multiplexer, but Health.ts reads the stale per-profile file and prints 🔴 gateway down — recorded pid is not running.
Expected. Health.ts recognizes multiplexer serving (as hermes gateway status does: "Gateway is running via the default-profile multiplexer").
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @udeepji. Reading Health.ts, the logic supports your report: it checks one profile's gateway_state.json and the ai.hermes.gateway supervisor, and never considers a multiplexer serving that profile, so a dead recorded pid reads as "down".
We can't reproduce it here without a multiplexed Hermes setup, and Health.ts has to stay read-only. Could you paste the output of hermes gateway status for a profile the multiplexer is serving? Then we can recognise that state without guessing at its format. Keeping this open until then.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @udeepji for the careful report and for checking the multiplexer state against hermes gateway status. We retired the Hermes sidecar on 2026-11-01, and the native agent in Relay now carries that work, so Health.ts and the rest of the sidecar leave LifeOS in the next release rather than being patched. If you still run Hermes, disable the LifeOS plugin it mounted, since nothing will maintain it from here.