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
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
mainandmasteras competing "default" branches. Documentation, scripts, and install URLs referencedmain, but the actual default branch wasmaster. This caused:mastervsmain#2929, chore: delete stale main branch #3061)origin/mainWhat we did
Branch cleanup
mainbranch entirelydevbranch (repo docs already stated "there is no dev branch")master,release/*, and branches with active open PRsPR retargeting
mainordev→ now all targetmasterDocumentation & scripts fixed
maintomaster(docs: replace main branch references with master #3194)rust_strict_delta_gate.sh,docs_quality_gate.sh,collect_changed_links.pyupdated fromorigin/maintoorigin/master(fix(ci,release): update all scripts from origin/main to origin/master #3238)cut_release_tag.shupdated to validate againstorigin/master(fix(ci,release): update all scripts from origin/main to origin/master #3238)master+feat/*/fix/*workflow (docs: add branching model section to CONTRIBUTING.md #3237)Branch protection updated
masternow has:CI Required Gate+Security Required Gatestatus checks, 1 approval required, code owner reviews, dismiss stale reviews, conversation resolution requiredmainanddevbefore deletionCode quality
cargo fmtviolations across 6 files that were blocking CI lint on every open PR (style: fix cargo fmt violations blocking CI lint #3244)How contributors should work going forward
Do not create or push to a
mainordevbranch. There is one default branch:master.See the updated CONTRIBUTING.md for full details.
Related PRs
Related issues
mastervsmain#2929