# NousResearch/hermes-agent · macOS arm64/x64 Electron architecture mismatch fix

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #91764: fix(desktop): pin macOS package to Electron architecture
- PR #111088: fix(desktop): refuse macOS bundles this Mac cannot load, and pin the pack's arch

A bug where Desktop bundled the wrong Electron architecture under Rosetta (causing node-pty load failures), addressed by pinning the package architecture to match Electron and refusing incompatible bundles.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_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

- #90079: \[Bug\]: Desktop packages an arm64 Electron into an x64-target bundle when node is x64 under Rosetta (node-pty fails to load at launch)

## Prior & competing PRs

- **#91764: fix(desktop): pin macOS package to Electron architecture**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/scripts/after-pack.mjs`, `apps/desktop/scripts/native-binary-arch.mjs`, `apps/desktop/scripts/native-binary-arch.test.mjs`, `apps/desktop/scripts/run-electron-builder.mjs`
- **#111088: fix(desktop): refuse macOS bundles this Mac cannot load, and pin the pack's arch**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `apps/desktop/scripts/run-electron-builder.mjs`, `hermes_cli/desktop_app_path.py`, `hermes_cli/desktop_update_verify.py`, `hermes_cli/doctor_platform.py`, `hermes_cli/main_desktop.py`, `scripts/desktop-update/posix.sh`, `scripts/install.sh`, `tests/hermes_cli/test_desktop_app_path.py`, `tests/hermes_cli/test_desktop_exe_integrity.py`, `tests/hermes_cli/test_desktop_macos_bundle_integrity.py`, `tests/hermes_cli/test_gui_command.py`

## Fix status

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