# NousResearch/hermes-agent · Rotation compression _db_persisted marker bug fixes

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where the _db_persisted marker is incorrectly copied during rotation compression assembly, causing bulk flush to child sessions to be skipped. The work involves stripping or correcting that marker to ensure proper persistence of rotated compression transcripts.

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

- #57491: Rotation compression: _db_persisted marker copied via messages\[i\].copy() skips bulk flush to child session (cached gateway regression since #50372)

## Prior & competing PRs

- **#57574: fix(agent): strip _db_persisted on rotation compression assembly (salvage #57531, #57491)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `tests/agent/test_context_compressor.py`, `tests/run_agent/test_compression_persistence.py`
- **#57508: fix: persist rotated compression transcripts**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#57574`, `#57531`
- **#57531: fix(agent): strip _db_persisted on rotation compression assembly (#57491)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#57491`, `#57574`

## Fix status

- Merged to main in PR #57574 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-03`.
