rai gate
Discover and run workflow gates. Gates are quality checks that run at specific points in the development workflow (pre-commit, pre-merge, pre-release).
rai gate list
Section titled “rai gate list”List all discovered workflow gates. Shows each gate’s ID, description, and workflow point.
| Flag | Short | Description |
|---|---|---|
--format | -f | Output format: human, json. Default: human |
rai gate listrai gate list --format jsonrai gate check
Section titled “rai gate check”Run workflow gates and report results. Check a specific gate by ID, or use --all to run every discovered gate.
| Argument | Description |
|---|---|
GATE_ID | Gate ID to check (optional — use --all to run all) |
| Flag | Short | Description |
|---|---|---|
--all | -a | Run all discovered gates |
--format | -f | Output format: human, json. Default: human |
# Check a specific gaterai gate check gate-tests
# Run all gatesrai gate check --all
# JSON output for CIrai gate check --all --format jsonExit codes: 0 all gates pass, 1 any gate fails.
See also: rai release check