Spectre.Morph.Surface.EvaluationObligations (Spectre v0.3.0)

Copy Markdown View Source

Derives mandatory evaluation cases from an immutable Definition diff.

Morph-owned cases are not trusted merely because they appear in a ChangeSet. This module reconstructs the required cases from the published parent and candidate Skill mounts and requires byte-for-byte equivalent canonical cases during composition, activation, and recovery.

Summary

Types

canonical_case()

@type canonical_case() :: map()

canonical_cases()

@type canonical_cases() :: %{optional(String.t()) => canonical_case()}

route_contract()

@type route_contract() :: %{input: String.t(), label: term(), prompt_ref: term()}