# NousResearch/hermes-agent · Background session rotation disrupts foreground chat state

## Open now

- Nothing open on GitHub.

These issues concern background chat sessions incorrectly pulling focus, route, or selection away from the active foreground chat during session/ID rotation. The work addresses preventing background state changes from interfering with what the user is currently viewing.

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

- #86106: Desktop: message persisted to stale session after switching chats (UI shows one session, backend logs another)

## Prior & competing PRs

- **#117686: fix(desktop): a background chat's stored-id rotation no longer pulls the route, selection or focused tile back to it (#86106, salvage #86359)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/session/hooks/use-session-actions/index.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/hooks/wrong-session-closeout.test.tsx`, `apps/desktop/src/store/session-states.ts`
- **#86359: fix(desktop): prevent background session rotation from stealing foreground route**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `689b1a55461e2d6305e3e980a3f6b6b617282a49`, `1389726dbeab5790d10ce5271f2c9bd18a0ad18b`, `f88c6fc46e1c1c61ae8fdc0d7fb10ec8ad949aab`

## Fix status

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