# NousResearch/hermes-agent · Deduplication of duplicate rows in session/state storage

## Open now

- 1 issue, 0 PRs open on GitHub.
- #129368: Duplicate byte-identical assistant rows persist in the session store after #123462

These issues and fixes address byte-identical duplicate rows appearing in session and state storage, targeting deduplication by role, content, and timestamp fields.

## TL;DR

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

- #129368: Duplicate byte-identical assistant rows persist in the session store after #123462

## Prior & competing PRs

- **#130632: fix(state): a re-flushed restored history block no longer duplicates in state.db (#129065, salvage #129133)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/transcript_repair.py`, `hermes_state.py`, `hermes_state_common.py`, `hermes_state_messages.py`, `tests/acp_adapter/test_session.py`, `tests/hermes_state/test_unaddressed_rewrite_identity.py`
- **#129534: fix(sessions): dedupe byte-identical re-flushed rows by (role, content, timestamp) (#129368)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `be20a423ba`, `2b52acc2d8`, `#130632`

## Fix status

- Merged to main in PR #130632 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-01`.
- Subsystem: `agent`
