Pre-operation Checks
Verify working tree is clean per ${CLAUDE_PLUGIN_ROOT}/references/invariants.md .
Phase 1: Start Hotfix
Goal: Create hotfix branch using git-flow-next CLI.
Actions:
-
Run git flow hotfix start $ARGUMENTS
-
Update version in project files (package.json, Cargo.toml, VERSION, etc.)
-
Commit version bump: chore: bump version to $ARGUMENTS
with Co-Authored-By footer
- Push the branch: git push -u origin hotfix/$ARGUMENTS