# NousResearch/hermes-agent · Delegate child sessions taking over coordinator chats in gateway

## Open now

- 1 issue, 0 PRs open on GitHub.
- #134522: \[Bug\]: Discord child process notifications hijack coordinator sessions and drop delegation results (macOS, repeated after restart)

The members all concern delegate child process completions or notifications taking over or hijacking a coordinator's chat session, including a Discord bug report and several gateway fix proposals covering prevention and recovery. The titles do not show the outcome of any of these changes.

## TL;DR

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

## Open related issues

- #134522: \[Bug\]: Discord child process notifications hijack coordinator sessions and drop delegation results (macOS, repeated after restart)

## Prior & competing PRs

- **#136225: fix(gateway): keep delegate child completions from taking over the chat (supersedes #132827)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `gateway/run_busy.py`, `gateway/run_notifications.py`, `gateway/run_notifications_ownership.py`, `gateway/run_turn.py`, `tests/gateway/conftest.py`, `tests/gateway/test_async_delegation_session_binding.py`, `tests/gateway/test_child_notice_profile_admission.py`, `tests/gateway/test_completion_admission_compression_race.py`, `tests/gateway/test_completion_owner_retry.py`, `tests/gateway/test_multiplex_routing_authz.py`, `tests/tools/test_async_delegation_requeue.py`, `tools/async_delegation.py`, `tools/process_registry.py`, `tools/process_registry_notifications.py`
- **#162131: fix(gateway): a chat a delegate child took over gets its own conversation back (salvage #135685)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/session.py`, `gateway/session_persistence.py`, `gateway/session_recovery.py`, `tests/gateway/test_delegate_route_owner_restore.py`, `tests/gateway/test_session_store_stale_prune.py`
- **#135685: fix(gateway): prevent and recover delegate session takeover (P1)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `8bf6e1ae72`, `#162131`, `#136225`

## Fix status

- Merged to main in PR #162131 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-12-01`.
- Subsystem: `gateway`
- Kind: `bug` (from the open issues' GitHub type labels).
