# NousResearch/hermes-agent · Session title search via substring matching fix

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #67381: fix(session_search): replace exact-match title search with LIKE-based substring matching
- PR #103079: fix(search): make session titles searchable and surface them in results

A bug was identified where session_search could not find sessions by title because the FTS5 index only covers message content. The fixes add LIKE-based substring matching to include session titles in search results.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #133981. Verify it addresses your case.
- **Recommended:** read PR #133981 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-133981`. 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.

## Closed / duplicate issues

- #66242: session_search cannot find sessions by title — FTS5 index only covers message content, not sessions.title

## Prior & competing PRs

- **#66247: fix: include session titles in search_messages() LIKE supplement**. closed without merge · fix tier `suggested`
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `4efec63a3`, `#67381`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#133981: fix(dashboard): backfill /api/sessions/search with title matches**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/web_routers/sessions.py`, `tests/hermes_cli/test_web_server_session_search_titles.py`
- **#67381: fix(session_search): replace exact-match title search with LIKE-based substring matching**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `59e0b77b5ec2`, `#66242`, `#66247`, `#67381`, `#374151`
  - files: `hermes_state.py`, `tests/tools/test_session_search.py`, `tools/session_search_tool.py`
- **#103079: fix(search): make session titles searchable and surface them in results**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#67381`, `#66242`
  - files: `apps/desktop/src/app/chat/sidebar/index.tsx`, `apps/desktop/src/app/chat/sidebar/strip-fts-markers.test.ts`, `apps/desktop/src/types/hermes.ts`, `hermes_cli/web_routers/sessions.py`, `hermes_state_search.py`, `tests/hermes_cli/test_web_server_session_search.py`, `tests/test_hermes_state.py`

## Fix status

- Merged to main in PR #133981 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-06`.
- Subsystem: `agent`
