# NousResearch/hermes-agent · Windows TUI gateway stdin EINVAL crash fixes

## Open now

- Nothing open on GitHub.

These members address a bug where the TUI gateway crashes on Windows due to an OSError EINVAL on stdin readline, including recovery logic and local env probe detachment. All three items concern the same Windows-specific stdin crash scenario.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #105348. Verify it addresses your case.
- **Recommended:** read PR #105348 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-105348`. 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.

## Closed / duplicate issues

- #78820: \[Bug\]: TUI gateway crashes on Windows with OSError \[Errno 22\] on stdin readline — in-flight session lost

## Prior & competing PRs

- **#105348: fix(tools): the Windows Git Bash probe no longer takes the TUI gateway down on the first terminal call (#78820, salvage #104832)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `contributors/emails/[redacted:email]`, `tests/tools/test_find_shell.py`, `tools/environments/local_gitbash_probe.py`
- **#78896: fix(tui): Windows stdin recovery + detach local env probes (#78820)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#78894`, `#78820`
- **#82292: fix(tui): 修复 Windows TUI gateway stdin EINVAL 崩溃（recover from Windows stdin EINVAL in gateway child）**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#78894`, `#82323`, `#78820`, `#78894`, `#82323`, `#78820`
- **#104832: fix(tools): detach stdin in the Windows Git Bash probe (#78820)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#105348`, `#105348`

## Fix status

- Merged to main in PR #105348 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-07`.
- Subsystem: `environments`
