* [PATCH] checkpatch: recognize Assisted-by: tag
@ 2026-04-08 8:32 Michael Bommarito
2026-04-08 8:36 ` Joe Perches
0 siblings, 1 reply; 3+ messages in thread
From: Michael Bommarito @ 2026-04-08 8:32 UTC (permalink / raw)
To: Joe Perches, Andy Whitcroft
Cc: Dwaipayan Ray, Lukas Bulwahn, linux-kernel, Michael Bommarito
Documentation/process/coding-assistants.rst defines an Assisted-by:
trailer for disclosing AI coding tool assistance. Recognize it and
skip Name <email> validation; format is AGENT_NAME:MODEL_VERSION.
Assisted-by: Claude:claude-opus-4-6
Assisted-by: Codex:gpt-5-4
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Michael Bommarito <michael.bommarito@gmail.com>
---
scripts/checkpatch.pl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e56374662ff7..3b246c915ce8 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -641,6 +641,7 @@ our $signature_tags = qr{(?xi:
Reviewed-by:|
Reported-by:|
Suggested-by:|
+ Assisted-by:|
To:|
Cc:
)};
@@ -737,7 +738,7 @@ sub find_standard_signature {
my ($sign_off) = @_;
my @standard_signature_tags = (
'Signed-off-by:', 'Co-developed-by:', 'Acked-by:', 'Tested-by:',
- 'Reviewed-by:', 'Reported-by:', 'Suggested-by:'
+ 'Reviewed-by:', 'Reported-by:', 'Suggested-by:', 'Assisted-by:'
);
foreach my $signature (@standard_signature_tags) {
return $signature if (get_edit_distance($sign_off, $signature) <= 2);
@@ -3107,7 +3108,10 @@ sub process {
my ($email_name, $name_comment, $email_address, $comment) = parse_email($email);
my $suggested_email = format_email(($email_name, $name_comment, $email_address, $comment));
- if ($suggested_email eq "") {
+ if ($sign_off =~ /^assisted-by:$/i) {
+ # Assisted-by: uses AGENT_NAME:MODEL_VERSION
+ # format, not Name <email>.
+ } elsif ($suggested_email eq "") {
ERROR("BAD_SIGN_OFF",
"Unrecognized email address: '$email'\n" . $herecurr);
} else {
--
2.49.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] checkpatch: recognize Assisted-by: tag
2026-04-08 8:32 [PATCH] checkpatch: recognize Assisted-by: tag Michael Bommarito
@ 2026-04-08 8:36 ` Joe Perches
2026-04-08 8:49 ` Michael Bommarito
0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2026-04-08 8:36 UTC (permalink / raw)
To: Michael Bommarito, Andy Whitcroft
Cc: Dwaipayan Ray, Lukas Bulwahn, linux-kernel
On Wed, 2026-04-08 at 04:32 -0400, Michael Bommarito wrote:
> Documentation/process/coding-assistants.rst defines an Assisted-by:
> trailer for disclosing AI coding tool assistance. Recognize it and
> skip Name <email> validation; format is AGENT_NAME:MODEL_VERSION.
already fixed in -next
see: d1db4118489fffd2b2f612140b7acbb477880839
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] checkpatch: recognize Assisted-by: tag
2026-04-08 8:36 ` Joe Perches
@ 2026-04-08 8:49 ` Michael Bommarito
0 siblings, 0 replies; 3+ messages in thread
From: Michael Bommarito @ 2026-04-08 8:49 UTC (permalink / raw)
To: Joe Perches
Cc: Andy Whitcroft, Dwaipayan Ray, Lukas Bulwahn, linux-kernel,
Michael Bommarito
On Wed, 2026-04-08, Joe Perches wrote:
> already fixed in -next
>
> see: d1db4118489fffd2b2f612140b7acbb477880839
Thanks, my bad, dropping.
Only other note is that you might want to add Assisted-by: to
@standard_signature_tags as well for user convenience. Didn't see
that in Sasha's fix.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-08 8:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-08 8:32 [PATCH] checkpatch: recognize Assisted-by: tag Michael Bommarito
2026-04-08 8:36 ` Joe Perches
2026-04-08 8:49 ` Michael Bommarito
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®