# NousResearch/hermes-agent · Achievement lifetime counters regress after session pruning

## Open now

- 1 issue, 1 PR open on GitHub.
- #28661: hermes-achievements lifetime counters regress after sessions.auto_prune prunes state.db
- PR #63736: fix(achievements): persist pruned session contributions to durable ledger

A bug where pruning session state causes achievement lifetime counters to decrease is addressed through fixes that persist session contributions to a durable ledger before pruning occurs. The cluster covers the bug report and multiple related fix attempts ensuring lifetime progress remains monotonic.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 1 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.40`: 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

- #28661: hermes-achievements lifetime counters regress after sessions.auto_prune prunes state.db

## Prior & competing PRs

- **#28705: fix(achievements): persist lifetime counters to prevent regression after prune**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#28464`, `#28461`, `#28602`
- **#28713: fix(achievements): persist lifetime counters to prevent regression after prune**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `4a5dae945fd5c56c4eb587a291460b51952d2e1e`, `2d908b3d4`, `9932cfd30`, `#50882`
- **#50882: fix(achievements): keep lifetime progress monotonic after session cleanup**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#28713`, `#28661`
- **#63736: fix(achievements): persist pruned session contributions to durable ledger**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#28661`, `#28713`, `#50882`
  - files: `plugins/hermes-achievements/dashboard/plugin_api.py`, `tests/plugins/test_achievements_plugin.py`

## Fix status

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