runrunit_format_commit_message
Formats a Git commit subject as [number] - [type] - [description] for Runrun.it tasks, deriving the task number from the current task branch when omitted. Does not commit.
Instructions
Formats one commit subject as [numero] - [tipo] - [descrição]. Does not commit. Types: feat, fix, docs, refactor, test, chore, perf. If task_id is omitted, the number comes from the current task_[número] branch. If includes_commit is true and called_from is not commit-per-file, next_tool is runrunit_commit_per_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Commit type. | |
| task_id | No | Task number, or task_[número]. Used in branch names and commit subjects. | |
| called_from | No | Set to commit-per-file to avoid calling that tool back. | |
| description | Yes | Imperative description in Portuguese. | |
| project_root | No | Absolute path of the git repository. Required for tools that read or write that repo. | |
| includes_commit | No | When true, points next_tool at runrunit_commit_per_file without committing. |