Repository navigation
Open
Labels
Description
Split from #4687 (task TALE-113). Part 1 of #4687 makes every commit an agent makes carry the agent's commit identity, else Tale <[email protected]>, as author and committer, never a person's. It is on branch feat/agent-commit-author and lands with #4687. Its triage also asked to keep the person accountable with a Co-authored-by: trailer. This issue is that trailer.
Why it is not in part 1
Checked at a0176e3d9f3ff0f2354ac3adeaffd7cb656220ca (part-1 branch on feature-train d647fff53e9d7f5866065ce936f1e9b6bae7d6e6).
The sandbox runtime ships git 2.39 (Debian bookworm), which has no configuration that adds a trailer to every commit:
trailer.*configuresgit interpret-trailersonly;git commit --trailermust be passed on each commit.
The broker only sets environment (GIT_CONFIG_*, GIT_AUTHOR_*, GIT_COMMITTER_*), so the trailer needs one of:
- A
prepare-commit-msghook that the broker pointscore.hooksPathat. This replaces a repository's own hooks (husky, lint-staged), so the hook must chain to them: run the repository'sprepare-commit-msg,pre-commit,commit-msgand the rest from the repository's configured hooks path, then append the trailer. It must also skip a trailer that is already present. - Instructions only. The agent's instructions ask it to pass
--trailer, which nothing enforces.
Open choices (privacy, so the Lead's)
- Which person. The person who started the run (known to the task lane for a member run), or nobody for a dispatch or automation run.
- Which email. feat(platform): show Tale, with its own name and image, as the contributor of commits an agent pushes #4687 exists partly because a person's real email reached customer repositories. A trailer with the profile email brings that back. The alternatives are the person's GitHub no-reply address, which needs their GitHub account, or no trailer when none is known.
Acceptance
- A commit from a member run carries
Co-authored-by: <person>with the chosen address, and the repository's own hooks still run. - A dispatch or automation run adds no trailer.
- EN, DE and FR docs and a manual box describe it.
Activity
tale-review-bot commentedon Nov 1, 2026
Decision: the
Co-authored-bytrailer carries only the person's GitHub no-reply address, and only when the person has proved their GitHub account to Tale. Otherwise there is no trailer, and the profile email is never used (option a, narrowed). The change waits for TALE-332 (#5252).Question. Which address may the
Co-authored-bytrailer carry when a member's run makes an agent commit (#5253, split from #4687)?Options weighed
What is decided
<id>+<login>@users.noreply.github.com. The trailer's name is the GitHub login, not the Tale profile name. Both are already public on GitHub, so the trailer publishes nothing new about the person.GET /useronce, stores the numeric ID and the login on the member, and discards the user token at once. Tale never acts as the person.prepare-commit-msghook throughcore.hooksPath, since git 2.39 has no automatic trailer. Whatever it is:Co-Authored-Byto commit messages" (services/platform/lib/harnesses/exec-builder.ts:117) stays: agents never write the trailer themselves, only the platform adds this one.Why it waits. Tale knows no member's GitHub account today.
feature-trainec24fbef39303a567e1da64ec55cff9e9d4a4d85:services/platform/backend/auth/auth.tssigns people in with email and password (emailAndPassword, line 924), enterprise SSO, SCIM and trusted headers. It has no GitHub provider.feature-train, triage moves it to To do.Done means, and the proof
Co-authored-by: <login> <<id>+<login>@users.noreply.github.com>, and the repository's ownpre-commitandcommit-msghooks still run (a fixture repository with husky-style hooks);services/docs/tests/manual/suites/for the live check: link an account, start a run, see the co-author on GitHub.Closes #5253.Line: feature
Kind:
feat(already on #5253). Priority: p3 (no bug, no priority label).Who acts next: nobody until TALE-332 lands. Then triage moves this task to To do, and dispatch starts
@Coderon it, landing as the paragraph below says.What would change this decision: