runrunit_commit_per_file
Plan and create one Git commit per changed file in dependency order, skipping secrets and using numbered type-prefixed subjects; defaults to a dry-run plan until approved.
Instructions
Plans one commit per changed file, in dependency order, with a [numero] - [tipo] - [descrição] subject. Excludes likely secrets. Default is plan. Pass approved:true and the same commits list to create the commits. Does not open a pull request. If includes_pr is true, next_tool is runrunit_check_pr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Default commit type when a file does not set its own. | |
| files | No | Optional explicit files. Secrets in this list are dropped from the plan. | |
| commits | No | Approved commits (path + message). When present, this list is used as-is and is not reordered. Required shape of the plan you are approving. | |
| task_id | No | Task number, or task_[número]. Used in branch names and commit subjects. | |
| approved | No | Default false. When false or omitted, returns a plan and does not change git. Set true only after the user approves that plan. | |
| description | No | Default description when a file does not set its own. | |
| includes_pr | No | When true, next_tool is runrunit_check_pr. This tool still does not open a PR. | |
| project_root | Yes | Absolute path of the git repository. Required for tools that read or write that repo. |