# NousResearch/hermes-agent · Session profile scoping bugs and fixes in Desktop/TUI

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #122698: fix(tui): bind session profile scope around slash side-effect mirrors (#122655)

These items concern errors and fixes related to using the wrong profile scope during session operations in the Desktop and TUI interfaces, including model sync, slash commands, interrupt hooks, and log access. A core fix binds session operations to the session's owning profile rather than the backend launch profile.

## TL;DR

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

- #122655: Desktop /model live sync fails with UnscopedSecretError on remote gateway

## Prior & competing PRs

- **#126159: Desktop/TUI act on the session's owning profile, not the backend launch profile: /save, interrupt hook, /model sync, resume hint and route, slash palette, Open Logs, API-server card (8 issues, salvages 6 PRs)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/fs-ipc.test.ts`, `apps/desktop/electron/fs-ipc.ts`, `apps/desktop/electron/preload.ts`, `apps/desktop/src/app/chat/composer/hooks/use-slash-completions.test.tsx`, `apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts`, `apps/desktop/src/app/chat/composer/index.tsx`, `apps/desktop/src/app/chat/composer/types.ts`, `apps/desktop/src/app/chat/index.tsx`, `apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx`, `apps/desktop/src/global.d.ts`, `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `hermes_cli/main_tui_launch.py`, `hermes_cli/web_routers/messaging.py`, `hermes_state_gateway.py`, `tests/hermes_cli/test_exit_summary_resume_hint.py`, `tests/hermes_cli/test_resume_model_restore.py`, `tests/hermes_cli/test_served_profile_mirror_platforms.py`, `tests/tui_gateway/test_interrupt_agent_loop_stopped_hook.py`, `tests/tui_gateway/test_multi_profile_hosting_fail_closed.py` (+11 more)
- **#122698: fix(tui): bind session profile scope around slash side-effect mirrors (#122655)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#122655`
  - files: `tests/tui_gateway/test_multi_profile_hosting_fail_closed.py`, `tui_gateway/methods_slash.py`

## Fix status

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