Expand description
Manifest verification for ordvec index artifacts.
This crate verifies JSON manifests that bind an ordvec index file to SHA-256 digests, probed loader metadata, row identity, caller-owned auxiliary artifacts, optional encoder-distortion profiles, optional calibration profiles, and attestation-shape metadata. It is intentionally a verifier, not a trust oracle: it does not sign artifacts, manage keys, call networks, mutate index files, estimate model geometry, or decide deployment policy.
Library callers can use load_manifest_file_with_options and
verify_document_for_load, or use verify_for_load when they need a
verified snapshot of the canonical artifact path and related load metadata.
The ordvec-manifest binary exposes the same bounded verification surfaces
for command-line use.
Structs§
- Artifact
- Artifact
Report - Attestation
Shape Check - Auxiliary
Artifact - Auxiliary
Artifact Report - Build
Info - Calibration
Profile Ref - Calibration
Report - Create
Auxiliary Artifact - Create
Manifest Options - Distortion
Bounds - Distortion
Evidence - Distortion
Profile Artifact Ref - Distortion
Scope - Embedding
- Encoder
Distortion Profile Ref - Encoder
Distortion Report - Encoder
Spec - File
Hash - Index
Manifest - Manifest
Document - Metadata
Report - Metric
Spec - Profile
Artifact Ref - Report
Issue - Resource
Limits - RowIdentity
Db - RowIdentity
Report - Verification
Report - Verified
Auxiliary Artifact Plan - Verified
Load Plan - Verified paths and metadata for a caller-managed load.
- Verified
RowIdentity Plan - Verify
Options
Enums§
- Auxiliary
Artifact State - Calibration
Ordinalization - Create
RowIdentity - Distortion
Evidence Kind - Manifest
Error - Manifest
Index Kind - Manifest
Index Params - Null
Model Spec - Profile
Parameterization - Require
Auxiliary Error - RowIdentity
- Verified
Load Plan Error
Constants§
- CALIBRATION_
SCHEMA_ VERSION - DEFAULT_
MAX_ AUXILIARY_ ARTIFACTS - DEFAULT_
MAX_ AUXILIARY_ ARTIFACT_ BYTES - DEFAULT_
MAX_ CACHED_ REPORT_ BYTES - DEFAULT_
MAX_ ENCODER_ DISTORTION_ PROFILE_ BYTES - DEFAULT_
MAX_ MANIFEST_ BYTES - DEFAULT_
MAX_ REPORT_ ISSUES - DEFAULT_
MAX_ ROW_ IDENTITY_ JSONL_ LINE_ BYTES - DEFAULT_
MAX_ ROW_ IDENTITY_ ROWS - DEFAULT_
MAX_ ROW_ IDENTITY_ TRACKED_ DB_ ID_ BYTES - ENCODER_
DISTORTION_ SCHEMA_ VERSION - SCHEMA_
VERSION
Functions§
- create_
manifest_ for_ index - create_
manifest_ for_ index_ with_ options - load_
manifest_ file - load_
manifest_ file_ with_ options - sha256_
file - sha256_
file_ bounded - verify_
document_ for_ load - Verifies an already-loaded manifest document and returns a typed load plan.
- verify_
for_ load - Verifies a manifest file and returns a typed plan for caller-side loading.
- verify_
index_ manifest - verify_
manifest - verify_
manifest_ with_ base - write_
manifest_ file