# NousResearch/hermes-agent · TUI stdio gateway resilience to inline RPC failures

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #112826: fix(tui_gateway): survive a crashing inline stdio handler

These issues and fixes address a bug where unhandled exceptions in inline stdio RPC handlers could kill the TUI gateway process and drop in-flight replies. The work focuses on keeping the stdio gateway alive and isolated from child processes after such crashes.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #113223. Verify it addresses your case.
- **Recommended:** read PR #113223 (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-113223`. 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.50`: 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

- #112816: \[Bug\]: Unhandled exception in an inline stdio RPC handler kills the TUI gateway child and loses in-flight replies

## Prior & competing PRs

- **#113223: fix(tui): stdio gateway keeps its RPC stdin away from child processes and survives inline handler crashes (#112818, #112816, salvage #112823, #112822)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tui_gateway/test_entry_inline_handler_error.py`, `tests/tui_gateway/test_entry_rpc_stdin_cloexec.py`, `tui_gateway/entry.py`
- **#112822: fix(tui): keep stdio gateway alive after inline RPC failures**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `741fa6acc15`, `#112826`
- **#112826: fix(tui_gateway): survive a crashing inline stdio handler**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/tui_gateway/test_entry_dispatch_crash_guard.py`, `tui_gateway/entry.py`

## Fix status

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