# NousResearch/hermes-agent · Computer use MCP session staleness and capture fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address a recurring problem where MCP sessions become stale, returning empty or zero-size captures, with fixes including session reconnection, CLI transport fallback, and bypassing broken window discovery.

## TL;DR

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

- #51164: computer_use MCP session goes stale after first capture — subsequent calls return 0x0

## Prior & competing PRs

- **#87333: fix(computer-use): placeholder-id targeting + macOS zero-display diagnosis (salvage #81340, #52949, #67259)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_computer_use_display_count_guard.py`, `tests/tools/test_computer_use_placeholder_ids.py`, `tools/computer_use/cua_backend.py`, `tools/computer_use/doctor.py`
- **#51186: fix(computer-use): reconnect MCP session on stale empty result (#51164)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `13b75e73ff977d90ebd61124a181b1aebe5d8404`, `#51164`
- **#52142: fix(computer-use): accept pid+window_id to bypass list_windows when discovery is broken**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#87333`

## Fix status

- Merged to main in PR #87333 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-16`.
- Subsystem: `agent`
