# NousResearch/hermes-agent · macOS launchd gateway display wake and CPU fix

## Open now

- Nothing open on GitHub.

These members address a macOS-specific bug where the launchd gateway wrapper caused CPU spinning and roughly 10-second delays when waking external displays. The fix involves changing how the launchd job is wrapped, replacing a pending 'do shell script' approach with caffeinate.

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

- #123595: \[Bug\]: launchd osascript "do shell script" wrapper delays external display wake ~10s on macOS 27

## Prior & competing PRs

- **#124253: macOS launchd gateway no longer spins CPU or stalls display wake (#123595, salvage #119501)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/100821673+IntrepidBytes@users.noreply.github.com`, `gateway/status.py`, `hermes_cli/gateway_launchd.py`, `tests/hermes_cli/test_gateway_service.py`, `website/docs/user-guide/messaging/index.md`
- **#123633: fix(gateway): wrap the launchd job in caffeinate, not a pending do shell script**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#124253`, `#71206`, `#118128`, `#119501`

## Fix status

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