# NousResearch/hermes-agent · Gateway: secondary profile session deletion affecting launch profile session ids

## Open now

- Nothing open on GitHub.

The members appear to concern a multiplexed gateway in which deleting or pruning a session in a secondary profile may cause the launch profile to keep refusing that session id. Two items are fix-oriented changes that mention keeping the routing fence separate from the launch profile and keying retirement by profile, but their outcomes are not stated here.

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

- #140744: Multiplexed gateway: deleting or pruning a session in a secondary profile makes the launch profile refuse that id for good

## Prior & competing PRs

- **#140787: fix(gateway): a prune is not a permanent tombstone, and retirement is keyed by profile (LC-25, LC-26)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/platforms/api_server.py`, `gateway/platforms/api_server_authority_runs.py`, `gateway/platforms/api_server_memory_sessions.py`, `gateway/platforms/api_server_response_admissions.py`, `gateway/platforms/api_server_runs.py`, `gateway/session_api.py`, `gateway/session_api_turn.py`, `gateway/session_mutations.py`, `gateway/session_persistence.py`, `hermes_state_gateway.py`, `hermes_state_mutation_retirement.py`, `tests/gateway/test_api_server_memory_sessions.py`, `tests/gateway/test_delete_secondary_profile_multiplex.py`, `tests/gateway/test_derived_generation_after_sweep.py`, `tests/gateway/test_secondary_route_fence_scope.py`, `tests/hermes_state/test_retired_fence_outlives_horizon.py`
- **#140745: fix(gateway): keep a secondary profile's routing fence out of the launch profile's sessions**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#140787`, `#140762`

## Fix status

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