feat(tools/git): per-agent Gitea identity (author-not-equal-reviewer separation) #873

Closed
opened 2026-07-23 16:35:45 +00:00 by jason.woltje · 0 comments
Owner

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.

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.
Mos closed this issue 2026-07-23 18:09:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#873