# NousResearch/hermes-agent · Feishu receive_id_type inferred from ID prefix

## Open now

- 1 issue, 3 PRs open on GitHub.
- #7685: fix(feishu): _send_raw_message hardcodes receive_id_type="chat_id", breaks delivery to open_id (ou_) targets
- PR #7694: fix(feishu): infer receive_id_type from ID prefix in _send_raw_message
- PR #7769: fix(feishu): infer receive_id_type from chat_id prefix
- PR #113617: fix(feishu): infer union_id receive type from on_ prefix

Multiple issues and fixes addressing a bug where the Feishu adapter hardcodes receive_id_type as 'chat_id', causing delivery failures when targeting open_id (ou_) recipients. The proposed fix infers receive_id_type dynamically from the ID prefix.

## TL;DR

- 5 member(s): 1 open issue(s), 1 closed issue(s), 3 open PR(s), 0 merged PR(s), 0 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.34`: 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

- #7685: fix(feishu): _send_raw_message hardcodes receive_id_type="chat_id", breaks delivery to open_id (ou_) targets

## Closed / duplicate issues

- #9980: Feishu: send to user open_id fails with \[230001\] invalid receive_id

## Prior & competing PRs

- **#7694: fix(feishu): infer receive_id_type from ID prefix in _send_raw_message**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#7769`, `#10040`, `#7685`
  - files: `gateway/platforms/feishu.py`, `tests/gateway/test_feishu.py`
- **#7769: fix(feishu): infer receive_id_type from chat_id prefix**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#7694`, `#7685`, `#10040`
  - files: `gateway/platforms/feishu.py`
- **#113617: fix(feishu): infer union_id receive type from on_ prefix**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#7685`
  - files: `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_feishu.py`

## Fix status

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