From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 514281F4CAC; Thu, 24 Jul 2025 19:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753384041; cv=none; b=bHTempuVpLAgVOnKOxzcbRQgCwCIJy/93Id7VfL5DrSnInkJYU/ZpZwaOr0qOayaJkiWeD3uD/sVlcF2T5tJ8blOq0L4ssS+vqG4AScX9953M36DG0VfIvpAkljs4bLm/rAcZbiHtZHN8vQBVtG6Nz+Ajq+ZxpnOfEVsKEow5kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753384041; c=relaxed/simple; bh=DEiFX8FB3LKf0M9vGnnHfNdLbXupaWb2eFDOBVfg9EM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ObFFoXI506EuPRrskKU1TPF1qCtfgvLLfrhjbZZjs5lAVJivCjdjnelV8MWjfbnwK3YiDTwwLKBmcexi+y/MAawWqqExB2ymEDbdyvEXxO8qEnR7q5LIeTFHiXb4yYxrFs1s/gg2YdPhO+2KeH/AeFWoSiOjh8YMcrdASh2Wtwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fx4sop51; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Fx4sop51" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2CB7C4CEED; Thu, 24 Jul 2025 19:07:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753384038; bh=DEiFX8FB3LKf0M9vGnnHfNdLbXupaWb2eFDOBVfg9EM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fx4sop51ufSjQxFoy6F9MFFwrxJrYGqj+RaQgQYrq2jpdwgmJPt1lOHGuFJWWOgyF A+Qo/dezHUo5KuTC0Zav8uJ+C88HdcovqWQvX/P64eFOdcrt2U2jnsyH9nOr2uQFMU lV+0G0h59RRPnpsPdHRLvzt5NFwK/NGWrmfXoySU= Date: Thu, 24 Jul 2025 15:07:17 -0400 From: Konstantin Ryabitsev To: linux@treblig.org Cc: corbet@lwn.net, workflows@vger.kernel.org, kees@kernel.org, josh@joshtriplett.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] docs: submitting-patches: (AI?) Tool disclosure tag Message-ID: <20250724-alluring-fuzzy-tanuki-6e8282@lemur> References: <20250724175439.76962-1-linux@treblig.org> Precedence: bulk X-Mailing-List: workflows@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250724175439.76962-1-linux@treblig.org> On Thu, Jul 24, 2025 at 06:54:39PM +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > It seems right to require that code which is automatically > generated is disclosed in the commit message. I'm not sure that's the case. There is a lot of automatically generated content being added to the kernel all the time -- such as auto-formatted code, documentation, and unit tests generated by non-AI tooling. We've not required indicating this usage before, so I'm not sure it makes sense to start doing it now. Furthermore, merely indicating the tool doesn't really say anything about how it was used (e.g. what version, what prompt, what context, etc.) If anything, this information needs to live in the cover letter of the submission. I would suggest we investigate encouraging contributors to disclose this there, e.g.: | --- | This patch series was partially generated with "InsensitiveClod o4 Hokus" | and then heavily modified to remove the parts where it went completely off | the deep end. I am also not opposed to having a more standard cover letter footer that would allow an easier way to query this information via public-inbox services, e.g.: | generated-by: insensitive clod o4 hokus However, I don't really think this belongs in the commit trailers. -K