Mechanical human-review projection for one governed Definition change.
The report combines an exact structural/textual diff with an already verified evaluation delta. It never invokes a model and never labels a Candidate as semantically "better"; it exposes measured evidence and limits.
Summary
Functions
Decodes and verifies a canonical report.
Encodes a report with the production canonical codec.
Restores and verifies a report from portable data.
Returns the fixed generator id.
Projects a deterministic report from two canonical Definitions.
Returns JSON-shaped report data.
Verifies that report contents still match its digest.
Returns the fixed generator version.
Types
@type t() :: %Spectre.Projection.HumanReport{ candidate_definition_ref: String.t(), digest: String.t(), evaluation_delta: map(), gate_receipt_refs: [String.t()], generator_id: String.t(), generator_version: pos_integer(), input_evidence_digest: String.t(), lineage_refs: [String.t()], parent_definition_ref: String.t(), structural_changes: [map()], textual_changes: [map()] }
Functions
Decodes and verifies a canonical report.
Encodes a report with the production canonical codec.
Restores and verifies a report from portable data.
Returns the fixed generator id.
@spec project( Spectre.Definition.Canonical.t(), Spectre.Definition.Canonical.t(), keyword() ) :: {:ok, t()} | {:error, term()}
Projects a deterministic report from two canonical Definitions.
Returns JSON-shaped report data.
Verifies that report contents still match its digest.
Returns the fixed generator version.