Gateway restart broken by inherited _HERMES_GATEWAY env var
NousResearch/hermes-agent · cluster 39969 · dashboard
Data as of
Nothing open on GitHub. Fix merged in #52482. Check it covers your case.
The short answer
- Known?
- Yes. 12 related items grouped here, 4 issues already closed.
- Fix event
- A fix was merged to main in PR #52482. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
partially resolved, deciding PR #52482. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A cluster of bug reports and fixes centered on _HERMES_GATEWAY environment variable being inherited by child processes, causing gateway restart operations to silently fail across Windows, macOS (launchd), and dashboard/chat contexts. Work spans detection, scrubbing, and platform-specific restart path hardening.
Open issues0
Open PRs0
Fixes on record
-
#52482 fix(dashboard): drop _HERMES_GATEWAY when spawning hermes actions
files:
hermes_cli/web_server.py,tests/hermes_cli/test_dashboard_admin_endpoints.py -
#93267 fix: inherited gateway env marker no longer blocks CLI sessions from gateway management (#92560, salvage #92196)
files:
contributors/emails/[redacted:email],hermes_cli/gateway.py,tests/hermes_cli/test_gateway_restart_loop.py,tools/terminal_tool.py
6 PRs closed without merging
From the close comments: done elsewhere 2 · superseded by another PR 2 · duplicate 1 · other 1
-
#39970 fix(gateway): strip gateway guard in Windows restart helper · done elsewhere →
264ac72 - #40059 fix(gateway): strip _HERMES_GATEWAY from Windows detached restart helper env · other
-
#40141 fix(gateway): strip _HERMES_GATEWAY from detached restart helper env (#39969) · superseded by another PR →
264ac72 -
#57523 fix(web-server): strip _HERMES_GATEWAY from spawned management subprocesses · superseded by another PR →
#52482 -
#57524 fix(gateway): scrub gateway env from dashboard restarts · done elsewhere →
aa9aaaa,#52470,#93267,#57512
Show 1 more
-
#57853 fix(dashboard): scrub gateway marker from actions · duplicate →
#57524,#57512
Closed issues · 4
- Closed#39969Windows gateway /restart can leave gateway stopped when helper inherits _HERMES_GATEWAY
- Closed#44312/restart never respawns outside service managers: detached restart helper inherits _HERMES_GATEWAY=1 and self-refuses (#30719 regression)
- Closed#52470[Bug]: Dashboard auto-restart silently fails — _spawn_hermes_action inherits _HERMES_GATEWAY=1 from dashboard process
- Closed#57512[Bug]: Desktop 'Restart Gateway' button silently fails due to _HERMES_GATEWAY env var guard
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.23: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab