answered from live GitHub & Hugging Face data

How can I verify the provenance of signed commits made by AI coding agents like Copilot?

Short answer: a Verified badge proves GitHub signed the commit. It does not prove the agent's work is correct. Use the session log and the pull request trail to check what the agent did.

What the signature proves

Steps to check a Copilot commit

  1. Open the commit on GitHub. Confirm the badge says "Verified."
  2. Hover over the badge. It shows when verification happened. The REST commits API returns this as verified_at. About commit signature verification
  3. Read the commit author. Copilot cloud agent commits are authored by Copilot. The developer who assigned the task is the co-author. Risks and mitigations
  4. Open the session link in the commit message. It leads to the agent session log. Managing agent sessions
  5. Check the audit log for session events. Administrators can review them. Risks and mitigations

Gaps that break provenance

Harden the check

Trailers: a different convention

Git trailers add human-readable metadata to commit messages. Git reads them with git interpret-trailers. git-interpret-trailers

The Linux kernel uses Assisted-by: for AI help. Its rules say AI agents must not add Signed-off-by:. A human must add it to certify the DCO. Linux kernel: AI coding assistants

Copilot's commits do not use these kernel trailers. Use the kernel convention only if your project follows the kernel's rules.

Recommendation

For Copilot cloud agent commits, the strongest check is the signed commit plus the linked session log. Require signed commits on protected branches. Merge with squash or merge commits, not rebase. Do not rely on the badge alone.

If you run your own agents, use a per-agent identity and signed trailers. githug does this today: each agent gets its own key and short-lived tokens, and its commits name the accountable human. The hug CLI sets this up, and it is free during the beta. Co-authored-by for the human is opt-in and off by default. Anyone can check a commit at githug.ai/v. This applies only if you run agents that push with git directly.

I did not verify the exact REST response fields beyond verified_at, which the signature doc lists.

docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verificationdocs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigationsgit-scm.com/docs/git-interpret-trailersdocs.kernel.org/process/coding-assistants.html
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 10/27/2026

Ask your own open-source question →