Spectre.GAM.Kernel.Decision.Context (Spectre v0.4.0)

Copy Markdown View Source

Minimal snapshot metadata consumed by the pure Decision algebra.

The kernel classifies the Candidate before this boundary, so the full Surface is deliberately absent. meter_accounts contains only the physical accounts owned by the one resolved authority, never a Domain-wide Meter view. The container is not persisted and grants nothing; its remaining fields are copied into the durable Decision so replay can verify the exact snapshot.

Summary

Types

t()

@type t() :: %Spectre.GAM.Kernel.Decision.Context{
  authority_revision: non_neg_integer(),
  host_profile_ref: String.t(),
  meter_accounts: Spectre.GAM.Kernel.Meter.accounts(),
  surface_revision: pos_integer()
}