# NousResearch/hermes-agent · Windows TUI EINVAL missing from peer-gone errno set

## Open now

- 1 issue, 1 PR open on GitHub.
- #55119: \[Bug\]: TUI gateway WebSocket 1011 crash on Windows — errno.EINVAL missing from PEER_GONE_ERRNOS
- PR #55123: fix(tui_gateway): add errno.EINVAL to PEER_GONE_ERRNOS for Windows detached stdout

A bug on Windows where errno.EINVAL is not included in the set of errors treated as peer disconnection, causing crashes or unexpected behavior in the TUI gateway. Multiple fixes and a bug report address adding EINVAL to PEER_GONE_ERRNOS.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 3 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member 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.

## Open related issues

- #55119: \[Bug\]: TUI gateway WebSocket 1011 crash on Windows — errno.EINVAL missing from PEER_GONE_ERRNOS

## Prior & competing PRs

- **#55123: fix(tui_gateway): add errno.EINVAL to PEER_GONE_ERRNOS for Windows detached stdout**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/tui_gateway/test_protocol.py`, `tui_gateway/transport.py`
- **#55214: fix: add errno.EINVAL to TUI WebSocket peer-gone errnos on Windows**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#55123`
- **#55977: fix(tui_gateway): add errno.EINVAL to PEER_GONE_ERRNOS for Windows**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#55123`
- **#58078: fix(tui): treat stdio EINVAL as peer disconnect**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#55123`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
