Skip to content

LBA REQ 016

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-016: GitFlow branch governance

Status

Proven

Area

Configuration Management (extends LBA-REQ-008; ADR-0010)

Statement

The repository shall adopt GitFlow as its branch-governance doctrine — main as the protected production branch and develop as the integration branch, with feature/release/hotfix branch rules — so its configuration management passes the authoritative repo-standards-review CM gate (ISO 10007 §5, ISO/IEC/IEEE 12207) without weakening the CI-owned, protected-main release-tag publish authority.

Rationale

Acceptance Criteria

  • The CM plan (docs/cm/cm-plan.md) states the GitFlow rules: feature branches from and back into develop; release branches from develop, merged to main and develop, then deleted; hotfix branches from main, merged to main and develop; SemVer tags on main; coverage retained on the tagged release path.
  • The decision is recorded in docs/architecture/adr/ADR-0010-gitflow-branch-governance.md.
  • A develop integration branch exists off main; features target develop and main advances only through a release (or hotfix) merge, so the protected-main + CI-owned-tag publish model is unchanged.
  • repo-standards-review --profile release-gate reports the cm gate PASS with no release-workflow-no-gitflow contradiction.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The CM plan is the canonical governance record; keep the GitFlow rules and the SemVer / coverage-on-release lines intact so the CM gate stays green. Proven 2026-07-31: the cm gate flipped FAIL→PASS under repo-standards-review v0.2.19 once the governance was recorded (the release-workflow-no-gitflow contradiction cleared).

TestID

T-016

CodeRef

docs/cm/cm-plan.md; docs/architecture/adr/ADR-0010-gitflow-branch-governance.md; experiments/release/verify-release-lineage.mjs; experiments/release/verify-release-lineage.selftest.mjs; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally