# NousResearch/hermes-agent · Feishu and Mattermost media thread delivery issues

## Open now

- 4 issues, 5 PRs open on GitHub.
- #37425: Bug: send_message cannot deliver to Feishu topic/thread targets
- #39526: Feishu: MEDIA attachments sent via topic/thread reply land in main conversation instead of thread
- #54498: Feishu topic group messages fail with 99992402 field validation failed
- #61000: Feishu: image/file MEDIA delivery in thread fails with 99992402 — receive_id_type='thread_id' invalid
- PR #37509: fix(feishu): preserve topic reply targets for send_message
- PR #55067: fix(feishu): media/file sends in topic groups fail with 99992402 (invalid receive_id_type=thread_id)
- PR #61398: fix(feishu): use ReplyMessage instead of CreateMessage for thread delivery
- PR #64343: fix(feishu): keep topic replies and media in threads
- PR #141924: fix(feishu): route topic media through the reply API

These issues and fixes concern media and file attachments failing to deliver within threads or topic groups on Feishu (often producing error 99992402) and Mattermost (posting to channel root instead of the correct thread). Both platforms share the theme of thread-aware media routing being broken or missing.

## TL;DR

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

- #37425: Bug: send_message cannot deliver to Feishu topic/thread targets
- #39526: Feishu: MEDIA attachments sent via topic/thread reply land in main conversation instead of thread
- #54498: Feishu topic group messages fail with 99992402 field validation failed
- #61000: Feishu: image/file MEDIA delivery in thread fails with 99992402 — receive_id_type='thread_id' invalid

## Closed / duplicate issues

- #35844: Mattermost: media attachments (generated images/files) post to channel root instead of threading under the triggering message

## Prior & competing PRs

- **#33181: Fix Mattermost media attachment threading**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5a0e0d35b94fefae4ff6463c24f53e348f4679e6`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#35849: fix(mattermost): pass reply_to to send_multiple_images for thread-aware media delivery**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5a0e0d35b94fefae4ff6463c24f53e348f4679e6`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#37509: fix(feishu): preserve topic reply targets for send_message**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/channel_directory.py`, `plugins/platforms/feishu/adapter.py`, `tests/tools/test_feishu_topic_delivery.py`, `tools/send_message_senders.py`, `tools/send_message_tool.py`
- **#39563: fix(feishu): keep media replies in threads**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#64343`
- **#55067: fix(feishu): media/file sends in topic groups fail with 99992402 (invalid receive_id_type=thread_id)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#64343`
  - files: `gateway/platforms/base.py`, `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_stream_consumer_thread_routing.py`, `tests/gateway/test_telegram_thread_fallback.py`
- **#61398: fix(feishu): use ReplyMessage instead of CreateMessage for thread delivery**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_stream_consumer_thread_routing.py`
- **#64343: fix(feishu): keep topic replies and media in threads**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/platforms/base.py`, `gateway/run.py`, `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_feishu.py`, `tests/gateway/test_run_progress_topics.py`, `tests/gateway/test_tts_media_routing.py`
- **#76677: fix(feishu): deliver MEDIA attachments inside topic threads**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#55067`
- **#135933: fix: Feishu thread sends with no reply_to used invalid receive_id_type="thread_id" (silent 99992402 drop)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#75940`
- **#141924: fix(feishu): route topic media through the reply API**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_feishu_media_thread_routing.py`

## Fix status

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