# NousResearch/hermes-agent · Mattermost self-mention stripping and residue bugs

## Open now

- 1 issue, 2 PRs open on GitHub.
- #125380: \[Bug\]: Mattermost: self-mention strip after the gate makes multi-recipient posts look addressed to the other bots (**** / double-space residue)
- PR #125395: fix(mattermost): strip self-mentions without residue and anchor bot identity in channels
- PR #125402: fix(mattermost): strip only edge self-mentions, preserve the co-recipient set (option B to #125395)

These items concern a bug where stripping self-mentions in Mattermost multi-recipient posts leaves behind unwanted residue (asterisks or double spaces), and proposed fixes for how edge self-mentions are removed while preserving co-recipient context.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #125380: \[Bug\]: Mattermost: self-mention strip after the gate makes multi-recipient posts look addressed to the other bots (**** / double-space residue)

## Prior & competing PRs

- **#125395: fix(mattermost): strip self-mentions without residue and anchor bot identity in channels**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `plugins/platforms/mattermost/adapter.py`, `tests/gateway/test_mattermost.py`
- **#125402: fix(mattermost): strip only edge self-mentions, preserve the co-recipient set (option B to #125395)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `16eef10806`
  - files: `plugins/platforms/mattermost/adapter.py`, `tests/gateway/test_mattermost.py`

## Fix status

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