# NousResearch/hermes-agent · Slack bot thread timestamp eviction ordering fix

## Open now

- Nothing open on GitHub.

A bug was identified where the Slack gateway evicted arbitrary (rather than oldest-first) thread timestamps from tracking structures, causing the bot to silently stop responding to active threads. The associated changes address eviction ordering and bounding of per-message tracking structures.

## TL;DR

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

- #51019: \[Bug\]: Slack gateway evicts arbitrary thread timestamps from _bot_message_ts / _mentioned_threads — bot silently stops responding to active threads

## Prior & competing PRs

- **#69484: fix(slack): bound all per-message tracking structures with oldest-first eviction**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/2418548+markoub@users.noreply.github.com`, `plugins/platforms/slack/adapter.py`, `tests/gateway/test_slack.py`, `tests/gateway/test_slack_approval_buttons.py`
- **#51023: fix(slack): sort timestamps before evicting from _bot_message_ts and …**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#51097: fix(slack): evict oldest tracked thread timestamps**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#69484`, `#51019`

## Fix status

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