Skip to content

LBA REQ 030

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

LBA-REQ-030: Pull requests target develop

Status

Proven

Area

Configuration management / branch governance (ADR-0021, refines ADR-0010)

Statement

The system shall require every non-release pull request to target the develop integration branch.

Rationale

GitFlow makes develop the integration branch (ADR-0010), but stale main-based pull requests (#211 / #215 / #217) dumped integration content onto the release branch because no rule stated where feature work targets.

Acceptance Criteria

  • Every non-release pull request targets develop.
  • Main receives only release/hotfix merges via a no-fast-forward merge.
  • A pull request found on the wrong base is re-targeted or closed rather than merged.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

Refines ADR-0010 (ADR-0021). DELIVERED as the base-branch guard experiments/acg-governance/pr-base-branch-guard.mjs (blocks any non-release head targeting main -- develop and feature/authoring included; only release/* and hotfix/* target main; self-test 11/11) enforced on pull requests by .github/workflows/pr-base-branch-guard.yml, gated by acg-governance-pr-base-branch + acg-governance-pr-base-branch-workflow-wired. Authored under the repo-standards-review singular-requirement directive (one shall).

TestID

T-030

CodeRef

experiments/acg-governance/pr-base-branch-guard.mjs; experiments/acg-governance/pr-base-branch-guard.selftest.mjs; .github/workflows/pr-base-branch-guard.yml; experiments/verify-local-gates.mjs; docs/architecture/adr/ADR-0021-pull-requests-target-develop.md

RTM Status

Proven

Clone this wiki locally