# NousResearch/hermes-agent · Desktop profile switch spawns excess backends fix

## Open now

- Nothing open on GitHub.

These items address a bug where switching profiles on Desktop triggered multiple backend processes to spawn simultaneously, causing slot starvation. The work involves fixing session routing and limiting backend spawning during profile switches.

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

- #102498: \[Bug\]: Desktop profile switch triggers N-backend spawn storm and slot starvation due to unwhitelisted GET /api/sessions routing

## Prior & competing PRs

- **#108069: Desktop: profile switches and Bot opens no longer spawn one backend per profile (#102498, salvage #102512)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/connection-config.test.ts`, `apps/desktop/electron/connection-config.ts`, `website/docs/user-guide/bot-mode.md`
- **#102512: fix(desktop): stop profile switches from spawning every backend**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#108069`

## Fix status

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