Commit Graph

2 Commits

Author SHA1 Message Date
Jason Woltje
42bb0ee78e fix: use Mosaic credential loader for Gitea API token resolution
The broken `tea login list | awk '{print $NF}'` pattern extracted
the table border character instead of a token, causing pr-metadata.sh
to return empty fields (baseRefName, etc.) and breaking pr-merge.sh.

Centralizes get_remote_host and get_gitea_token in detect-platform.sh
with a 3-tier resolution: Mosaic credential loader (host→service
mapping) → GITEA_TOKEN env var → ~/.git-credentials file.

Removes duplicate local copies from 5 scripts that already source
detect-platform.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 16:11:10 -06:00
a8e580e1a3 feat: rename rails/ to tools/ and add service tool suites (#4)
Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
2026-02-22 17:52:23 +00:00