# NousResearch/hermes-agent · Context compaction drops messages during active processing

## Open now

- Nothing open on GitHub.

These members address a bug where user messages arriving during context compaction are lost or dropped. The focus is on draining or preserving pending messages when interrupts or new input arrive mid-compaction.

## TL;DR

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

- #28093: Bug: Context compaction drops user messages that arrive during active processing

## Prior & competing PRs

- **#28635: fix(agent+gateway): drain pending messages when interrupt arrives during context compaction**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `3a6351454b92c0d4b9f54e6eef43e3ff187ad828`, `#28093`
- **#52558: Fix: Context compaction race condition drops pending user messages (#28093)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#52572`
- **#52572: fix(agent): prevent data loss during context compaction (#28093)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#64434`

## Fix status

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