Branching Strategy¶
Branch Roles¶
main: stable published baseline and tagged releases onlyprerelease: integration/staging branch for approved pull requestsfeature/*: short-lived working branches
Only the repository owner may push to main directly. All other changes must arrive via pull request workflow.
Default Flow¶
- Create
feature/*fromprerelease. - Open PR from
feature/*->prerelease. - Validate and merge into
prerelease. - Cut a release PR from
prerelease->main. - Tag and publish release from
main.
Why this model¶
This keeps main clean and release-focused while allowing active drafting and companion-document updates in prerelease.