ExGAM.Definition.Verifier behaviour (ExGAM v0.1.0)

Copy Markdown View Source

Optional static diagnostic for a host's immutable authoring format.

The kernel accepts portable Definitions without interpreting an Agent DSL. A verifier can inspect fixed declarations against a Surface, but its report is never a substitute for live admission, consent or executor validation.

Summary

Callbacks

Checks the immutable Definition against the supplied governed Surface.

Callbacks

verify(t, t)

@callback verify(ExGAM.Surface.t(), ExGAM.Definition.t()) ::
  {:ok, ExGAM.Surface.definition_report()} | {:error, term()}

Checks the immutable Definition against the supplied governed Surface.