feat(tools/git): per-agent Gitea identity (author-not-equal-reviewer separation) #873
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fleet agents currently push/commit/open-PRs under one shared Gitea token, so there is no provider-visible author-not-equal-reviewer separation (Gate-16 gap). Add per-agent identity resolution (MOSAIC_GIT_IDENTITY env, then git config mosaic.gitIdentity, then username; per-slot token file else shared fallback, backward-compatible): new git-credential-mosaic helper (push/commit) plus a get_gitea_token() prepend in detect-platform.sh (API tooling). No-op without per-slot tokens. Upstreams Mos host-local tooling-patch kit (2026-07-23) Patches 1+2.