Skip to content

fix: files, ctx and restore point at the stores on an empty index - #835

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

fix: files, ctx and restore point at the stores on an empty index#835
vshulcz merged 1 commit into
mainfrom
fix/empty-store-elsewhere

Conversation

@vshulcz

@vshulcz vshulcz commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Clean machine, nothing indexed:

before: deja files anything       → no sessions mention "anything"
        deja ctx anything         → no session matches "anything"
        deja restore some/file.go → no replaced spans recorded for "some/file.go"
after:  … + — no agent history was found on this machine; `deja sources` shows where deja looked

emptyIndexHint already backs last, blame and search (#832); these three read as "looked, not there" when there was nothing to look in. Answers on a store with history are unchanged. Closes #834.

Three commands still phrased an empty store as a miss on the argument.
Closes #834.
@vshulcz
vshulcz merged commit 6ad2487 into main Aug 1, 2026
14 checks passed
@vshulcz
vshulcz deleted the fix/empty-store-elsewhere branch August 1, 2026 20:58
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 an empty machine, files, ctx and restore answer as if the query was the problem

1 participant