# NousResearch/hermes-agent · Gateway status detection bugs and environment fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address cases where the gateway is incorrectly reported as stopped or not running due to missing D-Bus environment variables, SSH sessions, Docker/Kubernetes PID 1 contexts, or permission-limited processes. The work involves improving gateway status detection across various runtime environments and CLI surfaces.

## TL;DR

- 7 member(s): 0 open issue(s), 3 closed issue(s), 0 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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.22`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #4776: \[Bug\]: hermes status reports Gateway as 'stopped' when running as PID 1 in Docker/Kubernetes
- #5130: \[Bug\]: hermes status reports gateway as "stopped" when running via SSH without user D-Bus session
- #10851: \[Bug\]: \`hermes status\` reports gateway as "stopped" when D-Bus env vars are missing

## Prior & competing PRs

- **#5133: fix(status): #5130 add pid fallback check for ssh sessions without d-bus**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#10894: Use gateway systemctl helper in status command**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#4792: fix(status): detect gateway process when running as PID 1 in Docker/Kubernetes**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#4776`
- **#10902: fix(status): bootstrap user systemd env for gateway checks**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#10894`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
