# NousResearch/hermes-agent · Durable session row lost on Desktop chat switch

## Open now

- Nothing open on GitHub.

These items address a bug where switching or cleaning up a secondary Desktop/Bot chat causes the durable session row to be incorrectly ended by automatic cleanup logic. The fix prevents the gateway from terminating that row during Desktop teardown so reclaimed chats retain their durable state.

## 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 #112659. Verify it addresses your case.
- **Recommended:** read PR #112659 (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-112659`. 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

- #105588: Desktop/Bot: secondary chat vanishes after switch because ws_orphan_reap ends durable session row

## Prior & competing PRs

- **#112659: Desktop: a reclaimed chat keeps its durable row through the full teardown (#105588, salvage #105620 + #111145)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tui_gateway/test_cross_process_orphan_ownership.py`, `tests/tui_gateway/test_gateway_owned_session_reap.py`, `tui_gateway/session_lifecycle.py`
- **#105620: fix(gateway): don't end durable session row on automatic Desktop cleanup**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#105588`

## Fix status

- Merged to main in PR #112659 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-16`.
