ck_git_commit
Validate a commit message against governance policy and create the commit if validation passes with no blocked findings.
Instructions
Validate a commit message against CK governance policy and execute git commit if validation passes and no findings are blocked. Write operation — creates a git commit in the repository when validation succeeds. Returns validation result, any blocked findings, and the commit SHA on success. If blocked findings exist, the commit is not created and the findings are returned for remediation. Use ck_git_status first to confirm governance state, then ck_git_commit to create the commit. Does not push to remote — use git push separately after commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Commit message text. | |
| project_root | No | Absolute path to the project root directory on the local filesystem. | |
| session_id | No |