Expand description
Versioned JSON result-contract types shared by CLI and embedded producers.
The CLI is one producer of these envelopes. Embedded pipelines can use the same constructors and immutable protocol identities without duplicating the wire shape or hard-coding URNs.
Structs§
- Diff
Envelope - Current diff-command result envelope.
- Input
Identity - Immutable identity of the bytes used to produce one file report.
- Lint
Envelope - Current lint-command result envelope.
- Lint
File Report - One source file and its lint-command evidence.
- Measure
Envelope - Current measure-command result envelope.
- Measure
File Report - One source file and its measurement-command evidence.
- Measurement
Contract - Independently versioned measurement payload nested in measure and lint file records.
- Measurement
Report File - One validated file record recovered from a measurement report.
- Measurement
Report Input - Typed read-side subset accepted when a consumer needs measurements from a
current
measureorlintreport. - RigInfo
- Rig profile and resolved semantic-role bindings for one input file.
- Tool
Info - Identity of the animsmith producer that emitted an envelope.
- Tool
Source - Source checkout identity for the producing animsmith build.
Enums§
- Measurement
Contract Error - Measurement evidence could not satisfy the current measurement contract.
- Measurement
File Error - One measurement-report file record failed validation.
- Measurement
Report Error - A typed measurement-report subset failed current-contract validation.
- Measurement
Report Read Error - A serialized output-v10 report could not be read within the public bound.
- Output
Contract Error - A producer attempted to construct output outside the immutable v10 contract.
- RigInfo
Error - Resolved-role evidence did not belong to the supplied document.
Constants§
- MEASUREMENTS_
SCHEMA_ ID - Immutable identity of the current nested measurement contract.
- MEASUREMENTS_
SCHEMA_ VERSION - Current nested measurement-contract version.
- OUTPUT_
SCHEMA_ ID - Immutable identity of the current outer result envelope.
- OUTPUT_
SCHEMA_ VERSION - Current outer result-envelope version.
- OUTPUT_
V10_ MAX_ CHECKS_ PER_ FILE - Maximum check records carried by one output-v10 lint file.
- OUTPUT_
V10_ MAX_ FILES - Maximum file records carried by one output-v10 envelope.
- OUTPUT_
V10_ MAX_ REPORT_ BYTES - Maximum serialized bytes accepted by the output-v10 report reader.
Functions§
- sha256_
hex - Lowercase hexadecimal SHA-256 digest of exactly these bytes.