# NousResearch/hermes-agent · Terminal config scoping per routed gateway profile

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where multiplexed gateway profiles incorrectly inherit terminal backend, working directory, and Docker configuration from the wrong profile. The work introduces per-profile scoping of terminal config across the gateway, relay, and terminal layers, including isolated agent runtimes per routed profile.

## TL;DR

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

- #68559: \[Bug\]: Multiplexed gateway ignores routed profile terminal backend; Docker profile inherits local backend

## Prior & competing PRs

- **#101242: fix(gateway): routed multiplex profiles get their own terminal cwd/backend/docker config; container boot honors config multiplex_profiles (#68559 #85413, salvage #99225 #85437)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/agent_init.py`, `agent/prompt_builder.py`, `agent/runtime_cwd.py`, `agent/skill_utils.py`, `contributors/emails/[redacted:email]`, `cron/scheduler.py`, `gateway/platforms/base.py`, `gateway/run.py`, `gateway/runtime_footer.py`, `gateway/slash_commands.py`, `hermes_cli/container_boot.py`, `tests/hermes_cli/test_container_boot.py`, `tests/tools/test_terminal_scope_multiplex.py`, `tools/browser_tool.py`, `tools/code_execution_tool.py`, `tools/env_probe.py`, `tools/file_tools.py`, `tools/terminal_scope.py`, `tools/terminal_tool.py`, `tui_gateway/server.py` (+1 more)
- **#68611: fix(gateway): scope terminal config per routed profile in multiplexed gateway**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#79117: fix(gateway): scope terminal config per routed profile in multiplexed gateway**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `4a7f228e2c1`, `4a7f228e2c1`, `#101242`, `#101242`, `#101242`
- **#99225: fix(terminal): scope terminal config per turn under profile multiplexing**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `4a7f228e2c1`, `4a7f228e2c1`, `#101242`, `#101242`
- **#100218: feat(gateway): isolated agent runtimes behind gateway profile routing**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `6b9483616dd45512dc2e53b97dcc3801e54575d6`, `5a8e8a6b87487c0e0785cd9eb561cc6a96c64f5e`, `#99986`, `#68559`, `#99986`, `#68559`, `#68559`, `#99986`, `#99986`, `#99986`, `#99986`, `#68611`, `#68559`, `#79117`, `#68611`, `#99225`, `#97014`, `#91293`, `#68559`, `#99986`, `#68559`, `#99986`, `#68559`

## Fix status

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