# NousResearch/hermes-agent · Desktop and gateway session stall and transport handling changes

## Open now

- Nothing open on GitHub.

Three members touch session and connection handling: a desktop guard for never-reconciled sessions that stall, bounded transport waits and reduced polling on desktop, and gateway cache eviction of stalled sessions. They appear related by stall/session-state themes, but the titles alone do not show a single shared root cause.

## TL;DR

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

- #95276: gateway: SessionStateCache — evict stalled sessions (memory-growth contributor in #95189)

## Prior & competing PRs

- **#95495: fix(desktop): transport waits bounded, poll storms stopped, saved connections paint instantly (multi-gateway wave-2 phase B, tracker #94724)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/hardening.test.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/src/app/chat/composer/status-stack/index.tsx`, `apps/desktop/src/app/chat/sidebar/connection-switcher.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts`, `apps/desktop/src/app/session/hooks/use-session-state-cache.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-state-cache.ts`, `apps/desktop/src/app/session/session-state-cache.test.ts`, `apps/desktop/src/app/session/session-state-cache.ts`, `apps/desktop/src/global.d.ts`, `apps/desktop/src/lib/with-timeout.ts`, `apps/desktop/src/store/composer-status.test.ts`, `apps/desktop/src/store/composer-status.ts`, `apps/desktop/src/store/connections.ts`, `apps/desktop/src/store/gateway.ts`, `contributors/emails/BrunoBza@users.noreply.github.com`, `contributors/emails/justinjohnson25600@users.noreply.github.com`, `tests/test_tui_gateway_server.py`, `tui_gateway/server.py`
- **#95302: fix(desktop): stall-window guard for never-reconciled sessions**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `2fa2f42d41`, `06be6cffbc`, `c4ff1d89f4`, `77e2992020`, `#127647`, `#95495`, `#95276`

## Fix status

- Merged to main in PR #95495 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-26`.
- Subsystem: `apps/desktop`
