# NousResearch/hermes-agent · Discord mixed attachment type misclassification bug

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #23652: fix(discord): classify mixed attachments by supported media

A bug where Discord messages with mixed attachments could be misclassified as plain text when the first attachment was an unsupported type. The fixes involve scanning all attachments rather than stopping at the first unrecognized one.

## TL;DR

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

- #11771: bug(discord): mixed-attachment messages can be misclassified as plain text
- #15701: Discord mixed attachments can be misclassified as text when the first attachment is unsupported

## Prior & competing PRs

- **#19875: fix(discord): scan all attachments for type; don't stop at first unrecognized**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/gateway/test_discord_document_handling.py`
- **#11871: fix(discord): ignore unsupported attachments when typing messages**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `9e2628ee7c723ec8daa5e906016bdd38bfeb6d42`, `cc8e5ec2afbfd10a3cff4e710210dd9ecae64a33`, `#19875`
- **#15816: fix(discord): scan all attachments for type; don't stop at first unrecognized (#15701)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#19875`
- **#23652: fix(discord): classify mixed attachments by supported media**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `cc8e5ec2afbfd10a3cff4e710210dd9ecae64a33`
  - files: `gateway/platforms/discord.py`, `tests/gateway/test_discord_document_handling.py`

## Fix status

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