# NousResearch/hermes-agent · tui_gateway test Thread shim dropping args on win32

## Open now

- 1 issue, 2 PRs open on GitHub.
- #137194: \[Bug\]: win32: tui_gateway _ImmediateThread shim drops thread args — TypeError: Popen._readerthread() missing 2 required positional arguments
- PR #137212: test(tui_gateway): share one Thread fake that forwards args (win32 Popen readers)
- PR #137762: test(tui_gateway): one shared threading.Thread shim honoring the contract

The members concern a test-side threading.Thread shim (_ImmediateThread) in tui_gateway that reportedly drops thread args, causing a TypeError in Popen._readerthread on win32. Two test-focused items propose a single shared Thread fake that forwards args; their outcomes are not stated here.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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 `1.00`: 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

- #137194: \[Bug\]: win32: tui_gateway _ImmediateThread shim drops thread args — TypeError: Popen._readerthread() missing 2 required positional arguments

## Prior & competing PRs

- **#137212: test(tui_gateway): share one Thread fake that forwards args (win32 Popen readers)**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/fakes/immediate_thread.py`, `tests/tui_gateway/test_composite_carrier_rewind.py`, `tests/tui_gateway/test_desktop_session_row_git_meta.py`, `tests/tui_gateway/test_free_tier_task_done.py`, `tests/tui_gateway/test_immediate_thread_fake.py`, `tests/tui_gateway/test_lazy_session_regressions.py`, `tests/tui_gateway/test_out_of_band_history_adoption.py`, `tests/tui_gateway/test_routing_provenance_reopen.py`, `tests/tui_gateway/test_session_git_metadata_generation.py`, `tests/tui_gateway/test_ssh_session_cwd_persistence.py`, `tests/tui_gateway/test_tui_gateway_server.py`, `tests/tui_gateway/test_tui_gateway_server_deep_truncate.py`
- **#137762: test(tui_gateway): one shared threading.Thread shim honoring the contract**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/_fixtures/thread_shim.py`, `tests/hermes_cli/test_ipv6_url_authorities.py`, `tests/tools/test_voice_stop_phrase.py`, `tests/tui_gateway/test_composite_carrier_rewind.py`, `tests/tui_gateway/test_desktop_session_row_git_meta.py`, `tests/tui_gateway/test_free_tier_task_done.py`, `tests/tui_gateway/test_immediate_thread_shim.py`, `tests/tui_gateway/test_lazy_session_regressions.py`, `tests/tui_gateway/test_out_of_band_history_adoption.py`, `tests/tui_gateway/test_profile_resume_cwd.py`, `tests/tui_gateway/test_routing_provenance_reopen.py`, `tests/tui_gateway/test_session_git_metadata_generation.py`, `tests/tui_gateway/test_ssh_session_cwd_persistence.py`, `tests/tui_gateway/test_tui_gateway_server.py`, `tests/tui_gateway/test_tui_gateway_server_deep_truncate.py`

## Fix status

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