chore(meta): document protected branches in CLAUDE.md

main, maintenance, server, client are protected on Gitea.
Agents must not delete or force-push to these branches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 18:30:34 +01:00
co-authored by Claude Opus 4.6
parent 784064212f
commit 590fa08276
+1
View File
@@ -97,6 +97,7 @@ Key rules:
- **All flags must be explicit** — omitting `--login` or `--repo` triggers interactive prompts that crash in Claude Code (no TTY)
- **Use `--output simple`** for machine-readable output (no table borders)
- **`tea pr reject` does not work on your own PRs** — use `tea comment` instead
- **Never delete protected branches:** `main`, `maintenance`, `server`, `client` are protected on Gitea. Do not use `tea pr clean`, `git push --delete`, or `git branch -D` on these branches.
### File conventions
- Decisions: domain files in `decisions/` (see `decisions/README.md` for index)