ExGAM.Duty.Frontier (ExGAM v0.1.0)

Copy Markdown View Source

Incremental, disposable work remaining at a governed ledger prefix.

Only cause selection lives here. The same pure cause constructors used by Duty.Derive still decide what is required. Indexes contain references, not duplicate records; they are rebuilt by the fold and never persisted as authority. Timers discover obligations, never dispose of them.

A receipt acquired after a deadline cannot remove its pending timeout cause. Evidence acquired exactly at that deadline is still timely, matching the exhaustive derivation. Neither case can dispose an already materialized Duty.

Summary

Functions

Advances only deadlines reached at this trusted time; no I/O or authority is produced.

Types

t()

@type t() :: %ExGAM.Duty.Frontier{
  by_ref: term(),
  deadlines: term(),
  duties_by_act: term(),
  erasures_by_act: term(),
  outcomes_by_act: term(),
  outcomes_by_attempt: term(),
  pending: term(),
  scopes_by_deadline: term(),
  subscriptions: term()
}

Functions

advance(state, time)

Advances only deadlines reached at this trusted time; no I/O or authority is produced.