# NousResearch/hermes-agent · Gateway deletion of non-root profile sessions blocked by routing guard

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #138862: fix(gateway): let a multiplexed profile's delete pass the routing guard

Three members relate to deleting sessions belonging to a secondary (non-root, multiplexed) profile in the gateway. One reports a 409 runtime_coordination_required error involving store._routing_db and authority.db, and two are fix-titled changes that address deletion and the routing guard.

## 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 #140191. Verify it addresses your case.
- **Recommended:** read PR #140191 (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-140191`. 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

- #138826: Deleting a non-root profile's session always 409s: runtime_coordination_required (store._routing_db vs authority.db)

## Prior & competing PRs

- **#140191: fix(gateway): session writes from serve/dashboard reach the owner and fail by name (package 7, DB-2, DB-4, LC-10, LC-15)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/control_socket.py`, `gateway/session_identity.py`, `gateway/session_mutations.py`, `gateway/session_persistence.py`, `hermes_cli/gateway_client.py`, `hermes_cli/sessions_cmd.py`, `hermes_cli/subcommands/sessions.py`, `hermes_cli/web_server_sessions.py`, `hermes_state_gateway.py`, `hermes_state_maintenance.py`, `hermes_state_mutation_binding.py`, `tests/gateway/test_authority_connection.py`, `tests/gateway/test_control_socket_forwarded_subject.py`, `tests/gateway/test_delete_secondary_profile_multiplex.py`, `tests/hermes_cli/test_session_mutation_legacy_client.py`, `tests/hermes_cli/test_session_mutation_standalone.py`, `tests/hermes_cli/test_sessions_delete.py`, `tests/hermes_cli/test_web_server_session_owner_forward.py`, `tests/hermes_state/test_hermes_state_archive_open.py`, `tests/hermes_state/test_history_login_label.py` (+2 more)
- **#138846: fix(gateway): delete secondary profile sessions**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#140191`, `#138862`
- **#138862: fix(gateway): let a multiplexed profile's delete pass the routing guard**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1da891e83e`
  - files: `gateway/session_mutations.py`, `tests/gateway/test_authority_connection.py`, `tests/gateway/test_delete_secondary_profile_multiplex.py`

## Fix status

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