# NousResearch/hermes-agent · Desktop profile switching gateway publish bug fixes

## Open now

- Nothing open on GitHub.

A series of issues and fixes addressing a regression where desktop profile switching silently hung or encountered errors after a gateway switch refactor, involving atomic publication behavior, error reporting, and a nanostores version issue. Titles reference events including \`fix(desktop): report a declined gateway switch instead of resolving silently\`, \`fix(desktop): profile switches publish atomically without ever failing closed (#46651, #89622)\`, and \`fix(desktop): release builds keep profile-switch publications — nanostores 1.4.2 (salvage #89690)\`.

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

- #89586: Desktop: profile switching hangs silently after atomically-published gateway switch refactor (Windows)

## Prior & competing PRs

- **#89785: fix(desktop): profile switching works again — revert the atomic-publish activation series (#89622)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/profile-agent-activation.test.ts`, `apps/desktop/src/store/profile.test.ts`, `apps/desktop/src/store/profile.ts`
- **#89797: fix(desktop): profile switches publish atomically without ever failing closed (#46651, #89622)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/src/store/gateway-activation-prune-lease.test.ts`, `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/profile-agent-activation.test.ts`, `apps/desktop/src/store/profile.ts`
- **#89875: fix(desktop): release builds keep profile-switch publications — nanostores 1.4.2 (salvage #89690)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/bootstrap-installer/package.json`, `apps/desktop/package.json`, `apps/desktop/src/store/nanostores-batch-guard.test.ts`, `contributors/emails/[redacted:email]`, `ui-tui/package.json`
- **#89609: fix(desktop): report a declined gateway switch instead of resolving silently**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#89622`, `#89785`, `#89797`, `#89875`, `#89621`, `#89609`

## Fix status

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