Skip to content

Changes written by AI agents

More and more pull requests are written, in whole or in part, by coding agents such as Claude Code and GitHub Copilot. GroundZero records who wrote each change so you can see it at a glance, and so a repository can ask for more review on changes an agent wrote. It reads evidence that is already on GitHub; there is nothing to install and nothing to add to your pipeline.

Every change carries one of three values:

Value Meaning
Human No agent or bot signal was found on the pull request or any of its commits.
Agent At least one AI coding agent contributed.
Bot An automation that is not an AI agent opened or wrote it (for example a dependency updater), and no agent contributed.

If an agent and a bot both contributed, the change counts as agent-authored.

Attribution is made per commit, so one change can have several contributors: Claude Code writes two commits, then Copilot adds one, and a person adds another. The change lists each contributor and how many commits it wrote. The commits with no signal are counted as written by a person.

A change GroundZero could not classify (for example because GitHub could not be read at that moment) shows no authorship at all. That is different from Human, and GroundZero never records “human” because it failed to look.

Contributor Kind Recognised by
Claude Code Agent The claude account, a Co-Authored-By: Claude commit trailer, or “Generated with Claude Code” in a commit message or the pull request description.
GitHub Copilot Agent The Copilot or copilot-swe-agent account, or a Co-Authored-By: Copilot trailer.
Cursor Agent The cursor account, a Co-Authored-By: Cursor trailer, or “Generated with Cursor”, “Authored with Cursor” or “Cursor Agent” in a commit message or the pull request description.
Devin Agent The devin-ai-integration or devin account, a Co-Authored-By: Devin trailer, or a Devin marker (“Devin run”, “Authored by Devin”) in a commit message or the pull request description.
Gemini Code Assist Agent The google-gemini, gemini-code-assist or gemini account, a Co-Authored-By: Gemini trailer, or “Generated with Gemini” or “Gemini Code Assist” in a commit message or the pull request description.
Aider Agent A Co-Authored-By: Aider trailer, or an “aider:” prefix or “Authored with aider” in a commit message or the pull request description.
Jules Agent The jules or google-jules account, or a Co-Authored-By: Jules trailer.
Dependabot Bot The dependabot account.
Renovate Bot The renovate account.
GitHub Actions Bot The github-actions account.
Any other bot Bot An account that GitHub marks as a bot (its login ends in [bot]). Shown by its login.

Detection is based on what the tools write today. An agent that leaves no marker is read as a person, and a person can paste a marker or remove one, so treat the result as evidence and not as proof. More agents are added to the list as real examples of their commits are checked.

  • In the console. An agent’s logo appears beside the author on the change’s row in the change list, with a small tint on the row. Open the logo to see how it was detected. The change page has an Authorship section that names each contributor and the signal behind it. A change that nobody classified and a change written by a person show nothing extra.
  • On the pull request. The GroundZero comment and the check summary carry a line such as Written with Claude Code with a collapsible “How was this detected?”. A human-written pull request reads exactly as before.
  • In the audit log. The entries for proposing, authorizing and merging a change name the agent that wrote it, so a review of who approved an agent’s work is one search.
  • It never changes the risk score. The same diff gets the same score whoever wrote it.
  • It changes the verdict only if you ask it to. With the agent_authored and bot_authored blocks of your repository policy a change by an agent or a bot can be held to a stricter gate, for example no auto-approval for an agent’s change to a Tier 1 service. Without those blocks the repository policy applies to every change exactly as it did.
  • If authorship cannot be established, the repository policy applies and the check summary says that the stricter policy was not applied.

Attribution is read when the pull request is opened and each time it is updated, and it is kept up to date afterwards:

  • Adding the “Generated with Claude Code” line to the description (or removing it) re-attributes the pull request. If that moves the change between human, agent and bot, the change is evaluated again so the check follows the policy that now applies. An edit that touches no marker does nothing.
  • Re-running the GroundZero check on GitHub does not lose attribution: the pull request is read again first.

Commits pushed straight to your main branch

Section titled “Commits pushed straight to your main branch”

A commit pushed straight to the default branch is attributed on its own, with the same signals as a pull request’s commits (a known agent’s account, its Co-Authored-By: trailer). That holds when several commits arrive in one push and when GroundZero first learns about a commit from a sync rather than from the push event. A commit whose message GroundZero could not read is shown as not classified, never as written by a person.

A release (a tag) writes no code of its own: it packages pull requests and direct commits. GroundZero shows the roll-up of what a release bundles:

  • If any bundled change was written with an agent, the release shows that agent (and the bot, if only bots contributed). The list of contributors is the union of all of them, with their commit counts added up.
  • The release’s page and popover list the bundled changes and who wrote each: an AI agent, a bot, or a person.
  • A bundled change that nobody classified (for example one from before GroundZero recorded this) is counted and named. It is never shown as written by a person.
  • It updates by itself: if a bundled pull request is attributed later (a marker added to its description), the releases that bundle it follow.

This is a record, not a gate. Each bundled pull request already faced your policy before it merged; the release’s own verdict is unchanged.

An agent that only reviews a pull request (for example an AI code review leaving comments) did not write it, so it is never shown as an author. It is recorded separately: the change shows a small Reviewed by mark in the list and a Reviewed by line on its page, with the state of its latest review.

  • A review by an agent or a bot is not a person’s approval and never changes the gate. Approvals still come from people with the right role.
  • Only agent and bot accounts are recorded. A person’s review is not read or stored.
  • The review text is not stored: only who reviewed and the state of the review.
  • A review that arrives before the pull request’s first evaluation has finished is picked up with the next review.
  • Agents that are not in the list above, and that leave no bot account, trailer or marker, appear as a person.

The author account, the commit messages and the title, labels and description of the pull request, through the GitHub App’s read access. Commit author e-mail addresses are not forwarded or stored. What is kept on the change is the result: the contributors, their kind, how many commits each wrote, and one short line saying which signal identified each. See Security and data.