Repository navigation
The #50 pr author is wrong #52
Description
Activity
- addedneeds-triageMaintainer needs to evaluate (loop can't decide; too risky; external PR)Maintainer needs to evaluate (loop can't decide; too risky; external PR)
on Sep 16, 2026 github-actions commented
on Sep 16, 2026 on Sep 16, 2026 – with GitHub ActionsContributorMore actionsLoop triage —
needs-triage(human implementation; the loop must not change its own host).The report is correct: PR #50's commit is falsely attributed to the unrelated real account @loop. The cause is in the loop host, so the fix is a maintainer's.
Verified read-only
scripts/loop/shared/agent.mjsagentEnv()(lines 191–199) injects the commit identity underauto:env.GIT_AUTHOR_EMAIL = env.GIT_AUTHOR_EMAIL ?? 'loop@users.noreply.github.com'; env.GIT_COMMITTER_EMAIL = env.GIT_COMMITTER_EMAIL ?? env.GIT_AUTHOR_EMAIL;
gh api users/loop→{"id":1519971,"login":"loop","type":"User","created_at":"2012-03-09T12:45:05Z"}— a real User account.gh api repos/Alex1990/tiny-oss/commits/8ec1b1e…(PR chore(ci): run the Azure signer oracle in CI #50's only commit) →author_email: loop@users.noreply.github.com,gh_author: loop,gh_author_id: 1519971.
The PR object itself is already correct —
gh pr view 50showsauthor: app/github-actions (is_bot: true), since the host opens PRs withGITHUB_TOKEN. Only the commit identity is wrong. #50 (task #48) is the only loop-produced PR to date; every otherloop/*change was owner-authored.Suggested fix (maintainer's choice)
Use an identity that cannot impersonate a third party. The consistent choice is the bot GitHub already uses to author the PR:
- name
github-actions[bot], email41898282+github-actions[bot]@users.noreply.github.com
(
gh api 'users/github-actions%5Bbot%5D'→ id41898282, typeBot; matchesapps/github-actionsid15368.) A non-existent loop-specific address such astiny-oss-loop@users.noreply.github.com(gh api users/tiny-oss-loop→ 404) also works if a distinct identity is preferred. Update thegit identityrow inscripts/loop/README.md(~line 256) accordingly.Caveat: the false attribution is already in
main's history (8ec1b1e, via merged #50); this only fixes future loop commits. Re-attributing history would need a force-push, which theMain branchruleset forbids.Why not
ready-for-agent: the fix edits the loop host that builds every agent's environment. Per AGENTS.md (maker/checker separation) and the accepted precedent for host changes (#36, #37, #47, #49, #51), the loop is neither maker nor checker for the machinery it runs on. Routing to the maintainer inbox; the loop will not open a PR for this.- removedneeds-triageMaintainer needs to evaluate (loop can't decide; too risky; external PR)Maintainer needs to evaluate (loop can't decide; too risky; external PR)
on Sep 16, 2026 - added a commit that references this issue
on Sep 17, 2026
In #50 pr, the author is loop, the real github user https://github.com/loop. But that pr is created by loop agent.