Independent host approval binding one proposed evaluation case to an oracle.
Approval is evidence, not activation authority. It cannot select an
evaluator implementation; oracle_ref must resolve through a host registry.
Summary
Functions
Checks whether this approval binds the supplied case and oracle.
Restores an approval from decoded transport data.
Builds a content-bound oracle approval.
Builds an approval or raises with its stable validation reason.
Returns the stable approval reference.
Returns the oracle-approval transport schema version.
Returns JSON-shaped approval data.
Revalidates the complete approval.
Types
@type t() :: %Spectre.Forge.OracleApproval{ approved_at: non_neg_integer(), approver_ref: String.t(), case_digest: String.t(), digest: String.t(), oracle_ref: String.t(), provenance: map(), schema_version: pos_integer() }
Functions
Checks whether this approval binds the supplied case and oracle.
Restores an approval from decoded transport data.
Builds a content-bound oracle approval.
Builds an approval or raises with its stable validation reason.
Returns the stable approval reference.
@spec schema_version() :: pos_integer()
Returns the oracle-approval transport schema version.
Returns JSON-shaped approval data.
Revalidates the complete approval.