NousResearch/hermes-agent

Gateway status ignoring or confusing profile scoping

Cluster 19113 · hermes cli. Data as of

1 open item. Fix merged in #19582 on 4 May 2026. Check it covers your case.

The short answer

0open issues
1open PR
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #19582. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
0 issues and 1 PR.

Members concern gateway status output when multiple profiles exist, including a report that it shows running when only another profile's gateway is alive. Several pull requests propose filtering PIDs by profile, scoping status to the current profile, or listing other profiles to reduce confusion.

Open issues0

No open issues.

Open PRs1

  • PR#19504fix(gateway): filter status PIDs by profile

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #19582 fix(gateway): show other profiles in 'gateway status' to prevent confusion

    merged to main

    files: hermes_cli/gateway.py

    Show the diff
    • hermes_cli/gateway.py
      @@ -690,6 +690,32 @@ def _print_gateway_process_mismatch(snapshot: GatewayRuntimeSnapshot) -> None:
           print("  can refuse to start another copy until this process stops.")
       
       
      +def _print_other_profiles_gateway_status() -> None:
      +    """Print a summary of gateway status across all profiles.
      +
      +    Shown at the bottom of ``hermes gateway status`` output so users with
      +    multiple profiles can tell at a glance which gateways are running and
      +    avoid confusing another profile's process with the current one.
      +    """
      +    try:
      +        from hermes_cli.profiles import get_active_profile_name
      +
      +        current = get_active_profile_name()
      +        other_processes = [
      +            p for p in find_profile_gateway_processes()
      +            if p.profile != current
      +        ]
      +        if not other_processes:
      +            return
      +
      +        print()
      +        print("Other profiles:")
      +        for proc in other_processes:
      +            print(f"  ✓ {proc.profile:<16s} — PID {proc.pid}")
      +    except Exception:
      +        pass
      +
      +
       def kill_gateway_processes(force: bool = False, exclude_pids: set | None = None,
                                  all_profiles: bool = False) -> int:
           """Kill any running gateway processes. Returns count killed.
      @@ -4456,6 +4482,9 @@ def _gateway_command_inner(args):
                           print("  hermes gateway install  # Install as user service")
                           print("  sudo hermes gateway install --system  # Install as boot-time system service")
       
      +        # Show other profiles' gateway status for multi-profile awareness
      +        _print_other_profiles_gateway_status()
      +
           elif subcmd == "migrate-legacy":
               # Stop, disable, and remove legacy Hermes gateway unit files from
               # pre-rename installs (e.g. hermes.service). Profile units and

2 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1

  • #19115 fix(gateway): show other profiles in `gateway status` to prevent confusion · merged via another change → #19582
  • #19134 fix: scope gateway status to current profile · duplicate → #19115, #16375
Closed issues · 1
  • Closed#19113[Bug]: `gateway status` reports running when only a different profile's gateway is alive
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item 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.

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

At a glance

Subsystem
hermes cli
Merged PRs
#19582
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
4 May 2026

For your agent

The same facts, typed.