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 3A83F170A26 for ; Wed, 23 Jul 2025 19:19:35 +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=1753298376; cv=none; b=MoLzEm5xO4fhe0DkZvTHK1PnfmwARoJRUaxGb3rJP+EbPvmfqNIrE5BtIU5iTn4jj+R/NabV4nWdH6zFAx36SdwemTaocSk2VPx9sApoUXT09evMYIFuOoogkLkz8f5YSFNzynOd8S2uVnTYZHHGeRTxfoDRaKfHAA+siDCJcqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753298376; c=relaxed/simple; bh=wR+pVdZ+x+kuDBD877apkCFxbU4gdOYXGs+42umOIvo=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Rxg6Na7LXZFKiD6yO/UHPfMKL7juXqxsdzqDcRSe68/sYQ5FCrrbTCSDd2E/pr7vbJ1BIerg+pE4K0/s04To3msCrrG7zBFvtdnQ6v1W4XAPaaaVbuNQPhaVenTp6peV2fDNsWJoEEtb1WwwGU6eN5gN0VS6tNnETX4xI8E06S8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kGXr3YMp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kGXr3YMp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39D06C4CEE7; Wed, 23 Jul 2025 19:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753298375; bh=wR+pVdZ+x+kuDBD877apkCFxbU4gdOYXGs+42umOIvo=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To:From; b=kGXr3YMpeD7Qtts4X1ZHtie6EvBVDIZa+P9Czg4wdz78hOw/7I6+iXf2ZMD3vzflI EzyKMXBAT5GG2hdtMSC8aZIi/vuTGEsbumci/Z6F84b5ZMI2hJKqPxggMCbEPYnlZc s8ieUCmzDVAhMaFJYl3Nb6pUEyelgXGgDEUZDvEyR2OMeMyVFdhlkubJWfCmfW1Gpk TcGfIF+fUFiz/G9uDDiqf3fFRjYnClikdyEZ2Zv6sixalZ9tZPmFxyFuY9KP+w9GHv R64tfOrIQ5PgBSa2Uepzb2hgzzUs1JnLNHBTa7y9xWNpTHSWV19VWUR3g7XYlNBS4k MIHbqiq3ZW2zA== Message-ID: <7751a3cc-5c44-4610-be37-cb79c866103c@kernel.org> Date: Wed, 23 Jul 2025 21:19:31 +0200 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH] docs: declare kdevops a software 3.0 enabler To: Luis Chamberlain , Chuck Lever , Daniel Gomez , Viacheslav Dubeyko , Mel Gorman , Jan Kara , David Bueso , Qazi@infradead.org, Shoaib Asif , "Liam R . Howlett" , Lorenzo Stoakes , Vlastimil Babka , Johannes Weiner , kdevops@lists.linux.dev References: <20250723012150.899773-1-mcgrof@kernel.org> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: <20250723012150.899773-1-mcgrof@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23/07/2025 03.21, Luis Chamberlain wrote: > For a long time we've worked hard to make it easier to extend kdevops > with strict rules and clear declarative language. We've been so strict > on some of these policies I'm quite sure it discouraged some developers. > The projections and hope was that these strict goals would reduce the > barrier to the use of generative AI for extending kdevops. > > Although we've been experimenting with different AI agents on kdevops > for a while now, advanced AI agent tools such as Claude Code bring this > closer to home, enabling prompts to complete about 70-95% of the tasks. > In a short span of about one week we've been able to cut through a huge > back log of work which would have otherwise taken us considerable amount > of time. This, and our automated tests put in place gives us confidence > to declare that the time is here and now and it should be easy for > others to also extend kdevops for their needs with generative AI. > > Extend our documentation with the rationale of the implicit long term > goals we had, make these explicit, and also provide guidance for Claude > Code. We also provide some recent prompt examples and respective commits > merged which should be useful for users wishing to look to extend > kdevops. > > CLAUDE.md [0] is a special file that Claude automatically pulls into > context when starting a conversation. This makes it an ideal place > for documenting: > > - Common commands folks should be aware of that we run > - Core files and utility functions > - Code style guidelines > - Testing instructions > - Repository etiquette (e.g., branch naming, merge vs. rebase, etc.) > - Developer environment setup > - Any unexpected behaviors or warnings particular to the project > - Other information you want Claude to remember > > We extend this to ensure the DCO is respected and also give it > a few prompts examples and target historical commits with respective > grades. > > Also, extend the video documentation links with the recent kdevops talk > in Open Source Summit North America [1] where I mentioned for the first time > publicly that kdevops was Software 3.0 enabler for Linux kernel development. > > Link: https://www.anthropic.com/engineering/claude-code-best-practices # [0] > Link: https://www.youtube.com/watch?v=VF-jr_ZE-9Y&list=PLjaT52x3HVboZtdwZnONSHQHM8217ELcc # [1] > Signed-off-by: Luis Chamberlain Same as Chuck, no objection and no expertise (for now). Acked-by: Daniel Gomez I've also installed Claude Code and checked if the new files were read by the AI and it looks good. It just works out of the box. I've also tested with a few TODOs I had pending to solve from these series [1] and with a few iterations it managed to be successful and very useful [2]. Looking forward to wipe out my kdevops backlog with this Generative AI. Link: https://lore.kernel.org/kdevops/0083fcfe-5c6d-4a9b-8ea6-1fb08a93e23f@kernel.org/T/#t [1] Link: https://github.com/dkruces/kdevops/commits/b4/ansible_cfg_inventory [2] Tested-by: Daniel Gomez