@ljs this feels like the Rust on Linux folks were right all along...?
@ljs is this about https://www.phoronix.com/news/Linux-Kernel-AI-Docs-Rules ?
@ljs the bit where folks resigned, because compatibility measures were blocked by non-owning maintainers that had merge access
@ljs Putting aside my general negative thoughts about LLMs, it seems premature to embed this sort of configuration in the kernel. These tools change how they work every couple of months at the minute - it's possible that whatever gets committed will be obsolete very quickly, possibly replaced with something built on Model Context Protocol (MCP), which in turn will probably be obsoleted before the end of the year.
@pbarker indeed. I suppose the argument back would be 'well we can change it then' but I don't like the idea of locking into things like this with the implication that it's ok or this is 'how it's done'.
@pbarker also I think some kind of opt-in by maintainer would have been a good idea.
@corbet sorry what was that you were saying about RFC?
https://lore.kernel.org/all/20250727195802.2222764-1-sashal@kernel.org/
I think my point has been made here...
@vbabka @piggo @ptesarik @corbet to me any series like this is implicitly saying it is fine to use AI tools to write kernel code.
And now you can point automated tools easily at the kernel tree.
Also it is making decisions as to how they are used.
This should very clearly under subsystem maintainer control...
Oh and good luck on relying on any of the rules, see my thread about asking AI about maintainership for a sense of how good this stuff is at even looking up a simple entry in a file
Frankly the way this is being done is ridiculous.
@ljs @vbabka @piggo @ptesarik @corbet "we should start with an AI policy document FIRST." - 100% on the money.
I'm also concerned that, whatever the intention, a CLAUDE.md file in the root of the kernel repo will be interpreted as endorsement of Claude specifically. And then every other LLM vendor will expect their own config file to be added to advertise their agent.