# NousResearch/hermes-agent · Fix resume message count inflated by compaction copies

## Open now

- 1 issue, 2 PRs open on GitHub.
- #107905: \[Bug\]: resume guard counts compaction-generation copies — a 4.7k-message session is refused at 20,001 rows (CLI \`hermes -c\`)
- PR #107912: fix(state): count deduped resume messages, not compaction copies
- PR #107913: fix(sessions): count deduped resume projection

A bug causes resume guard logic to count compaction-generated duplicate rows instead of deduplicated messages, incorrectly refusing sessions that exceed a row threshold. The accompanying fixes correct the counting method in state and session resume projection.

## 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

- #107905: \[Bug\]: resume guard counts compaction-generation copies — a 4.7k-message session is refused at 20,001 rows (CLI \`hermes -c\`)

## Prior & competing PRs

- **#107912: fix(state): count deduped resume messages, not compaction copies**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `4527c637cc`, `b2af2f103457b4a83ddc2fd148fc0b06a8414261`, `cd4259d5f6`, `b2af2f1034`, `05d705dd69`, `cd4259d5f6bd5243c179612821b415749195e896`, `#107913`, `#107905`, `#107912`, `#107913`, `#107913`, `#107913`, `#107913`
  - files: `hermes_state_messages.py`, `tests/hermes_state/test_display_projection_parity.py`
- **#107913: fix(sessions): count deduped resume projection**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `044a77b3b6a`, `cd4259d5f6b`, `b2af2f10345`, `#107905`, `#107912`, `#107913`, `#107912`, `#107913`, `#107913`
  - files: `hermes_state_messages.py`, `tests/hermes_state/test_display_projection_parity.py`

## Fix status

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