Validator run

From Codagent-AI/agent-validator · View interactive version

Validator run is an AI agent skill from the GitHub repository Codagent-AI/agent-validator. Activates only for explicit full-validator requests such as "run the validator", "run the gauntlet", "run validation", or validation before commit, push, or PR creation. Includes checks and reviews, and excludes checks-only requests.

How to use this skill

Skill file

/validator-run

Execute the autonomous verification suite.

Invocation Policy

Use this skill only for explicit validation requests, such as "run the validator", "run the gauntlet", "run validation", "validate this", or "validate before commit/push/PR".

Do not choose this skill merely because a coding task was completed, because the user asked for a generic review, or because the user asked for checks only.

Procedure

Step 1 - Run Agent Validator

If the caller requests a specific review to be enabled, append --enable-review <name> to the run command for each requested review.

Run agent-validate run using Bash with timeout: 300000. ALWAYS wait for and read the full command output before proceeding — the command typically takes 1-2 minutes. Verify you can see a Status: line in the output before continuing.

Step 2 - Check Status

NEVER assume success — you must see an explicit Status: line before continuing. Check it and route accordingly:

Step 3 - Extract Failures

Required when status is Failed:

Step 4 - Report Failures

Print the check failures and the update-review list output from Step 3, including each review violation's ID.

Step 5 - Fix

Fix issues reasonably supported by the feedback or likely intended by the human. When skipping an issue, briefly state what was skipped and why.

Valid reasons to skip:

You MUST NOT skip for these reasons:

Apply this guidance to each failure and fix accordingly:

Step 6 - Update Review Decisions

Use the IDs from Step 3 for each REVIEW violation you addressed. Run agent-validate update-review list again only if you need to refresh the IDs. Record each decision with agent-validate update-review fix <id> "<what changed>" or agent-validate update-review skip <id> "<why>".

IDs remain stable until the next validator run. Record all decisions before Step 7.

Do NOT edit files under validator_logs/ or the configured log directory directly. Use update-review for review decisions.

Step 7 - Re-run Verification

NEVER skip this step — if the run failed, you MUST fix and re-run. Run the same command from Step 1 (including any --enable-review flags) again with Bash and timeout: 300000. The tool detects existing logs and automatically switches to verification mode. Go back to Step 2 to check the status line and repeat.

Step 8 - Summarize Session

Provide a summary of the session:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.