# NousResearch/hermes-agent · Multiplexed profile path memoisation and state pollution

## Open now

- Nothing open on GitHub.

These items address a bug where process-global memoisation of paths and latched state (config.yaml lookups, environment bridges, TERMINAL_* flags) causes multiplexed profiles to interfere with each other depending on initialization order. The fixes resolve per-call path resolution and isolation of shared guards across profiles.

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

- #107327: Multiplexed gateway: process-global path memoisation makes the protected-instruction gate and the config.yaml hard-block depend on which profile ran first

## Prior & competing PRs

- **#108440: fix(gateway): multiplexed profiles no longer poison each other via config.yaml→env bridges, TERMINAL_* latch and path memos (#80099, #107422, #107327; salvage #100604 #100435 #100448 #91198 #107442 #107335)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `gateway/config_loader.py`, `gateway/platforms/_shared.py`, `gateway/platforms/signal.py`, `gateway/platforms/yuanbao.py`, `gateway/run.py`, `gateway/run_inbound.py`, `gateway/run_notifications.py`, `plugins/platforms/dingtalk/adapter.py`, `plugins/platforms/discord/adapter.py`, `plugins/platforms/feishu/adapter.py`, `plugins/platforms/matrix/adapter.py`, `plugins/platforms/slack/adapter.py`, `plugins/platforms/telegram/adapter.py`, `plugins/platforms/whatsapp/adapter.py`, `tests/gateway/test_discord_allow_bots_yaml_config.py`, `tests/gateway/test_multiplex_process_global_sinks.py`, `tests/gateway/test_multiplex_yaml_env_bridge_isolation.py`, `tests/tools/test_env_passthrough.py`, `tests/tools/test_file_write_safety.py` (+9 more)
- **#107335: fix(file-safety): resolve HERMES_HOME/config per call so multiplex profiles don't poison the write guards (#107327)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `1271622e4b3`, `7af5006b24c`, `#108440`, `#107327`

## Fix status

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