NousResearch/hermes-agent

Relay incorrectly imports gateway.run on non-gateway hosts

Cluster 87183 · gateway/relay. Data as of

Nothing open on GitHub. Fix merged in #120178 on 23 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #120178. 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
Nothing open on GitHub.

A bug where relay_runtime imports gateway.run from non-gateway hosts, causing its module-level side effects to hijack the approvals path. The fix stops this unintended import.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

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

  • #120178 fix: hermes -z runs in its launch directory and loads its AGENTS.md again (#95577, salvage #88281)

    merged to main

    files: agent/relay_runtime.py, contributors/emails/[redacted:email], tests/agent/test_relay_session_segments.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #87187 fix(relay): stop importing gateway.run from non-gateway hosts (#87183) · merged via another change → #88281, #86043, #87183
  • #88281 fix(relay): stop importing gateway.run from non-gateway hosts (#87183) · done elsewhere → a139839, 9638c87, #87183, #87187, #120178
Closed issues · 1
  • Closed#87183CLI approval panel never renders: relay_runtime imports gateway.run whose module top-level setenv (HERMES_EXEC_ASK=1) hijacks approvals into the gateway path with no notify_cb
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.50: 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
gateway/relay
Merged PRs
#120178
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
23 Sep 2026

For your agent

The same facts, typed.