# NousResearch/hermes-agent · Route bot events to correct profile and conversation

## Open now

- Nothing open on GitHub.

These items address a routing bug where background-task output, heartbeat events, and completion events could be delivered through the wrong Telegram bot or conversation when a user interacts with multiple profile bots. A fix targets the gateway layer to ensure each event is dispatched to the profile and conversation that owns it.

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

## Closed / duplicate issues

- #102635: Background-task output delivered via wrong Telegram bot when one user DMs two profiles' bots

## Prior & competing PRs

- **#105356: fix(gateway): heartbeat and completion events resume the owning conversation**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `evals/gateway_completion/README.md`, `evals/gateway_completion/delivery_lifecycle.py`, `evals/heartbeat_idle_wire.py`, `gateway/AGENTS.md`, `gateway/kanban_watchers_notifier.py`, `gateway/platforms/base.py`, `gateway/platforms/event.py`, `gateway/run.py`, `gateway/run_busy.py`, `gateway/run_goals.py`, `gateway/run_heartbeat_acceptance.py`, `gateway/run_heartbeat_restore.py`, `gateway/run_notifications.py`, `gateway/run_startup.py`, `gateway/run_turn.py`, `gateway/session_context.py`, `gateway/session_recovery.py`, `gateway/slash_commands.py`, `gateway/wake.py`, `hermes_cli/kanban.py` (+33 more)
- **#102647: fix(gateway): route background completions to the owning profile's bot (#102635)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `4810074d73d9419dc82545202d595507a73f4f0e`, `#105356`

## Fix status

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