[codex] migrate retrieval manifest to lexical schema#1047
Merged
TheGreenCedar merged 1 commit intoJul 13, 2026
Conversation
4c97e6d to
95a8710
Compare
8 tasks
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.
Context
PR #996 replaced the removed lexical sidecar with project-local SQLite FTS, but
retrieval_index_manifeststill physically stored and updated the producer version through the legacy column. Several response-only serde aliases and an unconditional legacy Compose interpolation also kept removed vocabulary active.Closes #1043
Refs #983
Refs #899
What Changed
lexical_version.How To Review
storage_impl/schema.rs: v20 addsfile.content_hash; v21 performs the idempotent manifest rename.retrieval_manifest.rsreads and writes onlylexical_version.Verification
cargo fmt --all -- --checkcargo test -p codestory-store— 86 passedcargo test -p codestory-retrieval compose_down_— 2 passedcargo test -p codestory-retrieval legacy_lexical— 2 passedcargo test -p codestory-retrieval— 341 unit tests passed, 2 explicitly ignored; integration suites passed 2 + 2 + 4, with 1 live-sidecar test explicitly ignoredcargo clippy -p codestory-store -p codestory-retrieval --all-targets -- -D warningsnode .github/scripts/check-doc-links.mjsnode .github/scripts/check-workflow-policy.mjspython -m py_compile .github/scripts/check-packaged-agent-proof.pygit diff --checkRisk