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 - Immutable historical output-v15 lint envelope.
- Lint
Envelope V16 - Current output-v16 lint envelope.
- Lint
Envelope V17 - Current output-v17 lint envelope.
- Lint
File Report - Current output-v15 lint file evidence with correlated V3 or V4 prediction provenance.
- Lint
File Report V16 - Current output-v16 lint file evidence with V3 or V5 prediction provenance.
- Lint
File Report V17 - Current output-v17 lint file evidence with immutable V3, V5, or V6 provenance.
- 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-v11 report could not be read within the public bound.
- Output
Contract Error - A producer attempted to construct output outside the immutable v11 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.
- MEASUREMENTS_
V15_ SCHEMA_ ID - Immutable measurements-v15 identity retained for output-v11 and output-v12 readers.
- MEASUREMENTS_
V15_ SCHEMA_ VERSION - Immutable measurements-v15 version retained for historical report readers.
- OUTPUT_
SCHEMA_ ID - Immutable identity of the current outer result envelope.
- OUTPUT_
SCHEMA_ VERSION - Current outer result-envelope version.
- OUTPUT_
V10_ SCHEMA_ ID - Immutable output-v10 identity retained by V1 dependent contracts.
- OUTPUT_
V11_ MAX_ CHECKS_ PER_ FILE - Maximum check records carried by one output-v11 lint file.
- OUTPUT_
V11_ MAX_ FILES - Maximum file records carried by one output-v11 envelope.
- OUTPUT_
V11_ MAX_ REPORT_ BYTES - Maximum serialized bytes accepted by the output-v11 report reader.
- OUTPUT_
V11_ SCHEMA_ ID - Immutable output-v11 identity retained as historical schema evidence.
- OUTPUT_
V11_ SCHEMA_ VERSION - Immutable output-v11 version retained as historical schema evidence.
- OUTPUT_
V12_ SCHEMA_ ID - Immutable identity of the bounded-overflow outer result envelope.
- OUTPUT_
V12_ SCHEMA_ VERSION - Schema version of output-v12.
- OUTPUT_
V13_ SCHEMA_ ID - Immutable output-v13 identity retained as historical V2 prediction evidence.
- OUTPUT_
V13_ SCHEMA_ VERSION - Schema version of output-v13.
- OUTPUT_
V14_ SCHEMA_ ID - Immutable output-v14 identity retained for historical V3 prediction evidence.
- OUTPUT_
V14_ SCHEMA_ VERSION - Schema version of output-v14.
- OUTPUT_
V15_ SCHEMA_ ID - Immutable output-v15 identity retained for historical V4 prediction evidence.
- OUTPUT_
V15_ SCHEMA_ VERSION - Schema version of output-v15.
- OUTPUT_
V16_ SCHEMA_ ID - Immutable output-v16 identity retained for historical V5 prediction evidence.
- OUTPUT_
V16_ SCHEMA_ VERSION - Schema version of output-v16.
Functions§
- sha256_
hex - Lowercase hexadecimal SHA-256 digest of exactly these bytes.