/rhiza:validate¶
Validate the repo's .rhiza/template.yml. Exits non-zero on failure.
The optional argument is the repo root to inspect; it defaults to the current repo.
What it does¶
Runs the bundled scripts/validate.py — stdlib-only — and checks that:
- the target is a git repository with the expected language-specific structure;
.rhiza/template.ymlexists and parses;- its required and optional fields —
repository,profiles/templates/include,ref,host,language,exclude— are present and well-typed.
Notes¶
- Works without the
rhizaCLI installed. - Used by
/rhiza:initas its final gate before opening the PR, so a freshly scaffolded config is never shipped broken.