# NousResearch/hermes-agent · Centralizing HERMES_HOME path resolution across codebase

## Open now

- Nothing open on GitHub.

These issues and pull requests concern hardcoded ~/.hermes paths that bypass a get_hermes_home() abstraction, and efforts to route all callsites through that centralized function. The work spans multiple files and plugins including weekly maintenance, achievements, and profile-tui components.

## TL;DR

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

- #892: fix: remaining hardcoded ~/.hermes paths bypass HERMES_HOME override
- #18060: \[Bug\]: Path.home() / ".hermes" bypasses get_hermes_home() in 23 production files
- #24035: weekly_maintenance.py hardcodes ~/.hermes path, breaking profiles

## Prior & competing PRs

- **#1233: fix: respect HERMES_HOME in remaining hardcoded paths**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/auxiliary_client.py`, `agent/prompt_builder.py`, `cli.py`, `gateway/channel_directory.py`, `gateway/config.py`, `gateway/delivery.py`, `gateway/hooks.py`, `gateway/mirror.py`, `gateway/pairing.py`, `gateway/platforms/base.py`, `gateway/platforms/whatsapp.py`, `gateway/sticker_cache.py`, `hermes_cli/gateway.py`, `hermes_cli/main.py`, `hermes_cli/status.py`, `run_agent.py`, `tests/gateway/test_channel_directory.py`, `tests/tools/test_clipboard.py`, `tools/environments/base.py`, `tools/environments/modal.py` (+3 more)
- **#18277: fix(paths): route achievements plugin + profile-tui through HERMES_HOME**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/slack_cli.py`, `optional-skills/migration/openclaw-migration/scripts/openclaw_to_hermes.py`, `plugins/hermes-achievements/dashboard/plugin_api.py`, `scripts/profile-tui.py`, `scripts/release.py`
- **#897: fix(cli): respect HERMES_HOME in all remaining hardcoded ~/.hermes paths**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#1233`
- **#1489: Refactor: implement centralized HERMES_HOME environment variable support (#892)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#892`, `#51`, `#538`
- **#2073: feat: integrate Skill Factory and fix paths (#1935, #892)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#1935`, `#892`
- **#18068: fix(paths): replace Path.home()/.hermes with get_hermes_home() across…**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `dfe512c58`, `#18277`
- **#19947: fix(config): route HERMES_HOME callsites through get_hermes_home()**. closed without merge
  - maintainer direction: category `volume_quota`; implication `active`
- **#24084: Fix/weekly maintenance profile aware**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`

## Fix status

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