# NousResearch/hermes-agent · Fix webhook/gateway replies routing to wrong profile

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where webhook replies and gateway callbacks are delivered through the wrong profile's adapter instead of the originating profile. The changes ensure reply routing stays scoped to the correct profile context.

## TL;DR

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

- #65939: Profiled webhooks can send replies through the wrong profile

## Prior & competing PRs

- **#107626: fix(gateway): /p/<profile>/ webhook replies and api_server callbacks stay on the routed profile (#65939, #84266, salvage #65944/#103041/#67147)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/platforms/api_server.py`, `gateway/platforms/webhook.py`, `tests/gateway/test_webhook_adapter.py`, `tests/gateway/test_webhook_deliver_only.py`, `tests/gateway/test_webhook_integration.py`, `tests/gateway/test_webhook_profile_egress.py`, `website/docs/user-guide/multi-profile-gateways.md`
- **#65944: fix(webhook): preserve profile-scoped reply delivery**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `c3e01c753dc`, `#107626`, `#65939`
- **#65957: fix(webhook): use profile-specific adapter and home channel for reply delivery**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `c3e01c753dc`, `#107626`, `#65944`, `#65939`

## Fix status

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