feat: add plan-verified streaming decode#303
Conversation
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
PR Summary by QodoAdd plan-verified streaming decode for ordvec-manifest artifacts
AI Description
Diagram
High-Level Assessment
Files changed (14)
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a47c95fb77
ℹ️ 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 (@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 (@codex) address that feedback".
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6607c98b23
ℹ️ 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 (@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 (@codex) address that feedback".
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b45ac7ec0e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Summary
Why
OrdinalDB needs to load large artifacts directly into their final representations without first allocating an artifact-sized byte buffer. The verified-plan API also needs one consistent contract for access failures, type rejection, stale content, decoder failures, and incomplete consumption.
Contract and limits
Plan-verified means that the delivered bytes and observed descriptor state match the size and digest recorded in a verified plan. It does not authenticate the manifest producer or signer.
The loader rejects a final symlink or reparse point and a nonregular descriptor, but it trusts the caller-selected local parent directory. It detects mutations reflected in delivered bytes or observed descriptor state; it cannot promise detection of a transient mutation that is perfectly restored between observations.
Validation