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/* and hotfix/* may ever target main.
  • feature/* and bugfix/* always target develop — never main, directly or via PR.
  • Doc-only changes and CI/workflow-file-only changes (.github/workflows/**) count as chore/*, not feature/*.

Work and build flow

  • Start each feature/* or bugfix/* from develop; validate it, then merge it into develop.
  • Builds on task branches and develop validate changes and may use the configured snapshot version. They do not tag, publish, or rewrite VERSION.
  • Promote develop to main only when explicitly requested. Never send feature work directly to main; run the full build and checks on the promotion PR as well.
  • Ordinary task work has no aiflow release step. Release/version policy is maintained separately.

Enforced locally by the pre-push git hook; enforce on the server with branch protection (aiflow protect).


aiflow · MIT License · Copyright (c) 2026 Cyber93de. aiflow is an independent integration and is not affiliated with the projects it builds on (Claude Code, Beads, graphify, CocoIndex, Context7, Ollama, rtk, and others).

This site uses Just the Docs, a documentation theme for Jekyll.