# NousResearch/hermes-agent · Desktop gateway auth and session recovery bugs

## Open now

- Nothing open on GitHub.

These items concern bugs in the desktop client where auth envelopes, backend processes, and remote sessions fail to recover correctly after a dashboard restart, sometimes requiring manual deletion of connections.json to restore functionality.

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

- #94246: \[Bug\]: Desktop after remote dashboard restart — "Gateway settings" bounces back to "Hermes couldn't start" (TypeError: startsWith on undefined); re-sign-in never completes; only removing connections.json recovers

## Prior & competing PRs

- **#95085: fix(desktop): auth envelopes and backend processes stay bound to their connection (multi-gateway classes 5+6, tracker #94724)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/connection-apply.test.ts`, `apps/desktop/electron/connection-apply.ts`, `apps/desktop/electron/connection-registry.test.ts`, `apps/desktop/electron/connection-registry.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/electron/native-auth-decisions.test.ts`, `apps/desktop/electron/native-auth-decisions.ts`, `apps/desktop/electron/native-oauth.test.ts`, `apps/desktop/electron/native-oauth.ts`, `apps/desktop/electron/primary-backend-startup.test.ts`, `apps/desktop/electron/primary-backend-startup.ts`, `apps/desktop/electron/remote-lifecycle.test.ts`, `apps/desktop/electron/remote-lifecycle.ts`, `apps/desktop/electron/remote-ws-headers.test.ts`, `apps/desktop/electron/remote-ws-headers.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.test.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.ts`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts`, `apps/desktop/src/app/settings/gateway-settings.test.ts`, `apps/desktop/src/app/settings/gateway-settings.tsx` (+9 more)
- **#94403: fix(desktop): recover remote sessions after dashboard restart**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `25d46c788`, `#95085`, `#94724`

## Fix status

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