# NousResearch/hermes-agent · Secondary profile session writes to wrong profile

## Open now

- Nothing open on GitHub.

A bug where /save and other session actions in TUI/Desktop incorrectly target the default or backend launch profile instead of the session's owning profile. Multiple related behaviors are grouped together, including interrupt hook, model sync, resume routing, slash palette, and log access.

## 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 #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

- #125241: \[Bug\]: TUI/Desktop /save from a secondary-profile session writes the transcript into the default profile

## 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)
- **#125242: fix(tui_gateway): /save from a secondary-profile session writes under that profile**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#126159`

## Fix status

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