Rules for AI coding assistants working with the Linux kernel codebase

2 amram_art 3 7/26/2025, 2:52:34 PM lore.kernel.org ↗

Comments (3)

johndoe0815 · 5h ago
The NetBSD developers have a significantly more sane approach.

“Code generated by a large language model or similar technology, such as GitHub/Microsoft's Copilot, OpenAI's ChatGPT, or Facebook/Meta's Code Llama, is presumed to be tainted code, and must not be committed without prior written approval by core.”

https://www.netbsd.org/developers/commit-guidelines.html

gm678 · 5h ago
> files for various AI coding assistants (Claude, GitHub Copilot, Cursor, Codeium, Continue, Windsurf, and Aider). These are all symlinked to a central documentation file

I really hope some standard emerges soon, because we've also checked in several symlinks at work depending on different people's preferences (plus I create a local one when I test a new tool) and it's a little frustrating they can't play nicely together.