Fix global legacy note search retrieval - #2
Closed
andrei-hasna wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
Closing as superseded / already-fixed-on-main. Every element of this PR is already present on
Additionally, main deliberately reverses this PR's migrate-on-read behavior: main carries 'global search reads the old legacy note store without migration' and 'global list does not migrate legacy .open-knowledge data on read', and scopes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
legacy_itemresults withknowledge://item/<id>refs~/.open-knowledge/db.jsonValidation
bun test tests/search.test.ts tests/retrieval.test.ts tests/cli.test.ts --timeout 30000passed: 45 tests, 460 assertions~/.open-knowledge/db.jsonfirst-command search migrationbun testpassed: 122 tests, 1477 assertionsbun test tests/mcp.test.ts --timeout 30000passedbun run buildpassedknowledge storage protect --scope project --json && knowledge storage validate --strict --scope project --jsonpassed in the clean worktreeNotes
knowledge reindexremains scoped to SQLite source/wiki chunks and vector rows; JSON notes are keyword-searchable/context-packable, not embedded by reindex.bunx tsc -p tsconfig.json --noEmitstill fails on pre-existing unrelated test/rootDir/type drift; the targeted changed-file typecheck passes.