Skip to content

Branch consolidation complete — master is the single default branch #3247

@theonlyhennygod

Description

@theonlyhennygod

What changed

We've completed a full branch consolidation of the ZeroClaw repository. Here's what happened and what it means for contributors.

The problem

The repo had 574 branches, including both main and master as competing "default" branches. Documentation, scripts, and install URLs referenced main, but the actual default branch was master. This caused:

What we did

Branch cleanup

  • Deleted 535 dead branches (574 → 43 remaining)
  • Deleted the main branch entirely
  • Deleted the dev branch (repo docs already stated "there is no dev branch")
  • Only kept: master, release/*, and branches with active open PRs

PR retargeting

  • Retargeted 15 open PRs that were targeting main or dev → now all target master

Documentation & scripts fixed

Branch protection updated

  • master now has: CI Required Gate + Security Required Gate status checks, 1 approval required, code owner reviews, dismiss stale reviews, conversation resolution required
  • Removed stale protection rules from main and dev before deletion

Code quality

How contributors should work going forward

1. Fork the repository
2. Create a feat/* or fix/* branch from master
3. Open a PR targeting master

Do not create or push to a main or dev branch. There is one default branch: master.

See the updated CONTRIBUTING.md for full details.

Related PRs

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsAuto scope: docs/markdown/template files changed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions