# NousResearch/hermes-agent · Desktop gateway routing and session identity across local/remote connections

## Open now

- Nothing open on GitHub.

Most members are desktop fixes and one bug report about keeping connection and route identity correct when switching gateways or resuming sessions, including SSH remote gateways and a local runtime ID being sent to a remote gateway. The shared theme is plausible, but the titles do not show the status or outcome of any of these changes.

## TL;DR

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

- #93888: \[Bug\]: Current Desktop sends a local runtime ID to a Remote Gateway and cannot restore stored sessions

## Prior & competing PRs

- **#95080: fix(desktop): gateway switches, primary reuse, and session routing hold exact route identity (multi-gateway class 1, tracker #94724)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/profile-session-routing.test.ts`, `apps/desktop/electron/profile-session-routing.ts`, `apps/desktop/src/app/contrib/wiring.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-hermes-config.test.ts`, `apps/desktop/src/app/session/hooks/use-hermes-config.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-route-resume.test.tsx`, `apps/desktop/src/app/session/hooks/use-route-resume.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/app/session/hooks/use-session-list-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-list-actions.ts`, `apps/desktop/src/lib/json-rpc-gateway-recovery.test.ts`, `apps/desktop/src/lib/with-timeout.test.ts`, `apps/desktop/src/lib/with-timeout.ts`, `apps/desktop/src/store/connections.test.ts` (+19 more)
- **#99672: fix(desktop): keep primary SSH session resumes remote (salvage #96895)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/store/session.test.ts`, `apps/desktop/src/store/session.ts`
- **#99697: fix(desktop): heal v1 SSH gateway routes into the v2 connections registry**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/connection-registry.test.ts`, `apps/desktop/electron/connection-registry.ts`
- **#103307: fix(desktop): invalidate warm-cache runtime bindings on connection switch (#93888)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#96595`, `#93888`, `#95080`, `#99672`, `#99697`

## Fix status

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