Commit code project
repository_manager_commit_code_projectStage all changes, run pre-commit hooks, and commit feature code before version bumps so untracked files and auto-format fixes are included; block commit if hooks fail.
Instructions
Stage ALL changes (git add -A), optionally gate on pre-commit, then commit.
This is the per-repo "commit our feature code" step the release pipeline
runs BEFORE bumping versions. Unlike :meth:commit_project it stages
untracked files too (git add -A) and runs the project's pre-commit
hooks (auto-formatters land in the same commit), so feature code is never
left behind for an implicit push-time commit.
If pre-commit fails for real (not just auto-format), the failure is surfaced and nothing is committed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "repository_manager_commit_code_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| message | Yes | ||
| run_precommit | No |