# NousResearch/hermes-agent · Holographic memory retrieval_count not being incremented

## Open now

- 1 issue, 5 PRs open on GitHub.
- #17899: \[bug\] Holographic memory: retrieval_count never incremented — search() in retrieval.py bypasses store.search_facts()
- PR #39664: fix(memory): increment retrieval_count on search results in holographic memory (#17899)
- PR #55729: fix(memory/holographic): track retrieval counts across retriever paths
- PR #73644: fix(memory/holographic): record retrieval_count on the live read path
- PR #106813: fix(memory): track holographic retrieval usage
- PR #127339: fix(memory/holographic): CJK bigram retrieval for unsegmented languages

A bug where retrieval_count was never updated in holographic memory because certain retrieval and search paths bypassed the tracking logic. Multiple fixes address incrementing this counter across all relevant code paths.

## TL;DR

- 8 member(s): 1 open issue(s), 0 closed issue(s), 5 open PR(s), 0 merged PR(s), 2 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.25`: 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

- #17899: \[bug\] Holographic memory: retrieval_count never incremented — search() in retrieval.py bypasses store.search_facts()

## Prior & competing PRs

- **#17910: fix(memory): increment retrieval_count in retrieval.search() (#17899)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#21022: fix(memory/holographic): track retrieval_count on all retrieval methods**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#17910`, `#17899`, `#17910`
- **#39664: fix(memory): increment retrieval_count on search results in holographic memory (#17899)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#55729`
  - files: `plugins/memory/holographic/retrieval.py`, `tests/plugins/memory/test_retrieval_count.py`
- **#55729: fix(memory/holographic): track retrieval counts across retriever paths**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/memory/holographic/retrieval.py`, `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_retrieval_count.py`
- **#73644: fix(memory/holographic): record retrieval_count on the live read path**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - files: `plugins/memory/holographic/retrieval.py`, `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_retrieval.py`
- **#106813: fix(memory): track holographic retrieval usage**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#55729`, `#99087`, `#17899`, `#78801`
  - files: `plugins/memory/holographic/__init__.py`, `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_retrieval_telemetry.py`
- **#127339: fix(memory/holographic): CJK bigram retrieval for unsegmented languages**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/memory/holographic/cjk_tokenize.py`, `plugins/memory/holographic/retrieval.py`, `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_cjk_retrieval.py`

## Fix status

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