Skip to content

[M0] Enforce the main-branch ruleset #34

Description

@arthurpanhku

Goal

Make repository governance enforceable on main.

Scope

Configure the main-branch ruleset to require pull requests, passing CI and Plan Gate checks, resolved conversations, and CODEOWNERS approval for sensitive changes.

Acceptance criteria

  • Direct pushes and force pushes to main are blocked.
  • Backend, frontend, and Plan Gate checks are required and current.
  • Review conversations must be resolved before merge.
  • Sensitive-path changes require CODEOWNERS approval.
  • Bypass permissions are minimal, documented, and auditable.
  • A dry-run pull request demonstrates that every required gate is enforced.

Dependencies

Implement after the CODEOWNERS and Plan Gate checks have stable names.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmaintainer-ledSecurity-critical or architecture-heavy work led by maintainerspriority: p0Critical path for the next milestone

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions