Skip to main content

Crate ordvec_manifest

Crate ordvec_manifest 

Source
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
ArtifactReport
AttestationShapeCheck
AuxiliaryArtifact
AuxiliaryArtifactReport
BuildInfo
CalibrationProfileRef
CalibrationReport
CreateAuxiliaryArtifact
CreateManifestOptions
DistortionBounds
DistortionEvidence
DistortionProfileArtifactRef
DistortionScope
Embedding
EncoderDistortionProfileRef
EncoderDistortionReport
EncoderSpec
FileHash
IndexManifest
ManifestDocument
MetadataReport
MetricSpec
ProfileArtifactRef
ReportIssue
ResourceLimits
RowIdentityDb
RowIdentityReport
VerificationReport
VerifiedAuxiliaryArtifactPlan
VerifiedLoadPlan
Verified paths and metadata for a caller-managed load.
VerifiedRowIdentityPlan
VerifyOptions

Enums§

AuxiliaryArtifactState
CalibrationOrdinalization
CreateRowIdentity
DistortionEvidenceKind
ManifestError
ManifestIndexKind
ManifestIndexParams
NullModelSpec
ProfileParameterization
RequireAuxiliaryError
RowIdentity
VerifiedLoadPlanError

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