# NousResearch/hermes-agent · Windows Hermes home path and .env loading fixes

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #58574: fix(windows): pass hermes_home to load_hermes_dotenv in main.py

These issues and PRs address problems with HERMES_HOME resolution on Windows, including incorrect fallback directories, failure to pass hermes_home to the env loader, and inconsistent .env file path resolution across components.

## TL;DR

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

- #30081: Windows: HERMES_HOME fallback to ~/.hermes creates phantom duplicate directory
- #58573: Native Windows: main.py omits hermes_home in load_hermes_dotenv → .env never loaded

## Prior & competing PRs

- **#38592: fix(windows): native Hermes home fallback + stable detached gateway cwd**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gateway_windows.py`, `hermes_constants.py`, `tests/hermes_cli/test_gateway_windows.py`, `tests/test_hermes_constants.py`
- **#32368: fix(constants): use Windows native default Hermes home**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `40fbb0f3c`, `#38592`, `#30081`
- **#58574: fix(windows): pass hermes_home to load_hermes_dotenv in main.py**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/main.py`

## Fix status

- Merged to main in PR #38592 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-04`.
- Subsystem: `hermes_cli`
