validator-commit
/validator-commit $ARGUMENTS
Commit with optional validator validation. Runs agent-validate detect first, validates based on intent (full run, checks only, or skip), handles failures, then commits.
Step 1 - Detect Changes
Run agent-validate detect using Bash:
agent-validate detect 2>&1; echo "DETECT_EXIT:$?"
Check the exit code from the DETECT_EXIT: line:
- Exit 0 → gates would run, continue to Step 2
- Exit 2 → no gates would run (no changes or no applicable gates), skip to Step 4 (commit directly)
- Exit 1 → error, report the error to the user and stop
- Any other exit code → treat as error, report output to the user, and stop
More from codagent-ai/agent-validator
validator-help
Diagnoses and explains validator behavior from runtime evidence for requests such as "why did validator fail", "explain validator behavior", "diagnose validator logs", or "what went wrong in the validator run".
16validator-check
>-
16validator-skip
Advances the validator execution state baseline without running checks for requests such as "skip validator", "advance validator baseline", or "mark current tree as validated without running checks".
16validator-setup
Scans the project and configures checks and reviews for Agent Validator for requests such as "set up validator", "configure checks and reviews", or "initialize validator for this repo".
16validator-issue
Files structured GitHub bug reports for agent-validator when users ask to file, report, or open an issue for a suspected defect
16validator-run
>-
16