ExGAM.GovernedAct.Transition.Information (ExGAM v0.1.0)

Copy Markdown View Source

Transitions for governed information and its provenance.

Evidence, prepared Presentations, declassification records, and erasure requests share one concern: preserving a canonical, auditable information lineage. This module validates Scope binding, source availability, parent ordering, approval evidence, and the exact governing Act before updating the disposable read model.

Summary

Functions

Replays Evidence lineage, presentations, declassification and erasure requests under the original causal bindings.

Functions

apply(projection, event, revision)

@spec apply(
  ExGAM.GovernedAct.State.t(),
  ExGAM.Domain.Event.t(),
  non_neg_integer() | nil
) ::
  {:ok, ExGAM.GovernedAct.State.t()} | {:error, term()}

Replays Evidence lineage, presentations, declassification and erasure requests under the original causal bindings.