| name | validate |
| description | Run the Millennium Dawn validation tools and summarize errors by category as file:line. Use only when the user explicitly asks to validate, e.g. "/validate", "run the validators". Args: "staged" and/or "strict". |
| disable-model-invocation | true |
Run the Millennium Dawn validation tools and summarize the results.
Supported arguments: staged (only validate git-staged files), strict (fail on errors), or both.
Requested arguments: $ARGUMENTS
Steps:
- Build the command flags from the arguments:
- If "staged" is present, add
--staged
- If "strict" is present, add
--strict
- Run from the project root:
python3 tools/validation/run_all_validators.py <flags>
- Present results grouped by validator category (variables/flags, scripted localisation, decisions, events, etc.)
- For each category with errors, show each error as:
file:line — description
- End with a summary line: total error count, or "All validators passed" if clean