NousResearch/hermes-agent

Setup flow config write timing and gateway race conditions

Cluster 1182 · hermes cli. Data as of

Nothing open on GitHub. Fix merged in #1499 on 16 Mar 2026. Check it covers your case.

The short answer

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

These issues and PRs address a bug where config.yaml is written before model selection completes during setup, causing gateway race conditions and provider/model mismatches when switching providers. Changes include deferring config writes, PID-based gateway management, and related refactoring.

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.

  • #1499 fix(setup+gateway): defer config write, PID-based gateway kill, scoped systemd service names

    merged to main

    files: hermes_cli/gateway.py, hermes_cli/main.py, hermes_cli/setup.py, hermes_cli/status.py, hermes_cli/uninstall.py, tests/hermes_cli/test_gateway.py, tests/hermes_cli/test_gateway_linger.py, tests/hermes_cli/test_gateway_service.py, website/docs/reference/environment-variables.md, website/docs/user-guide/messaging/index.md

1 PR closed without merging

From the close comments: merged via another change 1

  • #1188 fix(setup): defer config.yaml write until after model selection · merged via another change → #1499
Closed issues · 1
  • Closed#1182bug: setup flow writes provider to config.yaml before model selection, causing gateway race condition
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.67: 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
#1499
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
16 Mar 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.

For your agent

The same facts, typed.