# NousResearch/hermes-agent · Session search truncation mishandling FTS5 boolean operators

## Open now

- Nothing open on GitHub.

One issue and two pull requests concern session search excerpt truncation treating FTS5 boolean operators as ordinary search terms. The pull requests propose ignoring or stripping those operators when building truncation query terms and centering excerpts.

## TL;DR

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

- #4238: Session search truncation treats FTS5 boolean operators as search terms

## Prior & competing PRs

- **#18690: fix(session-search): ignore FTS operators when centering excerpts**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `abf1af540193c30047ff3e7e759c330faf3a880f`, `#18690`, `#27590`, `#4238`
- **#18692: fix(session-search): strip FTS5 operators from truncation query terms**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `abf1af540193c30047ff3e7e759c330faf3a880f`, `#18692`, `#27590`

## Fix status

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