A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
majordomus commit validate
Judge one commit message against the repository's commit policy; exit 10 when a finding is an error
What it is
read onlyJudge one commit message against the repository's commit policy; exit 10 when a finding is an error
- Identity
executable.commit.validate- Program
- executable
- Runs
- non interactive
- Requires
- repositorylayer
Where it appears
- Command line
majordomus commit validate- Workflow
just commit-validate- MCP tool
majordomus_commit_validate- HTTP
/api/v1/commit/validate- Declared in
apps/majordomus-cli/src/cli.rs- Capability
- commit.validate
Arguments
| argument | values from | required | help |
|---|---|---|---|
<FILE> | — | The file holding the message; none reads standard input, which is what the `commit-msg` hook has | |
--paths | — | Judge it as a commit of these paths, comma-separated: what needs them — whether a fix carries a test — is otherwise not judged rather than guessed | |
--rev | — | Judge the message of this commit instead of a file: any revision `git show` accepts | |
--repo | — | Start the search for the repository root here (default: the current directory) | |
--discovery | — | How declarative files are enumerated | |
--strict | — | Refuse to proceed when any file of the layer carries an error diagnostic | |
--share | — | The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable | |
--format | — | Output shape |