Skip to content

fix: point at the stores when a search finds an empty index - #833

Merged
vshulcz merged 1 commit into
mainfrom
fix/empty-store-search
Aug 1, 2026
Merged

fix: point at the stores when a search finds an empty index#833
vshulcz merged 1 commit into
mainfrom
fix/empty-store-search

Conversation

@vshulcz

@vshulcz vshulcz commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Clean machine, right after deja install claude-code:

before: deja: no matches in 0 indexed sessions — try fewer words or --re (query "anything")
after:  deja: no matches for "anything" — no agent history was found on this machine; `deja sources` shows where deja looked

last, blame and the brief all handle this case already; search — the command a new machine reaches for first — answered an empty store with advice about the query. An ordinary miss on a store with history keeps its existing answer. Closes #832.

"Fewer words" cannot help when nothing is indexed; last, blame and the brief
already say where deja looked. Closes #832.
@vshulcz
vshulcz merged commit 7c7dc5f into main Aug 1, 2026
14 checks passed
@vshulcz
vshulcz deleted the fix/empty-store-search branch August 1, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

on a machine with no history, search still advises "try fewer words"

1 participant