Expand description
Bounded persistence/index records for physical measurements.
These records point to raw sample payloads and optional provenance,
calibration, and projection records. They do not embed or derive physical
coordinates, authenticate referenced material, or claim that a measurement
was verified. The wire encoding is independent of NQuin and uses explicit
little-endian fields rather than the overloaded Quin object/metadata lanes.
This experimental encoding is not yet an integrated or stable container
format; it requires review against the existing persistence interfaces.
A payload binding proves only that the selected MID2 declaration, field
semantics, and byte range agree. Callers must obtain payload bytes through
the checked .10d envelope resolver and enforce their container-ID binding,
section integrity/CRC, and whole-envelope admission policy before treating
referenced bytes as authentic or trusted. Neither this index nor a
nonzero container ID authenticates content.
Structs§
- Calibration
Artifact Reference - Opaque calibration artifact reference. Nonzero bytes are an identifier only, not a verified credential or proof that the calibration is valid.
- Measurement
Record - Validated metadata index for one physical measurement sample.
- Payload
Reference - Opaque location of bytes in an owning container. The ID is not a digest.
- Projection
Reference - Reference to a separately stored, explicitly materialized projection. It contains no Tensor10D coordinates and cannot create a projection.
- Quality
Metrics - Record
Clock Stamp - Integer timestamp in a named monotonic clock epoch.
- Resolved
Field Payload Binding - Structurally bound field semantics and the exact MID2 payload range.
Enums§
- Calibration
Declaration - Recorded calibration state. No state implies authenticity or freshness.
- Measurement
Quality - Measurement quality is separate from source trust and calibration.
- Projection
Declaration - Projection presence is explicit; a reference never embeds coordinate values.
- Provenance
Declaration - Provenance presence is explicit: unknown and confirmed absence differ.
- Record
Error
Constants§
Functions§
- decode_
measurement_ index_ record - Decode canonical bytes and bind the encoded physical field and raw payload to a caller-resolved field. This does not authenticate the container, establish source trust, or validate the referenced artifacts.
- encode_
measurement_ index_ records - Serialize records into a caller-owned byte slice as fixed 264-byte records.