# NousResearch/hermes-agent · gateway completion routing to wrong session bugs

## Open now

- 1 issue, 0 PRs open on GitHub.
- #96850: Bug: Background task output routes to a newly spawned contextless session and freezes the originating session

These items concern bugs where completion or output is routed to an incorrect or newly spawned session, including race conditions around route re-pinning and retargeting non-compression completions to the active session.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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 #114765. Verify it addresses your case.
- **Recommended:** read PR #114765 (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: `unresolved`. 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.

## Open related issues

- #96850: Bug: Background task output routes to a newly spawned contextless session and freezes the originating session

## Prior & competing PRs

- **#114765: fix(gateway): async completion no longer re-pins a route after /stop or /new won the race (#113690, salvage #113692, #113716)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/run_agent_cache.py`, `gateway/run_notifications.py`, `gateway/run_turn.py`, `gateway/session.py`, `tests/gateway/test_async_delegation_session_binding.py`, `tests/gateway/test_session.py`, `tests/gateway/test_telegram_topic_mode.py`, `website/docs/developer-guide/gateway-session-lifecycle.md`
- **#107812: fix(gateway): retarget non-compression completions to active session (#96850)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `3e408dcc2a74`, `#114765`, `#113690`, `#113692`, `#113716`

## Fix status

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