Repository navigation
ADR 0010
- Status: Accepted
- Date: 2026-07-31
- Deciders: LINUX + WIN planes (operator-directed)
- Relates to: LBA-REQ-016, docs/cm/cm-plan.md, ISO 10007 §5, ISO/IEC/IEEE 12207
repo-standards-review (the authoritative standards lens for this repo) treats GitFlow as the universal
branch-governance model and fails the CM gate for repositories whose release automation is not backed by
explicit GitFlow branch governance (the release-workflow-no-gitflow contradiction). labview-benchmark-actor
previously operated a main-only, feature-branch-to-main model, which the lens classifies as
branch-governance non-compliant even though main is protected and tags are CI-owned.
The operator has made GitFlow adoption a requirement (LBA-REQ-016). Passing under repo-standards-review is
authoritative, so the CM posture must encode GitFlow deterministically while preserving the existing release
security (protected main, CI-owned SemVer tag and publish authority).
Adopt GitFlow as the single accepted branch-governance doctrine for labview-benchmark-actor:
-
mainis the protected production branch;developis the integration branch. - Feature branches are created from
developand merge back intodevelopthrough a reviewed pull request. - Release branches are cut from
develop, then merged intomainand merged intodevelop; delete the release branch after both merges complete. - Hotfix branches are created from
main, then merged intomainand merged intodevelop(or the activerelease/*branch), and deleted after the required merges complete. - Releases are SemVer-tagged (
vX.Y.Z) onmain; the tag stays CI-owned and is the sole publish authority, so GitFlow does not weaken release security. - On the tagged release path CI re-runs the full verification suite and retains its coverage evidence, so coverage is retained on every release tag.
- Merge method follows the branch type: a feature branch lands on
developas a squash merge (one logical commit, lineardevelop), while release and hotfix branches use--no-ffmerge commits into bothmainanddevelopso the mandated dual back-merge preserves shared ancestry (squashing them would divergemainanddevelopinto different SHAs for identical content). Squash and merge-commit are both enabled and used per branch type; rebase-merge is also enabled on the repository but is not part of this convention.
The governance is recorded canonically in docs/cm/cm-plan.md and traced by LBA-REQ-016 in the SRS + RTM.
- The
cmgate underrepo-standards-reviewgains complete GitFlow branch-governance evidence and therelease-workflow-no-gitflowcontradiction is resolved. - Contributors target
developfor features;mainonly advances through a release (or hotfix) merge, so the protected-main+ CI-owned-tag publish model is unchanged. - A one-time
developbranch is created offmain; the two are identical at adoption and diverge only as features land ondevelopahead of the next release.
-
Keep the
main-only model. Rejected: the authoritative lens classifies it as branch-governance non-compliant regardless ofmainprotection. - Trunk-based development. Rejected: it contradicts the GitFlow doctrine the standards lens requires.
Generated from docs/architecture/adr/ADR-0010-gitflow-branch-governance.md on develop. Edit the source in the repository, not this page.