# Function evaluatePipelinePolicy

- evaluatePipelinePolicy(
  options: PolicyEvaluatorOptions,
  context: PolicyContext,
  ): PolicyEvalResult

  Evaluates all registered policy rules for a stage boundary.

  In WARN mode, violations are logged and emitted but execution continues. In BLOCK mode, violations halt the pipeline. In OFF mode, evaluation is skipped entirely.

  #### Parameters

  - options: PolicyEvaluatorOptions
  - context: PolicyContext

  #### Returns PolicyEvalResult

  - Defined in packages/nexus-agents/src/pipeline/policy-evaluator.ts:68