Branching Guide¶
CUTIP Desktop follows the same triple-branch model as the core CUTIP library.
Branch Hierarchy¶
integration (protected — stable trunk, GitHub Pages deploy)
├── staging (protected — integration gate)
│ ├── feat/cap{N}-* (feature branches, deleted after merge)
│ ├── bug/cap{N}-* (bug fix branches, deleted after merge)
│ ├── docs/cap{N}-* (auto-generated doc updates)
│ ├── gh/* (GitHub workflow changes)
│ └── claude/* (.claude/ directory changes)
│
└── release/v{X.Y.Z} (release branches, trigger release.yml)
Workflow¶
- Branch from
staging - Implement and test
- PR to
stagingwith CI checks - Merge to
staging - Forward
staging→integration - Auto-prune merged branches
Capability IDs¶
Desktop capabilities start at cap030 (cutip-core uses cap001–cap029).
- Format:
cap030,cap031, ... - Every feature/bug gets a unique cap ID
- Used in branch names, commit messages, and PR titles