git_check_commits
Validate commit messages in a range against guidelines, returning a pass/fail summary and exit code for compliance checking.
Instructions
Validate commit messages in a range against commit guidelines. Mirrors omni-dev git commit message check. Returns a YAML payload with the full CheckReport, a pass/fail summary, and the exit code the CLI would use (honouring strict).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guidelines_path | No | Optional explicit path to the guidelines file. When omitted the tool falls back to `.omni-dev/commit-guidelines.md` via the standard resolution chain. | |
| model | No | Claude model override. | |
| range | Yes | Commit range to check (e.g., `HEAD~3..HEAD`, `abc123..def456`). | |
| repo_path | No | Path to the git repository. Defaults to the current working directory. | |
| strict | No | When true, warnings are treated as non-zero exit conditions. |