Model-callable operation definition.
Summary
Functions
Returns the operation kind used for control matching and policy checks.
Returns true when a recorded intent may be retried without reconciliation.
Returns true when this operation requires an explicit operation control.
Types
Functions
Returns the operation kind used for control matching and policy checks.
Direct operations default to :operation. Adapters can set :kind,
:operation_kind, :source_kind, :runtime, or :source metadata to
expose a more precise kind while preserving one operation contract.
@spec replay_safe?(t() | idempotency()) :: boolean()
Returns true when a recorded intent may be retried without reconciliation.
@spec requires_control?(t() | idempotency()) :: boolean()
Returns true when this operation requires an explicit operation control.
@spec schema() :: Zoi.schema()
@spec valid_idempotencies() :: [idempotency()]