Skip to main content

Module check

Module check 

Source
Expand description

Verification-side output: proof loading, report emission, exit codes. Exit code contract: 0 = PASS, 1 = FAIL/INDETERMINATE, 2 = error.

Structs§

LoadedProof
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 --out is 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
verify exit code: PASS only when both crypto AND evidence are valid.