# NousResearch/hermes-agent · Named-profile session key namespace fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address bugs where named-profile session keys were not correctly parsed, recognized, or authorized across the gateway and qqbot components. The work involves fixing session key namespace handling so named profiles maintain proper state and pass authorization checks.

## TL;DR

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

- #98292: \[Bug\]: qqbot approval buttons rejected as unauthorized in named-profile sessions (session-key namespace vs "main")

## Prior & competing PRs

- **#108294: fix(gateway): secondary profiles keep their session keys and own state.db on every path (#98292, salvage #105942 #98294)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/platforms/qqbot/adapter.py`, `gateway/run.py`, `gateway/run_busy.py`, `gateway/run_notifications.py`, `gateway/run_shutdown.py`, `gateway/session_persistence.py`, `gateway/slash_commands_session.py`, `hermes_cli/goals.py`, `tests/gateway/test_background_process_notifications.py`, `tests/gateway/test_multiplex_session_db_profile_scope.py`, `tests/gateway/test_qqbot.py`, `tests/gateway/test_stop_thread_sibling.py`, `tests/gateway/test_undo_rewind_session.py`, `tests/hermes_cli/test_goals.py`, `tests/hermes_cli/test_goals_db_bootstrap_off_loop.py`, `tests/tui_gateway/test_launch_db_home_override_race.py`, `tui_gateway/agent_callbacks.py`, `tui_gateway/methods_tools.py`, `tui_gateway/session_lifecycle.py`, `tui_gateway/session_notifications.py` (+1 more)
- **#98294: fix(qqbot): authorize approval buttons for named-profile session keys**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `adc4fad9195`, `#108294`, `#98292`
- **#105977: fix(gateway): accept named-profile namespace in session-key parsing and sibling lookup**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#105942`

## Fix status

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