# NousResearch/hermes-agent · fact_store FTS5 search mishandling hyphenated query tokens

## Open now

- 1 issue, 3 PRs open on GitHub.
- #14024: \[Bug\]: fact_store search action fails with "no such column" error on hyphenated queries (FTS5 tokenization)
- PR #14033: fix(memory): sanitize holographic fact_store FTS queries
- PR #14262: fix(memory/holographic): sanitize hyphenated tokens in FTS5 queries
- PR #39663: fix(memory): sanitize FTS5 queries to prevent crashes on hyphenated tokens (#14024)

The issues report that fact_store search in holographic memory returns zero results or a "no such column" error when queries contain hyphens or other FTS5 operator characters. The pull requests propose sanitizing or auto-quoting such tokens in FTS5 queries; their outcomes are not stated in the titles.

## TL;DR

- 7 member(s): 1 open issue(s), 1 closed issue(s), 3 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.26`: 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

- #14024: \[Bug\]: fact_store search action fails with "no such column" error on hyphenated queries (FTS5 tokenization)

## Closed / duplicate issues

- #21102: Holographic memory: \`fact_store action="search"\` silently returns 0 results when query contains FTS5 operator characters (e.g. hyphens)

## Prior & competing PRs

- **#14033: fix(memory): sanitize holographic fact_store FTS queries**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#11333`, `#6667`
  - files: `plugins/memory/holographic/retrieval.py`, `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_provider.py`
- **#14262: fix(memory/holographic): sanitize hyphenated tokens in FTS5 queries**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `40dbfa0e3ce85dc0d63f1ebe1319d212c53d3511`, `38e7bd8a08a9df450b7d8661778ecc47f25323c2`
  - files: `agent/error_classifier.py`, `gateway/run.py`, `plugins/memory/holographic/retrieval.py`
- **#14794: fix(tools): auto-quote hyphenated tokens in fact_store FTS5 queries**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#14033`, `#14024`, `#14262`, `#14794`
- **#39663: fix(memory): sanitize FTS5 queries to prevent crashes on hyphenated tokens (#14024)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/memory/holographic/retrieval.py`, `tests/plugins/memory/test_holographic_fixes.py`
- **#64209: fix(holographic): hyphenated-identifier search returned 0 results**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#14033`, `#14024`, `#39664`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
