# NousResearch/hermes-agent · Composer and chat state lost on context switches

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #125911: Preserve Bot Chat composer selections on resume

These items concern the Desktop composer and Bot Chat losing their selected state—such as provider, tabs, and other settings—when resuming sessions, switching profiles or connections, or opening another bot's chat. The theme is preserving user selections across various context changes.

## TL;DR

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

- #123805: Desktop: composer provider silently reverts to the profile default after opening another bot's chat (same model, different provider)

## Prior & competing PRs

- **#126182: Desktop composer, tabs and Bot Chat state survive resumes, profile/connection switches and toolset edits (#125336 #125678 #123805 #122190 #124211 #120106 #125394)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/conversation_loop.py`, `apps/desktop/src/app/chat/session-tile.test.ts`, `apps/desktop/src/app/chat/session-tile.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.test.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.ts`, `apps/desktop/src/store/session-states.ts`, `apps/desktop/src/store/session-tiles-connection-scope.test.ts`, `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `hermes_cli/gateway.py`, `hermes_cli/web_server.py`, `tests/agent/test_bot_chat_toolset_refresh.py`, `tests/hermes_cli/test_spawn_gateway_restart_reap.py`, `tests/tools/test_bot_mode_probe.py`, `tests/tui_gateway/test_custom_provider_session_persistence.py`, `tests/tui_gateway/test_session_hidden_rpc.py`, `tools/bot_mode_probe.py`, `tui_gateway/contracts/sessions.py`, `tui_gateway/methods_session.py`
- **#125911: Preserve Bot Chat composer selections on resume**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/tui_gateway/test_tui_gateway_server.py`, `tui_gateway/methods_session.py`

## Fix status

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