Skip to main content

Crate proof_verify

Crate proof_verify 

Source
Expand description

proof-verify: Proof assembly (builder) and staged verification pipeline. Stages 1–11 per ARCHITECTURE §4, including TIME and REVOCATION/SUPERSESSION (Phase 6 lifecycle state machine, stages 7–8). Policy (stage 12) is evaluated by the caller in proof-policy: the pipeline reports policy_decision: INDETERMINATE and never decides trust.

Re-exports§

pub use builder::BuiltProof;
pub use builder::ProofBuilder;
pub use pipeline::verify_proof;
pub use pipeline::VerifyCtx;
pub use report::CheckRecord;
pub use report::LifecycleRecord;
pub use report::PolicyDecision;
pub use report::Validity;
pub use report::VerifyReport;

Modules§

builder
ProofBuilder: assemble a portable Proof from validated artifacts. Members must be Created* outputs (already schema-valid with bound ids). The builder sorts members by id, binds them into proof_id, and self-checks that the emitted bytes re-parse to the identical Proof.
pipeline
Staged verification pipeline (ARCHITECTURE §4, stages 1–11). Order is fixed and every stage has one job. Failures are recorded, never repaired; unknown is never converted into valid. Stages 7 (TIME) and 8 (REVOCATION/SUPERSESSION) implement the lifecycle state machine (Phase 6); policy (stage 12) is evaluated by the caller.
report
Verification report: three distinct outcomes, never collapsed. Every record is derived from actual verification state (explainability basis).