[codex] Add manifest verified-load planning helper#163
Conversation
Review Summary by QodoAdd manifest verified-load planning helper for Rust callers
WalkthroughsDescription• Add verify_for_load() helper for Rust callers to verify manifests and obtain typed load plans • Return canonical artifact paths, probed metadata, row-identity summary, and auxiliary artifact states • Fail closed with VerifiedLoadPlanError::VerificationFailed(report) preserving full verification report • Document mutable-path boundary: planning helper does not pin descriptors or make storage immutable Diagramflowchart LR
A["manifest_path + VerifyOptions"] -->|verify_for_load| B["VerifiedLoadPlan"]
B --> C["canonical artifact_path"]
B --> D["metadata report"]
B --> E["row_identity plan"]
B --> F["auxiliary_artifacts plan"]
B --> G["full verification report"]
H["VerificationFailed"] -.->|fail closed| B
File Changes1. ordvec-manifest/src/lib.rs
|
Code Review by Qodo
Context used 1.
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new verifier-only helper VerifiedLoadPlan and a corresponding verify_for_load function to ordvec-manifest. This allows Rust callers to verify a manifest, retain a typed report, and load from resolved artifact and sidecar paths without re-resolving manifest strings. The changes also include comprehensive documentation updates and unit tests. The reviewer suggested making the internal helper function verify_document_for_load public to allow library callers with in-memory ManifestDocuments to plan verified loads directly without disk I/O.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 80e531316c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
0b19f0a to
ca62d24
Compare
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
4f126ca to
9ae2ab4
Compare
|
Rebased #163 onto current Current branch commits on top of
Validation on rebased head
Before the rebase, Qodo's only previous finding ( |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 9ae2ab4 |
Summary
verify_for_load(manifest_path, VerifyOptions)andverify_document_for_load(&ManifestDocument, VerifyOptions)verifier-only helpers for Rust callersVerifiedLoadPlanError::VerificationFailed(report)when verification reports errors, preserving report access for caller policy/loggingCloses #146.
Stack / Scope
codex/auxiliary-artifact-manifest) so auxiliary sidecar states are part of the plan surface.ordvec-manifestpublishable (manifest: publishable verifier crate and stable library API #143), expose programmatic cache APIs (manifest: expose programmatic verification cache API #147), unify report schemas (manifest: unify index, row identity, and auxiliary verification report #148), add signing/key/network policy, or callRank::load/RankQuant::load/Bitmap::load/SignBitmap::load.Validation
cargo fmt --all --checkcargo test -p ordvec-manifest --test manifest verify_for_loadcargo test -p ordvec-manifest --test manifestcargo test -p ordvec-manifest --test manifest --features sqlitecargo check -p ordvec-manifest --no-default-featurescargo check -p ordvec-manifest --all-featurescargo clippy -p ordvec-manifest --all-targets --features sqlite -- -D warningsgit diff --checkAdversarial Review
PathBufs captured during verification into the plan, andverify_for_load_preserves_non_utf8_base_pathscovers the regression.3f80ba2addresses both by using verification-time path capture and exposingverify_document_for_load.