# NousResearch/hermes-agent · Terminal env/backend isolation across multiplexed profiles

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where multiplexed profiles share or contaminate each other's terminal environment bridges, backend assignments, and related memos. The work scopes terminal environment setup and backend selection per profile rather than once per process.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 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: `unresolved`. 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

- #98581: \[Bug\]: Unified dashboard serves non-default profiles with the wrong terminal backend (docker sandbox escape via terminal tool)

## 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)
- **#85084: fix: scope terminal backend per multiplexed profile**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `4a7f228e2c1`, `#101242`
- **#94206: fix(tools): scope the terminal env bridge one-shot to the Hermes home**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `a5c801c8dcb`, `#108440`, `#107442`
- **#98589: fix(tools): re-bridge terminal env per profile home, not once per process**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#94206`, `#94200`, `#98581`

## Fix status

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