NousResearch/hermes-agent

Windows exit hangs from pipe closing while reader thread blocked

Cluster 142193 · agent · Bug. Data as of

1 open item. Fix merged in #162301 on 1 Dec 2026. Check it covers your case.

The short answer

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

These items all concern Windows processes failing to exit, with a bug report on one-shot hermes chat -Q and two pull requests about background commands and session pipes. They appear to share a theme of closing a pipe while its reader may still be active, but the titles alone do not confirm outcomes.

Open issues1

  • Issue#142193[Bug]: Windows — one-shot `hermes chat -Q` never exits: `_reconcile_local_exit` closes a pipe whose reader thread is still blocked (BufferedReader lock deadlock)

Open PRs0

No open pull requests.

Fixes on record

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

  • #162301 fix(tools): Windows background commands with a lingering child no longer hang on exit (salvage #114597, #142591)

    merged to main

    files: contributors/emails/[redacted:email], tests/tools/test_process_registry_reader_pipe_close.py, tools/process_registry.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #142591 fix(tools): leave a finished session's pipe to its reader (#142193) · done elsewhere → 314dd0a, #162301
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.

For your agent

The same facts, typed.