Re: [RFC PATCH] checkpatch: teach checkpatch about the Assisted-by: tag for AI-assisted patches

Joe Perches
2026-03-04T18:31:13Z

On Wed, 2026-03-04 at 19:01 +0100, Thomas Hellström wrote:
> On Tue, 2026-03-03 at 12:36 -0800, Niranjana Vishwanathapura wrote:
> On Mon, Mar 02, 2026 at 03:36:59PM +0100, Thomas Hellström wrote:
> Documentation/process/coding-assistants.rst mandates the use of an
> > > uses an "Agent:Model" notation rather than a name-and-email-address
> > > pair, for example:
> > >
>  Assisted-by: GitHub Copilot:claude-sonnet-4.6
> >
> > Do we need the Agent to be specified along with the model given the
> > agents tend to me more custom built (or private) and model tend to be
> > more generic? Not sure if my assumption is entirely true though.
>
> Basically this is following
> https://kernel.org/doc/html//next/process/coding-assistants.html
>
> and this patch only ensures *something* is present for
> AGENT_NAME:MODEL_VERSION
>
> Not sure whether checkpatch should allow an empty agent, like
> :claude-sonnet-4.6 in this case or whether one should add
> <internal>:claude-sonnet-4.6. I think the latter is the most
> transparent of the two...

Dunno know neither. These are the current uses in -next.
Perhaps unnamed is useful, but actual transparency would
require an actual tool/agent name too.

HEAD is now at fc7b1a72c6cd5 Add linux-next specific files for 20260304
$ git log -100000 --grep="Assisted-by:" | grep "Assisted-by:"
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Assisted-by: Claude:claude-opus-4-6
Assisted-by: gkh_clanker_2000
Assisted-by: gkh_clanker_2000
Assisted-by: Gemini-CLI:Google Gemini 3
Assisted-by: Gemini-CLI:Google Gemini 3
Assisted-by: Gemini-CLI:Google Gemini 3
Assisted-by: claude-opus-4-6-v1
Assisted-by: Claude:claude-opus-4-5
Assisted-by: claude-opus-4-5-20251101
Assisted-by: claude-opus-4-5-20251101
Assisted-by: Google Gemini
Assisted-by: Daniel Borkmann <dborkmann@redhat.com>

Perhaps \S:\S validation, but the content will eventually get out of hand.