# NousResearch/hermes-agent · launchctl PATH issue with UV Python environments

## Open now

- Nothing open on GitHub.

These issues and PRs address a problem where launchctl cannot be found when running under UV Python due to a minimal or non-standard PATH. Proposed fixes involve using absolute paths for launchctl or adding POSIX system directories to PATH.

## TL;DR

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

- #3849: gateway start fails with FileNotFoundError: launchctl not found (UV Python PATH issue)

## Prior & competing PRs

- **#3905: fix(cli): use absolute path for launchctl to avoid UV Python PATH issues**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#58522: fix(gateway): add POSIX system dirs to PATH for UV Python (salvage #3850)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/gateway.py`
- **#3850: fix(gateway): add system dirs to PATH for UV Python compatibility**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `1b7853d7b`, `#58522`, `#3849`
- **#3878: fix(gateway): absolute path for launchctl to fix UV Python PATH issue (#3849)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1b7853d7bc52`, `#3849`, `#3850`
- **#4991: fix(cli): resolve launchctl path to handle UV's minimal PATH**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#14406`

## Fix status

- Merged to main in PR #58522 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-05`.
- Subsystem: `gateway`
