NousResearch/hermes-agent

Guard stderr writes against BrokenPipeError on shutdown

Cluster 90434 · gateway. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 2 PRs.

These issues and fixes address unhandled BrokenPipeError exceptions occurring when TUI exit/shutdown code writes to stderr after the pipe has been closed by the peer. The proposed fixes wrap the relevant stderr writes in try/except blocks.

Open issues1

  • Issue#90434[Bug]: Clean TUI shutdown logs an unhandled BrokenPipeError from _log_exit (unguarded stderr write on the peer-closed path)

Open PRs2

  • PR#68614fix(tui-gateway): wrap stderr prints in try/except to prevent BrokenPipeError crash loop
  • PR#90445fix(tui): guard exit loggers against BrokenPipeError on shutdown
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
gateway
Closed issues
0
Attempts
0 PRs closed without merging

For your agent

The same facts, typed.