# NousResearch/hermes-agent · Profile secret scoping bugs and fixes in multi-profile serve

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #120734: fix(profiles): describe/configure bind the profile's secret scope, not just its home

A bug where profile secrets (e.g. API keys) were read from the wrong scope during multi-profile serving caused incorrect describe/tools output. Several fixes address binding secret scope correctly to each profile's context.

## TL;DR

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

- #120726: \[Bug\]: profiles.describe reports every toolset disabled for unpinned profiles on a multi-profile hermes serve (unscoped XAI_API_KEY read swallowed)

## Prior & competing PRs

- **#126160: Multiplex secondary profiles keep their A2A gate, Buzz config, plugin injector, MCP headers, describe and tools.list scoped to the served profile (#122126 #125985 #125102 #119092 #120726 #117977)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `gateway/run_inbound.py`, `hermes_cli/plugins.py`, `plugins/platforms/a2a/__init__.py`, `plugins/platforms/a2a/tools.py`, `plugins/platforms/buzz/adapter.py`, `tests/gateway/test_buzz_adapter.py`, `tests/gateway/test_plugin_message_injection.py`, `tests/hermes_cli/test_plugin_message_injection.py`, `tests/plugins/test_a2a_plugin.py`, `tests/tools/test_mcp_connect_secret_scope.py`, `tests/tui_gateway/test_profiles_describe_secret_scope.py`, `tests/tui_gateway/test_tools_readback_scope.py`, `tools/mcp_tool_config.py`, `tools/mcp_tool_discovery.py`, `tools/mcp_tool_server_run.py`, `tui_gateway/methods_profiles.py`, `tui_gateway/methods_tools.py`, `website/docs/developer-guide/multiplexing-gateway.md` (+1 more)
- **#120729: fix(tui): scope profile secrets for describe**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#120734`
- **#120734: fix(profiles): describe/configure bind the profile's secret scope, not just its home**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#120729`
  - files: `tests/tui_gateway/test_profiles_describe_secret_scope.py`, `tui_gateway/methods_profiles.py`

## Fix status

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