# NousResearch/hermes-agent · Matrix reply fallback pill parsing and mention strip bug

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #108433: Fix Matrix reply context for modern clients

These items address a bug where the Matrix reply fallback pill is rewritten or consumed by the mention strip before it can be parsed, causing reply_to_author_id to be lost. The work involves fixing how reply context and fallback pills are handled for both modern and legacy Matrix clients.

## TL;DR

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

- #111233: \[Bug\]: Matrix reply to the bot loses reply_to_author_id — the mention strip rewrites the fallback pill before it is parsed

## Prior & competing PRs

- **#111343: fix(matrix): a reply to the bot keeps its reply_to_author under require_mention (#111233, salvage #111245)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `plugins/platforms/matrix/adapter.py`, `tests/gateway/test_matrix_message_event_metadata.py`
- **#108433: Fix Matrix reply context for modern clients**. open
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `#108425`, `#92891`, `#108433`
  - files: `plugins/platforms/matrix/adapter.py`, `plugins/platforms/matrix/adapter_reply.py`, `tests/gateway/test_matrix_message_event_metadata.py`
- **#111245: fix(gateway): keep the Matrix reply fallback pill out of the mention strip (#111233)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `ff817a2b30`, `1ad89ac018`, `#111343`

## Fix status

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