ExAgent. Verdict
(ExAgent v3.0.0)
View Source
A policy decision shared by permissions, judges, classifier-backed guards and evaluators.
Stability — Candidate.
:allow and :deny are decisive. :ask leaves a decision to another
reviewer. Failures remain errors on the surface that ran the review.
Classifiers still return domain labels. Use classified/2 to choose
which labels pass a particular guard or evaluator.
Summary
Functions
Interpret a classification with an explicit list of passing labels.
Project a decision into a Guardrail check. Only an allow passes.
Project a decision into an Eval score. An unresolved decision abstains.
Types
Functions
@spec classified(ExAgent.Classifier.Result.t(), [String.t()]) :: :allow | :deny
Interpret a classification with an explicit list of passing labels.
@spec guardrail(t()) :: :ok | {:tripwire, nil}
Project a decision into a Guardrail check. Only an allow passes.
Project a decision into an Eval score. An unresolved decision abstains.