describe_validation_rules
Inspect which commit-check validation rules are active before running validation. Debug rule configuration by viewing merged defaults, repo config, and inline overrides.
Instructions
Return enabled commit-check rules after merging defaults, repo config, and inline overrides. Read-only, no side effects. Returns a dict with commit_check_version, the full merged config, supported check types, and enabled rules (each with check name, config, and pattern details).
Use this to inspect which validation rules are currently active before running any validation. Helps debug rule configuration and check which checks will be applied.
Parameters:
config (optional): Inline JSON config overrides on top of any loaded config file.
repo_path (optional): Path to the git repository for repo-relative config loading.
config_path (optional): Path to a custom commit-check TOML config file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| repo_path | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||