# NousResearch/hermes-agent · Desktop session reads routed to wrong connection

## Open now

- Nothing open on GitHub.

A bug caused session-scoped REST reads on Desktop to route through the ambient connection rather than the session's owner connection, resulting in 404 errors. Related fixes and a follow-up change pin these reads to the correct owner connection.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 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.50`: 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

- #125372: \[Bug\]: Desktop: session-scoped REST reads route by ambient connection scope — the wrong connection answers 404 "Session not found" (both directions)

## 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)
- **#125414: fix(desktop): pin session REST reads to the session's owner connection**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`
- **#125439: fix(desktop): route unscoped session reads through the session's owner**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `af9d7a6318`, `#125372`, `#94724`

## Fix status

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