Add v0.4 manifest sidecars and probe helpers#202
Conversation
Code Review by Qodo
1.
|
PR Summary by QodoAdd manifest sidecar support, optional CLI feature, and two-stage probe helpers WalkthroughsDescription• Make ordvec-manifest CLI optional via cli feature to keep the library clap-free • Add named auxiliary sidecar declarations and load-plan lookup helpers for verified loading • Add core ordvec validation, swap_remove support, and RankQuant+SignBitmap two-stage search helpers Diagramgraph TD
A["ordvec-manifest (lib)"] --> B["create (aux sidecars)"] --> C["manifest.json + sidecars"]
A --> D["verify_for_load"] --> E["VerifiedLoadPlan"] --> H["Caller loader"]
F["ordvec (core)"] --> G["Two-stage search"] --> H
High-Level AssessmentThe following are alternative approaches to this PR: 1. Split into separate `ordvec-manifest-cli` crate
2. Store auxiliary artifacts as a map keyed by name in the manifest
3. Use `Result`-based constructors instead of `validate_*` helpers
Recommendation: The PR’s approach is a good incremental step: feature-gating the CLI keeps the library lightweight, auxiliary sidecars integrate into the existing manifest verification model, and File ChangesEnhancement (6)
Tests (4)
Documentation (2)
Other (2)
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for declaring and verifying auxiliary artifacts (sidecars) in the ordvec-manifest crate, including new CLI flags (--aux and --optional-aux) and programmatic APIs. It also adds validation helpers and swap_remove capabilities to the Bitmap and SignBitmap indices, alongside two-stage search helper methods in RankQuant. Feedback on the changes suggests trimming the parsed path string in the CLI argument parser to prevent leading or trailing whitespace from causing file-not-found errors.
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! |
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
7b64cde to
6516d6f
Compare
|
/agentic_review |
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 6516d6f |
…kage Add ordvec-manifest Python package release lane
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 979d0a4 |
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit b4e7a76 |
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 358e6b7 |
Summary:
clifeature while keeping library defaults clap-freeordinaldb.idssidecar docsswap_remove, typed validation helpers, and narrow RankQuant + SignBitmap two-stage helpersordvec-manifestcrates.io byte-identity checksValidation:
cargo test -p ordveccargo test -p ordvec-manifest --no-default-featurescargo tree -p ordvec-manifest --no-default-features --edges normal(no clap)cargo test -p ordvec-manifest --features clicargo test -p ordvec-manifest --features sqlitecargo test -p ordvec-manifest --all-featurescargo fmt --checkpython3 tests/release_publish_invariants.pybash tests/release_signed_release_invariants.sh