Portable proof that an authorized Act removed information labels.
The output Evidence remains content-addressed independently of the Act.
This record is materialized only after admission and forms the acyclic link
from the governing Act to that immutable Evidence. Label ownership is
represented by stable content references so Mandates can constrain each
label without imposing a universal label taxonomy on applications.
Summary
Functions
Attributes the relabelled Evidence to the authenticated declassification proposer.
Returns the plain, string-keyed ledger representation.
Returns the reference derived from immutable declassification content.
Decodes and canonicalizes Candidate declassification material.
Returns the stable digest of the complete declassification record.
Returns the exact pre-Act material carried by a data.declassify Candidate.
Restores a declassification record and verifies its content reference.
Materializes the post-admission record without adding an Act reference to Evidence.
Returns the stable references of canonical labels.
Builds and validates a declassification record tied to its governing Act.
Returns the principals which own the removed constraints.
Returns every target that a declassification Mandate must cover.
Verifies who attested the newly declassified Evidence.
Checks the exact, conservative label delta proven by this record.
Types
Functions
@spec bind_producer(Spectre.GAM.Evidence.t() | map() | keyword(), String.t()) :: {:ok, Spectre.GAM.Evidence.t()} | {:error, term()}
Attributes the relabelled Evidence to the authenticated declassification proposer.
Returns the plain, string-keyed ledger representation.
Returns the reference derived from immutable declassification content.
Decodes and canonicalizes Candidate declassification material.
Returns the stable digest of the complete declassification record.
@spec draft(Spectre.GAM.Evidence.t() | map() | keyword(), [ Spectre.GAM.Label.t() | map() | keyword() ]) :: {:ok, map()} | {:error, term()}
Returns the exact pre-Act material carried by a data.declassify Candidate.
Restores a declassification record and verifies its content reference.
Materializes the post-admission record without adding an Act reference to Evidence.
@spec label_refs([Spectre.GAM.Label.t() | map() | keyword()]) :: {:ok, [String.t()]} | {:error, term()}
Returns the stable references of canonical labels.
Builds and validates a declassification record tied to its governing Act.
@spec owner_refs([Spectre.GAM.Label.t() | map() | keyword()]) :: {:ok, [String.t()]} | {:error, term()}
Returns the principals which own the removed constraints.
@spec required_target_refs(Spectre.GAM.Evidence.t(), [ Spectre.GAM.Label.t() | map() | keyword() ]) :: {:ok, [String.t()]} | {:error, term()}
Returns every target that a declassification Mandate must cover.
@spec validate_producer(Spectre.GAM.Evidence.t(), String.t()) :: :ok | {:error, term()}
Verifies who attested the newly declassified Evidence.
@spec validate_transition(t(), Spectre.GAM.Evidence.t(), [Spectre.GAM.Evidence.t()]) :: :ok | {:error, term()}
Checks the exact, conservative label delta proven by this record.