ExGAM.Mind.Context (ExGAM v0.1.0)

Copy Markdown View Source

Optional, bounded recent memory supplied to a Mind, never to authority checks.

Domain option context: [max_events: 100, max_evidence: 50, max_bytes: 256_000] enables recent Scope-bound Evidence. max_events is a window of ledger positions, not a validity horizon for Mandates, revocations or Duties. max_bytes bounds the sum of canonical Evidence bytes, excluding the small Turn envelope. Zero limits are valid and produce an empty evidence context.

Omitted configuration preserves explicitly requested contextual Evidence. A configured Turn reports its exact revision, limits and partial selection. Kernel recognition always uses the complete relevant governed facts.

Summary

Types

limits()

@type limits() :: %{
  max_events: non_neg_integer(),
  max_evidence: non_neg_integer(),
  max_bytes: non_neg_integer()
}