# NousResearch/hermes-agent · WhatsApp bot JID/device suffix matching fixes

## Open now

- 1 issue, 3 PRs open on GitHub.
- #29023: \[Bug\]: WhatsApp reply-to-bot detection fails — device suffix mismatch in botIds vs quotedParticipant
- PR #29112: fix(whatsapp): match reply bot ids without device suffix (#29023)
- PR #47495: fix(whatsapp): strip configured mention_patterns wake-word from group body
- PR #75743: fix(whatsapp): normalize device-suffixed WhatsApp JIDs

Multiple bugs and proposed fixes around WhatsApp bot detection failing due to device suffix mismatches in JIDs, affecting reply-to-bot detection, group @mentions, and sender authorization.

## TL;DR

- 8 member(s): 1 open issue(s), 1 closed issue(s), 3 open PR(s), 0 merged PR(s), 3 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.23`: 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

- #29023: \[Bug\]: WhatsApp reply-to-bot detection fails — device suffix mismatch in botIds vs quotedParticipant

## Closed / duplicate issues

- #2934: WhatsApp bot mode: structured @mentions never detected in groups (device suffix mismatch)

## Prior & competing PRs

- **#29049: fix(whatsapp): match reply-to-bot when botIds carry device suffix**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#29112: fix(whatsapp): match reply bot ids without device suffix (#29023)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#29049`, `#29023`, `#11469`, `#7323`
  - files: `gateway/platforms/whatsapp.py`, `tests/gateway/test_whatsapp_group_gating.py`
- **#46264: fix: match WhatsApp reply-to bot IDs without device suffix**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#47495: fix(whatsapp): strip configured mention_patterns wake-word from group body**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#47505`, `#47493`, `#47505`, `#47505`, `#47495`, `#47505`, `#47505`, `#47505`
  - files: `gateway/platforms/whatsapp_common.py`, `tests/gateway/test_whatsapp_group_gating.py`
- **#63416: fix(whatsapp): authorize first-contact LID senders via senderPn**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `8925c70a1c`, `7b7338cd6d`, `#72592`
- **#75743: fix(whatsapp): normalize device-suffixed WhatsApp JIDs**. open
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `c234e035fb`
  - files: `scripts/whatsapp-bridge/bridge.native.test.mjs`, `tests/gateway/test_whatsapp_group_gating.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
