# NousResearch/hermes-agent · Preserve local branch pins during updater self-heal

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #105053: fix(desktop): preserve branch-pin for local and unmerged branches during updater healing (#105042)
- PR #105055: fix(desktop): keep never-pushed branches pinned during update self-heal

A bug where the desktop updater misidentifies never-pushed or unmerged local branches as gone and silently resets their pin to main. Multiple fixes address preserving the original branch pin during the updater healing process.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 1 merged PR(s), 0 PR(s) closed without merging.
- A fix was merged to main in PR #126995. Verify it addresses your case.
- **Recommended:** read PR #126995 (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-126995`. 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

- #105042: \[Bug\]: desktop updater treats a never-pushed local branch as "merged, gone" (ls-remote exit 2) and silently re-pins to main

## Prior & competing PRs

- **#126995: fix(update): keep never-pushed and unmerged branches pinned in source check**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/source_check.py`, `tests/hermes_cli/test_source_check.py`
- **#105053: fix(desktop): preserve branch-pin for local and unmerged branches during updater healing (#105042)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/electron/branch-healer.test.ts`, `apps/desktop/electron/branch-healer.ts`, `apps/desktop/electron/main.ts`
- **#105055: fix(desktop): keep never-pushed branches pinned during update self-heal**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#105053`, `#105042`
  - files: `apps/desktop/electron/healed-branch.test.ts`, `apps/desktop/electron/healed-branch.ts`, `apps/desktop/electron/main.ts`

## Fix status

- Merged to main in PR #126995 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-29`.
- Subsystem: `apps/desktop`
