Skip to main content

Module record

Module record 

Source
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§

CalibrationArtifactReference
Opaque calibration artifact reference. Nonzero bytes are an identifier only, not a verified credential or proof that the calibration is valid.
MeasurementRecord
Validated metadata index for one physical measurement sample.
PayloadReference
Opaque location of bytes in an owning container. The ID is not a digest.
ProjectionReference
Reference to a separately stored, explicitly materialized projection. It contains no Tensor10D coordinates and cannot create a projection.
QualityMetrics
RecordClockStamp
Integer timestamp in a named monotonic clock epoch.
ResolvedFieldPayloadBinding
Structurally bound field semantics and the exact MID2 payload range.

Enums§

CalibrationDeclaration
Recorded calibration state. No state implies authenticity or freshness.
MeasurementQuality
Measurement quality is separate from source trust and calibration.
ProjectionDeclaration
Projection presence is explicit; a reference never embeds coordinate values.
ProvenanceDeclaration
Provenance presence is explicit: unknown and confirmed absence differ.
RecordError

Constants§

MAX_MEASUREMENT_INDEX_RECORDS
MEASUREMENT_INDEX_RECORD_SIZE
MEASUREMENT_INDEX_VERSION

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.