Repository navigation
Open
Milestone
Description
title: "Branch Governance Hardening Epic"
description: "Epic proposal for enforcing branch lifecycle rules, GitHub rulesets, and AI branch-selection guardrails."
file_type: "documentation"
version: "1.0.0"
last_updated: "2026-06-03"
created_date: "2026-06-03"
authors: ["LightSpeed Team"]
maintainer: "LightSpeed Team"
license: "GPL-3.0"
tags: ["epic", "branching", "governance", "rulesets"]
domain: "governance"
stability: "experimental"
status: "draft"
Branch Governance Hardening Epic
Problem
The repo already documents branch naming, merge discipline, and deletion
expectations. That guidance does not stop an AI or a human from reusing a work
branch, skipping the intended branch type, or continuing a new batch on an old
branch. The policy needs to be enforced where the repo can actually check it.
Goal
Convert branch policy from prose into enforceable controls:
- GitHub rulesets and branch protections
- workflow checks that validate branch state
- AI branch-selection guardrails that require explicit intent
- tests and rollout controls that keep the policy from drifting
Non-goals
- redesigning the branching model from scratch
- removing
developfrom the delivery flow - changing the team's preferred merge strategy
Acceptance Criteria
- branch protection and ruleset coverage is defined for the protected branches
- the workflow layer blocks invalid branch names and reused batch branches
- AI-facing instructions require explicit branch choice and current-state checks
- tests prove the rules fire before a bad branch can be used
- the rollout plan explains how to extend the guardrails to later batches
Child Issues
- GitHub rulesets and branch protection
- Workflow branch validation and reuse prevention
- AI branch-selection guardrails
- Validation tests and rollout controls
Definition of Ready (DoR)
- Epic vision and scope clearly defined
- Success criteria and measurable outcomes documented
- High-level tasks/stories identified
- Dependencies and risks mapped
- Timeline and resource estimates provided
- Stakeholder alignment confirmed
Definition of Done (DoD)
- All child issues/stories completed
- Epic acceptance criteria met
- Epic documentation and summary updated
- Release notes and announcement prepared
- Post-launch monitoring and support plan in place
- Retrospective completed (if applicable)
Metadata
Metadata
Assignees
Type
Fields
Priority
None yet
Activity
linear-code commentedon Jun 8, 2026
LS-961
LS-1097
github-actions commentedon Jun 8, 2026
✅ Template check passed after update. Thanks for fixing the issue body.
ops(governance): harden branch naming, merge-target and reuse enforce…
ashleyshaw commentedon Jun 8, 2026
Project archive sync: the Branch Governance Hardening project pack is now archived at
.github/projects/archived/branch-governance-hardening-2026-06-08.The archived issue register is the canonical mapping for this chain and has been updated to reflect closed status across #897-#901.
ops(governance): harden branch naming, merge-target and reuse enforce…
ops(governance): harden branch naming, merge-target and reuse enforce…
ops(governance): harden branch naming, merge-target and reuse enforce…
ops: branch governance hardening — rulesets, validation enhancements,…
ashleyshaw commentedon Jun 18, 2026
PR #915 (
ops/branch-governance-hardening) has been merged todevelop(squash commit835d72e). That PR delivered the branch governance hardening work tracked by this issue, including GitHub Ruleset JSON files,--baseflag and reuse detection invalidate-branch-name.js, 35-test Jest suite, and updatedAGENTS.md/CLAUDE.mdgovernance sections.Generated by Claude Code
7 remaining items
github-actions commentedon Sep 8, 2026
This issue has labels that are not in the canonical taxonomy:
migrate:type:epicValid Canonical Labels
Please use labels with a prefix from the canonical taxonomy:
type:bug,type:feature,type:task,type:documentation, etc.status:needs-triage,status:in-progress,status:done, etc.priority:critical,priority:high,priority:normal,priority:lowarea:ci,area:docs,area:labels,area:security, etc.meta:needs-changelog,meta:duplicate,meta:blocked, etc.For the complete list, see .github/labels.yml.
[-][Epic] Branch Governance Hardening[/-][+]epic: branch-governance - Enforce branch lifecycle rules and AI guardrails[/+]