Branching model: gitflow
Generated by aiflow from .aiflow/config.json. Change via aiflow change-settings.
- Permanent branches: main, develop
- Strict rules: false PR-only: false chore/*: true
Allowed branch creation
- feature/* ← from: develop
- bugfix/* ← from: develop
- hotfix/* ← from: main
- chore/* ← from: develop, main
Allowed merges
- develop → main
- main → develop
- feature/* → develop
- bugfix/* → develop
- hotfix/* → main
- hotfix/* → develop
- chore/* → develop
- chore/* → main
main is restricted
- Only
chore/*andhotfix/*may ever targetmain. feature/*andbugfix/*always targetdevelop— nevermain, directly or via PR.- Doc-only changes and CI/workflow-file-only changes (
.github/workflows/**) count aschore/*, notfeature/*.
Work and build flow
- Start each
feature/*orbugfix/*fromdevelop; validate it, then merge it intodevelop. - Builds on task branches and
developvalidate changes and may use the configured snapshot version. They do not tag, publish, or rewriteVERSION. - Promote
developtomainonly when explicitly requested. Never send feature work directly tomain; run the full build and checks on the promotion PR as well. - Ordinary task work has no
aiflow releasestep. Release/version policy is maintained separately.
Enforced locally by the pre-push git hook; enforce on the server with branch protection (aiflow protect).