# NousResearch/hermes-agent · Gateway replay duplicates data during cache rebuild

## Open now

- 1 issue, 0 PRs open on GitHub.
- #121462: Gateway cache invalidation can append an identical active transcript block after compaction

These items address a bug where replaying or rebuilding gateway state can produce duplicate transcript blocks or history entries. The fixes focus on preserving durable markers and persisted stamps through the replay process to prevent redundant appends after compaction.

## 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 #123975. Verify it addresses your case.
- **Recommended:** read PR #123975 (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

- #121462: Gateway cache invalidation can append an identical active transcript block after compaction

## Prior & competing PRs

- **#123975: fix(gateway): keep the persisted stamp on replayed rows so stamp-only flushes don't duplicate history**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/run.py`, `tests/gateway/test_cached_agent_history_guard.py`, `tests/gateway/test_gateway_history_persistence_stamp.py`
- **#121842: fix(gateway): keep born-durable marker through replay rebuild**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `cb3142d3257b15ac42de544bd585793567400d0f`, `#123975`

## Fix status

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