Re: [PATCH v2] scripts/checkpatch: add Assisted-by: tag validation
From: Jonathan Corbet
Date: Mon Mar 30 2026 - 12:13:33 EST
Joe Perches <joe@xxxxxxxxxxx> writes:
> On Fri, 2026-03-27 at 15:28 -0600, Jonathan Corbet wrote:
>> Harry Wentland <[harry.wentland@xxxxxxx](mailto:harry.wentland@xxxxxxx)> writes:
>>
>> The coding-assistants.rst documentation defines the Assisted-by: tag
>> > format for AI-assisted contributions as:
>> >
>> > Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
>> >
>> > This format does not use an email address, so checkpatch currently
>> > reports a false positive about an invalid email when encountering this
>> > tag.
>> >
>> > Add Assisted-by: to the recognized signature tags and standard signature
>> > list. When an Assisted-by: tag is found, validate it instead of checking
>> > for an email address.
>> >
>> > Examples of passing tags:
>> > - Claude:claude-3-opus coccinelle sparse
>> > - FOO:BAR.baz
>> > - Copilot Github:claude-3-opus
>> > - GitHub Copilot:Claude Opus 4.6
>> > - My Cool Agent:v1.2.3 coccinelle sparse
>> >
>> > Examples of tags triggering the new warning:
>> > - Claude coccinelle sparse
>> > - JustAName
>> > - :missing-agent
>> >
>> > Cc: Jonathan Corbet <[corbet@xxxxxxx](mailto:corbet@xxxxxxx)>
>> > Cc: Jani Nikula <[jani.nikula@xxxxxxxxxxxxxxx](mailto:jani.nikula@xxxxxxxxxxxxxxx)>
>> > Assisted-by: Claude:claude-opus-4.6
>> > Co-developed-by: Alex Hung <[alex.hung@xxxxxxx](mailto:alex.hung@xxxxxxx)>
>> > Signed-off-by: Alex Hung <[alex.hung@xxxxxxx](mailto:alex.hung@xxxxxxx)>
>> > Signed-off-by: Harry Wentland <[harry.wentland@xxxxxxx](mailto:harry.wentland@xxxxxxx)>
>> > ---
>> > scripts/checkpatch.pl | 12 +++++++++++-
>> > 1 file changed, 11 insertions(+), 1 deletion(-)
>>
>>
>> Given that people are running into this problem, and that we *do* want
>> people using that tag, it would make sense to go ahead and get this in,
>> perhaps even with a CC: stable. Would you like me to route it
>> Linusward, or did you have another path in mind?
>>
>> Joe, does this look good to you?
>
> Looks good.
>
> If you want to take it and push it, fine by me.
OK, I have applied it, will ship it upward before too long.
Thanks,
jon