Skip to main content

Gates

A gate is a quality checkpoint that runs after a stage completes. It evaluates conditions against the stage's output and produces a verdict that tells the pipeline what to do next.

Gates decouple quality policy from execution. You don't need to change the skill or driver to add a cost cap or a retry limit — you change the gate rules.

Gate modes:

ModeBehavior
autoAlways proceed without evaluating any rules
rulesEvaluate the ruleset; route based on results
holdAlways pause and wait for manual approval
manualAlias for hold
skipBypass this gate entirely; always proceed

Gate verdicts:

VerdictMeaning
proceedMove to the next stage
holdPause the run; wait for human approval, rework, or abort
reworkRoute to the configured rework stage
abortStop the pipeline immediately; mark the run failed

Important: A stage can exit with code 0 (success) and still fail its gate. Gate failure is independent of whether the subprocess ran cleanly. See Signal Types for how skills influence gate outcomes.

For rule syntax and field reference, see Gate Rules.