# NousResearch/hermes-agent · CJK short query wildcard bug fix in desktop search

## Open now

- Nothing open on GitHub.

A bug where a prefix wildcard character was being treated as a literal in the LIKE fallback for 1–2 character CJK search queries. The associated fixes address stripping that wildcard from CJK queries in desktop session search.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #121996. Verify it addresses your case.
- **Recommended:** read PR #121996 (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-121996`. 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.50`: 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

- #90636: \[Bug\] Desktop session search returns 0 results for 1–2 char CJK queries: API prefix wildcard \`*\` becomes a literal in the LIKE fallback

## Prior & competing PRs

- **#121996: fix: picker/input cluster — model-name casing, submenu keyboard path, variant tags, moa pill, CJK search star, row overlap**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/sidebar/session-row-details.ts`, `apps/desktop/src/app/chat/sidebar/virtual-session-list.test.tsx`, `apps/desktop/src/app/chat/sidebar/virtual-session-list.tsx`, `apps/desktop/src/app/session/hooks/use-model-controls.test.tsx`, `apps/desktop/src/app/session/hooks/use-model-controls.ts`, `apps/desktop/src/app/shell/model-catalog-menu.test.tsx`, `apps/desktop/src/app/shell/model-catalog-menu.tsx`, `apps/desktop/src/app/shell/model-menu-panel.test.tsx`, `apps/desktop/src/lib/model-options.test.ts`, `apps/desktop/src/lib/model-options.ts`, `apps/desktop/src/lib/model-status-label.test.ts`, `apps/desktop/src/lib/model-status-label.ts`, `hermes_state_search.py`, `tests/test_search_cjk_prefix_wildcard.py`
- **#90758: fix(state): strip the caller-appended prefix wildcard from CJK queries (#90636)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#121996`
- **#90768: fix(state): strip prefix wildcard from CJK queries in desktop search**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#90758`

## Fix status

- Merged to main in PR #121996 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-26`.
- Subsystem: `hermes_cli/web_routers`
