Normalized policy-violation descriptor with explicit action semantics.
Summary
Types
@type action() :: :warn | :request_approval | :cancel
Violation action.
@type direction() :: :input | :output
Policy direction where the rule was evaluated.
Functions
@spec to_error(t(), ASM.Event.t()) :: ASM.Error.t()
@spec to_guardrail_trigger(t()) :: ASM.Control.GuardrailTrigger.t()