Expand description
Verification-side output: proof loading, report emission, exit codes. Exit code contract: 0 = PASS, 1 = FAIL/INDETERMINATE, 2 = error.
Structs§
- Loaded
Proof - A loaded proof artifact. The pipeline re-verifies every stage over the canonical bytes (including the envelope id), so loading only needs to extract schema-valid bytes; nothing here is trusted.
Functions§
- emit_
report - Emit the report: stdout (machine-readable) when no
--outis given, otherwise written to the file with only a progress note on stderr. - load_
proof - Load a proof artifact file (JSON wrapper, canonical CBOR hex inside).
- outcome_
json - PE-CLI-007: stable JSON projection of the policy outcome for
evaluate --json(proof-cli/src/make.rs). Field set is the machine contract. - report_
json - Explicit JSON projection of the report (the report type is not Serialize; the CLI owns its output format). Stable field order, machine-readable.
- verdict_
exit verifyexit code: PASS only when both crypto AND evidence are valid.