OptionalchannelsOutput channels this policy gates. Default: ['answer'] — evaluators written before channels existed keep seeing only client-visible text. A present list must be a non-empty array of OutputChannel members.
OptionalholdHold-back hint (chars): the trailing window of streamed text that must
stay unemitted for this policy to catch a violation straddling the
emission frontier. Consulted only when the engine's holdBack option is
on. Policies without the hint contribute 0 — hint your evaluator to get
hold-back coverage. Infinity buffers everything until stream finish. A
present value must be a number of at least 0, or Infinity.
Stable policy name used in audit events and denial messages.
OptionalphasesPhases this policy gates. Default: both. A present list must be a non-empty array of PolicyPhase members.
Decide whether the supplied policy context is allowed.
Policy evaluated by
PolicyEngineat selected phases and channels.