# NousResearch/hermes-agent · Desktop primary profile pin lifecycle fixes

## Open now

- Nothing open on GitHub.

These issues and fixes address bugs where the primary profile pin on desktop persists incorrectly after backend exit, error, or rejection, and can diverge from the respawned profile. Related fixes also cover multiwindow pin ownership delivery and HUD/tile edge cases.

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

- #108417: \[Bug\]: Desktop primary profile pin survives backend exit and can diverge from respawn --profile

## Prior & competing PRs

- **#122085: fix(desktop): multiwindow/pin — watch owner delivery, HUD reveal failure branch, profile-pin survival, tile widths on reload, collapsed-HUD hitbox**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/preview-file-watch.test.ts`, `apps/desktop/electron/preview-file-watch.ts`, `apps/desktop/electron/primary-profile-pin.test.ts`, `apps/desktop/electron/primary-profile-pin.ts`, `apps/desktop/electron/window-reveal.test.ts`, `apps/desktop/electron/window-reveal.ts`, `apps/desktop/src/app/contrib/controller.tsx`, `apps/desktop/src/app/hud/resize-frame.test.tsx`, `apps/desktop/src/components/pane-shell/tree/pane-reload-share.test.ts`, `apps/desktop/src/components/pane-shell/tree/store.ts`, `apps/desktop/src/lib/layout-persistence.ts`, `apps/desktop/src/store/session-states.test.ts`, `apps/desktop/src/store/session-states.ts`, `apps/desktop/src/styles.css`
- **#109059: fix(desktop): clear PrimaryProfilePin on current backend exit/error/rejection (#108417)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#122085`

## Fix status

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