创建真实提交
git_commitCreate a single verified commit by staging only selected paths, rejecting stale HEAD or unrelated staged files, and confirming the exact committed set—never pushes.
Instructions
Run a secret safety scan, stage only the exact selected paths, reject stale HEAD/branch or unrelated staged files, create one real commit, and verify the committed path set. This tool never pushes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Optional workspace id. When omitted, CodexPro binds the authoritative conversation workspace automatically; an explicit unknown or mismatched id is rejected. | |
| commit_message | Yes | Exact commit message. | |
| selected_paths | Yes | Exact changed file paths to stage and commit. | |
| conversation_id | No | Connector conversation id bound to this workspace. Modern MCP injects it automatically; side-effecting tools require it to match the authoritative binding. | |
| expected_branch | Yes | Branch returned by git_prepare_commit. | |
| validation_refs | Yes | Validation evidence references previously checked by git_prepare_commit. | |
| authorization_ref | Yes | Reference to the explicit user or task authorization for this commit. | |
| expected_head_sha | Yes | Full HEAD SHA returned by git_prepare_commit. | |
| workspace_generation | No | Optional authoritative workspace generation. When omitted, CodexPro injects the conversation-bound generation; an explicit stale generation is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_result | Yes |