# NousResearch/hermes-agent · Fix wildcard bug in memory entity name matching

## Open now

- 1 issue, 1 PR open on GitHub.
- #43394: fix(memory): _resolve_entity uses LIKE for exact match — wildcard and case-sensitivity bugs create duplicate entities
- PR #40746: fix(memory): treat entity names as literals in holographic resolution

All members address the same bug: the \`_resolve_entity\` function used SQL \`LIKE\` instead of exact equality (\`=\`) when matching entity names, causing wildcard characters and case-sensitivity issues to produce duplicate entities.

## 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

- #43394: fix(memory): _resolve_entity uses LIKE for exact match — wildcard and case-sensitivity bugs create duplicate entities

## Prior & competing PRs

- **#40746: fix(memory): treat entity names as literals in holographic resolution**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `b5226caff8eeca575ea64a4c68dee5dc84b1e50f`
  - files: `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_store.py`
- **#43420: fix(memory): use exact match (=) instead of LIKE in _resolve_entity**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#40746`
- **#43421: fix(memory): match entities by exact name, not LIKE wildcards**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#40746`, `#43394`, `#41589`, `#43420`
- **#43523: fix(memory): use exact match instead of LIKE in _resolve_entity to prevent wildcard bugs**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#40746`, `#43394`, `#41589`, `#43420`, `#43421`

## Fix status

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