Content-addressed conservative garbage-collection decision.
A plan is evidence, not a delete command. Backends may execute eligible entries only while holding a transaction/lease that revalidates the same reference inventory; core never promises safe deletion from a stale scan.
Summary
Functions
Decodes and verifies canonical GC-plan evidence.
Encodes a GC plan with the production canonical codec.
Restores and verifies portable GC-plan evidence.
Returns portable GC-plan evidence.
Verifies plan structure, conservative decisions, and content identity.
Types
@type t() :: %Spectre.Governance.GC.Plan{ candidate_decisions: term(), candidate_inventory: term(), candidate_lineage_refs: term(), definition_decisions: term(), definition_inventory: term(), definition_lineage_refs: term(), digest: term(), evidence_digest: term(), inventory_complete: term(), inventory_snapshot_digest: term(), protected_candidate_refs: term(), protected_definition_refs: term(), requested_candidate_refs: term(), requested_definition_refs: term(), schema_version: term(), store_identity: term() }
Functions
Decodes and verifies canonical GC-plan evidence.
Encodes a GC plan with the production canonical codec.
Restores and verifies portable GC-plan evidence.
Returns portable GC-plan evidence.
Verifies plan structure, conservative decisions, and content identity.