Skip to content

docs: replace main branch references with master#3194

Merged
theonlyhennygod merged 4 commits intozeroclaw-labs:masterfrom
darrenzeng2025:fix/replace-main-branch-references
Mar 12, 2026
Merged

docs: replace main branch references with master#3194
theonlyhennygod merged 4 commits intozeroclaw-labs:masterfrom
darrenzeng2025:fix/replace-main-branch-references

Conversation

@darrenzeng2025
Copy link
Copy Markdown
Contributor

Summary

Replace all main branch references with master in documentation and scripts.

Problem

The repository uses master as the default branch, but many documentation files and scripts were referencing main branch URLs (e.g., raw.githubusercontent.com/zeroclaw-labs/zeroclaw/main/install.sh) that would return 404 errors.

This caused confusion for users following installation instructions (issues #2929 and #3061).

Solution

Updated all references from zeroclaw-labs/zeroclaw/main to zeroclaw-labs/zeroclaw/master in:

  • README.md and translated README files (de, fr, vi, ko, it, es, pt, ar, nl, cs, tr, tl, pl)
  • Documentation files (one-click-bootstrap.md, troubleshooting.md)
  • install.sh script

Testing

  • Verified no remaining main branch references exist in the codebase
  • All modified URLs now point to the correct master branch

Related Issues

Fixes #2929
Fixes #3061

Copy link
Copy Markdown
Contributor

@rareba rareba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

This PR claims to be "docs: replace main branch references with master" but contains 46 files changed including:

  • .claude/agents/ configuration files (agent team configs in Chinese)
  • .claude/pr_body*.md files
  • .claude/settings.local.json
  • .claude/ralph-loop.local.md
  • .serena/ configuration files
  • 12+ new README translations (Arabic, Czech, German, Spanish, Italian, Korean, Dutch, Polish, Portuguese, Tagalog, Turkish)
  • Code changes: email_channel.rs, daemon/mod.rs, gateway/api.rs, config/schema.rs, config/mod.rs
  • install.sh changes
  • Docs changes to troubleshooting.md, one-click-bootstrap.md

This is the entire fork history, not a scoped docs fix. It includes all changes from #3190, #3191, #3192, and #3193 plus agent configs and new translations.

Blockers

  1. Massively oversized — violates CLAUDE.md §6 (one concern per PR), §9 (prefer small PRs), §10 (don't modify unrelated modules)
  2. Includes local dev configs (.claude/settings.local.json, .claude/ralph-loop.local.md) — these should never be committed
  3. No CI passing — lint fails

Recommendation

Close this PR. The individual fixes are already covered by #3190-#3193. If you want to contribute the README translations, please open a separate docs-only PR with just the translation files.

@darrenzeng2025 darrenzeng2025 force-pushed the fix/replace-main-branch-references branch 2 times, most recently from 53e2704 to f3b9b44 Compare March 11, 2026 14:12
The repository uses master as the default branch, but many documentation
files and scripts were referencing main branch URLs that would 404.

Updated all references from zeroclaw-labs/zeroclaw/main to
zeroclaw-labs/zeroclaw/master in README files and documentation.

Fixes zeroclaw-labs#2929
Fixes zeroclaw-labs#3061
@darrenzeng2025 darrenzeng2025 force-pushed the fix/replace-main-branch-references branch from f3b9b44 to 68e51a1 Compare March 11, 2026 14:24
@darrenzeng2025
Copy link
Copy Markdown
Contributor Author

Review

This PR claims to be "docs: replace main branch references with master" but contains 46 files changed including:

  • .claude/agents/ configuration files (agent team configs in Chinese)
  • .claude/pr_body*.md files
  • .claude/settings.local.json
  • .claude/ralph-loop.local.md
  • .serena/ configuration files
  • 12+ new README translations (Arabic, Czech, German, Spanish, Italian, Korean, Dutch, Polish, Portuguese, Tagalog, Turkish)
  • Code changes: email_channel.rs, daemon/mod.rs, gateway/api.rs, config/schema.rs, config/mod.rs
  • install.sh changes
  • Docs changes to troubleshooting.md, one-click-bootstrap.md

This is the entire fork history, not a scoped docs fix. It includes all changes from #3190, #3191, #3192, and #3193 plus agent configs and new translations.

Blockers

  1. Massively oversized — violates CLAUDE.md §6 (one concern per PR), §9 (prefer small PRs), §10 (don't modify unrelated modules)
  2. Includes local dev configs (.claude/settings.local.json, .claude/ralph-loop.local.md) — these should never be committed
  3. No CI passing — lint fails

Recommendation

Close this PR. The individual fixes are already covered by #3190-#3193. If you want to contribute the README translations, please open a separate docs-only PR with just the translation files.

Resolved. Tks

theonlyhennygod added a commit that referenced this pull request Mar 12, 2026
Adds a prominent Branching Model section to CONTRIBUTING.md explaining:
- master is the sole default branch (main has been removed)
- Contributors should use feat/* and fix/* branches off master
- Historical context for the migration (refs #2929, #3061, #3194)

Also updates fork workflow instructions to show both feat/ and fix/ prefixes.
Copy link
Copy Markdown
Collaborator

@theonlyhennygod theonlyhennygod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and approved. All changes are correct — every main branch URL reference has been updated to master across all 22 files (READMEs, docs, install.sh).

As part of the broader cleanup that this PR motivated:

  • The main branch has now been deleted from the repo (protection rules removed first)
  • 536 stale/dead branches have been cleaned up
  • 9 open PRs that were targeting main have been retargeted to master
  • master branch protection has been updated with CI status checks (CI Required Gate, Security Required Gate)
  • CONTRIBUTING.md has been updated with a new "Branching Model" section (see PR #3237)

This PR fixes #2929 and #3061 as described. Good catch and clean execution. Ship it.

theonlyhennygod added a commit that referenced this pull request Mar 12, 2026
Adds a prominent Branching Model section to CONTRIBUTING.md explaining:
- master is the sole default branch (main has been removed)
- Contributors should use feat/* and fix/* branches off master
- Historical context for the migration (refs #2929, #3061, #3194)

Also updates fork workflow instructions to show both feat/ and fix/ prefixes.
@theonlyhennygod theonlyhennygod merged commit 6f48205 into zeroclaw-labs:master Mar 12, 2026
5 checks passed
lantrinh1999 pushed a commit to lantrinh1999/zeroclaw-1 that referenced this pull request Mar 18, 2026
)

Adds a prominent Branching Model section to CONTRIBUTING.md explaining:
- master is the sole default branch (main has been removed)
- Contributors should use feat/* and fix/* branches off master
- Historical context for the migration (refs zeroclaw-labs#2929, zeroclaw-labs#3061, zeroclaw-labs#3194)

Also updates fork workflow instructions to show both feat/ and fix/ prefixes.
lantrinh1999 pushed a commit to lantrinh1999/zeroclaw-1 that referenced this pull request Mar 18, 2026
The repository uses master as the default branch, but many documentation
files and scripts were referencing main branch URLs that would 404.

Updated all references from zeroclaw-labs/zeroclaw/main to
zeroclaw-labs/zeroclaw/master in README files and documentation.

Fixes zeroclaw-labs#2929
Fixes zeroclaw-labs#3061

Co-authored-by: Argenis <theonlyhennygod@gmail.com>
PlebCoder pushed a commit to PlebCoder/zeroclaw that referenced this pull request Mar 19, 2026
)

Adds a prominent Branching Model section to CONTRIBUTING.md explaining:
- master is the sole default branch (main has been removed)
- Contributors should use feat/* and fix/* branches off master
- Historical context for the migration (refs zeroclaw-labs#2929, zeroclaw-labs#3061, zeroclaw-labs#3194)

Also updates fork workflow instructions to show both feat/ and fix/ prefixes.
PlebCoder pushed a commit to PlebCoder/zeroclaw that referenced this pull request Mar 19, 2026
The repository uses master as the default branch, but many documentation
files and scripts were referencing main branch URLs that would 404.

Updated all references from zeroclaw-labs/zeroclaw/main to
zeroclaw-labs/zeroclaw/master in README files and documentation.

Fixes zeroclaw-labs#2929
Fixes zeroclaw-labs#3061

Co-authored-by: Argenis <theonlyhennygod@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: delete stale main branch [Bug]:Quick clarification: master vs main

3 participants