Clean Ctrl+C shutdown for hermes gateway CLI

NousResearch/hermes-agent · cluster 17810

Data as of

Nothing open on GitHub. Fix merged in #17854. Check it covers your case.

The short answer

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

A bug where pressing Ctrl+C on the hermes gateway prints an unwanted KeyboardInterrupt traceback instead of exiting cleanly, along with several fixes addressing the suppression and handling of that interrupt while preserving SIGTERM failure behavior.

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.

  • #17854 fix: handle gateway Ctrl+C shutdown cleanly

    merged to main

    files: hermes_cli/gateway.py, tests/hermes_cli/test_gateway.py

3 PRs closed without merging

From the close comments: superseded by another PR 1 · other 2

  • #17813 fix(gateway): Clean shutdown while preserving SIGTERM failure semantics · other
  • #17817 fix(cli): suppress KeyboardInterrupt traceback on Ctrl+C gateway stop (#17810) · other
  • #17864 fix: catch KeyboardInterrupt in gateway for clean Ctrl+C exit · superseded by another PR → #17817
Closed issues · 1
  • Closed#17810[Bug]: `hermes gateway` prints KeyboardInterrupt traceback on Ctrl+C instead of exiting cleanly
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

Merged PRs
#17854
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
30 Apr 2026

For your agent

The same facts, typed.