# NousResearch/hermes-agent · HERMES_HOME pinning for routed-profile detection

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #119355: fix(mcp): let embedding hosts pin the process home for routed-profile detection

These items address a bug where a mirrored or live HERMES_HOME environment variable can corrupt routed-profile detection across agent, profile, and MCP layers. Fixes center on anchoring a context-local or launch-time home value so background paths and profile routing decisions stay stable under multiplexed or embedding-host scenarios.

## TL;DR

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

- #119242: \[Bug\]: a host that mirrors the served profile into HERMES_HOME defeats serves_routed_profile(): MCP connections fall back to bare cross-profile names

## Prior & competing PRs

- **#120103: Cron, kanban, ledger and adapter background paths follow the owning profile under multiplex (#119858, #119859, #119973, #119242; salvage #119974 #120045 #120019 #120009 #112888)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/redact.py`, `agent/secret_scope.py`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `cron/lifecycle_guard.py`, `gateway/AGENTS.md`, `gateway/delivery_ledger.py`, `gateway/platforms/api_server.py`, `gateway/platforms/api_server_openai_routes.py`, `gateway/platforms/api_server_runs.py`, `gateway/run_adapters.py`, `hermes_cli/env_loader.py`, `hermes_cli/kanban.py`, `hermes_cli/kanban_specify.py`, `hermes_cli/profiles.py`, `hermes_constants.py`, `hermes_logging.py`, `tests/agent/test_i18n.py`, `tests/agent/test_secret_scope_pinned_launch_home.py`, `tests/agent/test_serves_routed_profile_pin.py` (+14 more)
- **#119129: fix(profiles): pin the launch home so a mirrored HERMES_HOME cannot flip routed-profile decisions**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `bd970b0588`, `#120103`
- **#119355: fix(mcp): let embedding hosts pin the process home for routed-profile detection**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/secret_scope.py`, `hermes_constants.py`, `tests/agent/test_serves_routed_profile_pin.py`
- **#119393: fix(agent): use context-local HERMES_HOME for identity checks, not live env var**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

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