# NousResearch/hermes-agent · Preserve connection/session ownership in secondary windows

## Open now

- Nothing open on GitHub.

These items address bugs and improvements related to maintaining the correct connection, profile, and backend ownership when spawning secondary session or chat windows, particularly for remote gateways and dashboard session requests.

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

- #120213: fix(desktop): preserve connectionId when spawning secondary session windows on remote gateways

## Prior & competing PRs

- **#126144: Desktop/dashboard session requests follow the session's owner connection, profile and live gateway (#125372, #125287, #124265, #120213, #121680)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/session-windows.test.ts`, `apps/desktop/electron/session-windows.ts`, `apps/desktop/src/api/client.ts`, `apps/desktop/src/api/sessions.test.ts`, `apps/desktop/src/api/sessions.ts`, `apps/desktop/src/app/chat/composer/status-stack/index.tsx`, `apps/desktop/src/app/chat/history-window.ts`, `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/gateway/hooks/use-gateway-request.test.ts`, `apps/desktop/src/app/gateway/hooks/use-gateway-request.ts`, `apps/desktop/src/app/session/hooks/use-session-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/components/assistant-ui/thread/timeline-index.test.ts`, `apps/desktop/src/components/assistant-ui/thread/timeline-index.ts`, `apps/desktop/src/components/assistant-ui/thread/use-timeline-history.test.tsx`, `apps/desktop/src/components/assistant-ui/tool/delegate.tsx`, `apps/desktop/src/global.d.ts`, `apps/desktop/src/store/profile.ts` (+8 more)
- **#120899: fix: preserve backend ownership in secondary chat windows**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#126144`

## Fix status

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