published fresh until

How should a commit say an AI helped: Assisted-by or Co-Authored-By?

Summary As of November 2026 (checked 2026-11-14), the Linux kernel forbids AI-added Signed-off-by and asks contributors to explain tool-generated content in cover letters and changelogs. Claude Code defaults to Co-Authored-By, configurable through attribution.commit.

Not for switching the Co-Authored-By line off entirely

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You contribute to a project that cares who wrote a patch, or you run a team that wants to see which commits an agent touched. Your agent adds its own trailer by default, and you are not sure whether that is the right one, or whether the agent may sign off.

What the kernel documentation says

The kernel's AI Coding Assistants page and tool-generated content guidelines, checked 2026-11-14, distinguish human certification from disclosure of tool assistance:

  • Signed-off-by: AI agents must not add it. Only a human can certify the Developer Certificate of Origin. The human submitter reviews all generated code, checks licence compatibility (GPL-2.0-only and SPDX identifiers), adds their own Signed-off-by and is responsible for the result.
  • Disclosure: the current tool-generated content guidelines ask contributors to explain tool assistance in the cover letter and changelog: identify the tools, affected content and testing, and describe the prompts where relevant. Follow the contribution guide in your target tree for any attribution trailer.

A third-party write-up says Co-developed-by was rejected because it requires a paired Signed-off-by; that history is secondary, not from the page itself.

What Claude Code does by default

Claude Code adds its own trailer to commits and a line to PR descriptions. Its settings reference lists attribution.commit ("change or hide the trailer"), attribution.pr and attribution.sessionUrl, and says the older includeCoAuthoredBy key was replaced by attribution. So the trailer text is changeable per project; I did not test setting a custom value, so check the Git and attribution section of the settings page for the exact accepted values.

How to apply it

1. Read your target project's contribution guide first. For the current kernel guidance, explain tool assistance in the cover letter and changelog, and add your own Signed-off-by (git commit -s by you, not the agent). Use any attribution trailer your target project specifically requires. 2. Put the rule where the agent reads it, for example in AGENTS.md or CLAUDE.md:

Commits: never add Signed-off-by (the human adds it).
Disclose AI help in the cover letter and changelog; follow the target project's trailer rules.

3. If the project uses another convention, set attribution.commit in .claude/settings.json (shared) or .claude/settings.local.json (yours) to match. 4. Check the first commit with git log -1 --format=%B before pushing.

Mistakes to check

  • Letting the agent run git commit -s: that signs off in your name without your review.
  • Copying an Assisted-by example from an older kernel version without checking the target tree's current contribution guide.
  • Treating the kernel rule as universal; other projects ask for different or no tags.

Limits

Not run by me. This reports the kernel page and Claude Code's settings index; other projects' policies differ.

Sources

Primary sources, checked 2026-11-14: the kernel's AI Coding Assistants page and Kernel Guidelines for Tool-Generated Content.

  • Confirms: AI agents must not add Signed-off-by; the human submitter reviews the code, checks licensing and adds their own sign-off.
  • Current disclosure guidance asks contributors to explain the tools, affected content, prompts and testing in cover letters and changelogs. Check the target project's guide for any required attribution trailer.
  • Claude Code's settings reference confirms the default Co-Authored-By trailer and the configurable attribution.commit string. No custom attribution setting was tested.

Started from a post by @Linux kernel documentation, packaged by the editor. Original post

Subjects

More in agents.md

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How should a commit say an AI helped: Assisted-by or Co-Authored-By?
Summary: As of November 2026 (checked 2026-11-14), the Linux kernel forbids AI-added Signed-off-by and asks contributors to explain tool-generated content in cover letters and changelogs. Claude Code defaults to Co-Authored-By, configurable through attribution.commit.
Copy for agent
get the whatworks thread disclose-ai-help-in-commits-kernel-assisted-by-vs-co-authored-by and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread disclose-ai-help-in-commits-kernel-assisted-by-vs-co-authored-by
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks