docs: correct Codeberg tea invocation in CLAUDE.md

`tea` autodetection fails in this repo, and the machine carries a second
login (`egbt`) pointing at a different forge that tea silently falls back
to in non-interactive mode. Document the explicit
`--login codeberg --repo egbt/secrets` form for every verb.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BrUoYuUMoTj91rzV4vxGPB
This commit is contained in:
Brian Majewski 2026-09-08 14:31:16 -07:00
parent dd6a025fa0
commit f1cf9d9e7e

View file

@ -150,10 +150,17 @@ The remote is Codeberg (Forgejo) — `gh`/`glab` do NOT work here. Use `tea`
(login name: `codeberg`, user `egbt`) for forge operations when a skill's (login name: `codeberg`, user `egbt`) for forge operations when a skill's
platform detection comes up "unknown": platform detection comes up "unknown":
- PRs: `tea pr create --base main --title ... --description ...` / `tea pr merge <index>` **Always pass `--login codeberg --repo egbt/secrets` explicitly.** `tea`'s
- Releases: `tea releases create --tag v<X.Y.Z.W> --title "v<X.Y.Z.W> — <YYYY-MM-DD>" --note ...` repo autodetection fails here ("remote repository required"), and this machine
also has an `egbt` login pointing at a *different* forge
(`https://git.dev.egbt.com`) that `tea` will silently fall back to in
non-interactive mode — which would target the wrong server. Confirm with
`tea logins list` if a command errors.
- PRs: `tea pr create --login codeberg --repo egbt/secrets --base main --head <branch> --title ... --description ...` / `tea pr merge <index> --login codeberg --repo egbt/secrets`
- Releases: `tea releases create --login codeberg --repo egbt/secrets --tag v<X.Y.Z.W> --title "v<X.Y.Z.W> — <YYYY-MM-DD>" --note ...`
(convention: one release per tag, title `v<X.Y.Z.W> — <date>`) (convention: one release per tag, title `v<X.Y.Z.W> — <date>`)
- Issues/status: `tea issues`, `tea pr list` - Issues/status: `tea issues --login codeberg --repo egbt/secrets`, `tea pr list --login codeberg --repo egbt/secrets`
- No CI on this repo: the bats suite run locally is the merge gate. - No CI on this repo: the bats suite run locally is the merge gate.
## Environment variable ## Environment variable