Git Built-in Workflows¶
The Git plugin currently ships one workflow for commit creation and push automation.
commit-ai¶
Creates a commit from the current working tree using an AI-generated commit message, then pushes it.
Source workflow: plugins/titan-plugin-git/titan_plugin_git/workflows/commit-ai.yaml
Default flow¶
git.get_statusbefore_commithookgit.show_uncommitted_diff_summarygit.ai_generate_commit_messagegit.create_commitgit.push
Hooks¶
before_commit: inject validation or preparation steps before the commit is created
Typical extension points¶
- run lints before committing
- run tests before committing
- collect extra project context before AI commit message generation
Example extension¶
extends: "plugin:git/commit-ai"
hooks:
before_commit:
- id: lint
name: "Run Ruff"
command: "poetry run ruff check ."
on_error: fail
Related public steps¶
get_statusshow_uncommitted_diff_summaryai_generate_commit_messagecreate_commitpush