CLAUDE.md now points to CONTRIBUTING.md as the canonical workflow doc instead of duplicating the release lifecycle inline. docs/release-channels.md's current-state table was stale — it still said beta/dev wasn't rolled out to the sibling repos, which is now done.
2.1 KiB
CLAUDE.md — Repo hygiene
Scope: this file covers repo hygiene — branching, remotes, CI, cleanup. It is not project documentation.
This repo follows the branch/release workflow documented in CONTRIBUTING.md
— read and follow it for any git, branch, or release work here (the
dev/beta/main lifecycle, feature/x/fix/x branch naming, when to cut or
reset beta, etc). Don't improvise a different workflow. The short version:
main is tag-ready and only moves via a beta merge; dev and beta both
auto-publish a build on every push (dev-track / beta-track respectively);
beta is a frozen stabilization branch cut from dev roughly weekly and
promoted to main roughly monthly. git branch -f beta dev (plain
branch-pointer move) is how beta gets reset — never git checkout main/git merge for this.
Remotes
origin— Forgejo (git.breadway.devvia Hestia, SSH) — authoritative.github— GitHub mirror. Push both when publishing.
CI
.forgejo/workflows/package.yml,release-bakery.yml,release-bread-theme.ymlall trigger only onpush: tags: ['v*']— pushing todev,beta, ormaindoesn't run these. Tag a release to trigger packaging.dev-bakery.yml/dev-bread-theme.ymltrigger onpush: branches: ['dev'];beta-bakery.yml/beta-bread-theme.ymltrigger onpush: branches: ['beta']— both auto-publish a signed, auto-versioned build todl.breadway.dev/{dev,beta}/. Seedocs/release-channels.mdfor the full three-track (stable/beta/dev) policy.- No build/lint/test CI runs on ordinary commits or PRs to
dev/betabeyond what those track workflows do — there's no separate lint/PR-check pipeline.
Cleanup
- Delete feature/fix branches (local + remote) once merged. Check with
git branch --merged dev/git branch --merged main. - A
fix/audit-findingsbranch and a mergedcopilot/create-readme-mdbranch (both local and onorigin/github) were found stale and fully merged here on 2026-07-21 and removed.
Don't
- Don't embed credentials in remote URLs — SSH or a credential helper only.