fix(workspace): set git user.name/email from $GITEA_USER at boot (closes #155) #156
No reviewers
Labels
No Label
release-blocker
security
tier:high
tier:low
tier:medium
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#156
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/workspace-persona-git-identity"
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?
What
Sets
git config --global user.nameanduser.emailfrom$GITEA_USER(already injected per-workspace by the provisioner) at workspace boot, so commits from a team workspace are attributed to that team's persona in Gitea instead of the founder PAT.Why now
Today: 0 commits authored by any team persona in the last 24h, despite 8 Core-* workspaces running. Diagnosis:
GITEA_USERis set correctly in env (core-lead,core-be, etc.), butgit config --global user.name/user.emailare unset. Even when the team unblocks on the auth chain (internal#187), they'd still push under the wrong identity.Same fingerprint pattern that got Molecule-AI org suspended on GitHub 2026-05-06.
Risk
Low. Two-line addition guarded by
[ -n "${GITEA_USER:-}" ], falls through cleanly when unset (legacy boxes). Pushes tobot.moleculesai.appemail domain so agent commits are visually distinct from human commits.Closes
Related
/github-installation-token500) — orthogonal fix Core-DevOps owns.Verification
docker execform of this same change applied to 8 running Core-* workspaces locally;git config -l --globalshows correct per-persona identity.Tier
tier:low— single-file boot script change, fully backwards-compatible.