# NousResearch/hermes-agent · Desktop bundle script overwrites tracked electron main.cjs in place

## Open now

- Nothing open on GitHub.

The members describe bundle-electron-main.mjs writing its bundled output over the tracked source main.cjs, which dirties the working tree and is reported to interfere with git-based auto-update or the updater. One member, a pull request titled to stage the bundled electron main, appears to address this, but its outcome is not stated.

## TL;DR

- 4 member(s): 0 open issue(s), 3 closed issue(s), 0 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.35`: 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

- #53224: Hermes Desktop updater dirties source checkout by bundling main.cjs in place
- #53949: \[Bug\]: apps/desktop/scripts/bundle-electron-main.mjs overwrites source main.cjs in working tree
- #55417: desktop: bundle-electron-main.mjs overwrites tracked electron/main.cjs in place, dirtying the tree and blocking git auto-update

## Prior & competing PRs

- **#53241: fix(desktop): stage bundled electron main**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `2d206a3a4`, `#52735`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
