Do the massive amount of vulnerabilities not make you think twice?
At this point, I trust human code less than llm code. Design and architecture of the code still greatly benefit from a good human touch, but I'm not sure how long that will remain true.
So validate with an llm and humans. People committing code they haven't read - which will inevitability happen - is dangerous and hard to remotely verify.
In the end there is always a separate reviewer. Even if the producer is adversial and not even looking at the code then this process exists to catch it. This is not at all different from people attempting to get backdoors into Linux.
People using LLMs put up much larger changes, and much faster. Depending on the LLM used the quality is often much lower.
A lot of projects just stopped accepting any outside contributions rather than deal with the tidal wave of slop they were getting. Choosing to not accept LLM code is IMHO a better compromise.
LLMs will introduce new vulnerabilities. What Linux should have done is stop using non-standard C, or better, stop using C completely in favor of Rust, support code analysers.
And humans can introduce new vulnerabilities, too. Linux maintainers accept patches from random people over the internet. They already have to just the patch on its technical merit, not on who submitted it. For them I don't think it makes a difference (technically) if the patch was written with the help of an AI.
I believe that there may be valid reasons to refuse anything that was touched by an AI, but that's not about security. It's more about the non-technical problems coming from AI (centralising power, increasing inequalities, carbon footprint, ...).
Some people will always disagree with something. That's what's great about free software. There will probably be some Luddite anti AI Linux fork at some point.
That's not what they meant. It's AI friendly, not slop-friendly.
There's a reason no Omarchy patch of any kind has made it to the kernel list yet. I did personally look into some of their code and it is certified, hacked-togeter slop.
Exactly. As an example, read that Gravity Linux guy's responses here. I will never ever trust him. I will stay away from his code as far as possible. Asahi team: I have my trust in you.
I'm pretty sure Asahi devs experiment with LLM tools, but not to Omarchy's extent. LLM ban is purely a filtration filter, so that they wouldn't be spending time overbearingly exhausting number of patches generated with AI, and not someone who cares about this than a shiny tool.
Everyone understands that LLM is a mean to an end, but it's clear that Omarchy got two confused and it's showing.
* Author posts patch with a manageable number of lines so maintainer doesn't gets burned out reviewing it.
* Tries to outline on the body what the patch is about and his rationale for the design decisions on the code.
* Promptly answers any maintaners questions about the line changes.
* Discloses which AI model he used to assist on the patch and how was it used.
AI slop patch:
* Submits patch with huge lines of code without explanation.
* The body is written in a self-patronizing tone with superfluous formatting that helps nothing but annoys who is looking for the actual substance of patch
* When questioned by maintainer about some line changes either goes radio silent or reply with the usual AI tone of marketin salesman.
It's just matter of ethics for me. You should be honest to the reviewer that you didn't write it entirely by yourself(100% your authorship) but a chunk of it was done by AI agents.
I also agree with that definition. But for example if I get an LLM to generate 95% of a program, but I understand and have read every line of code, is it still slop?
As an open source maintainer, when someone opens a PR, I don't know who they are. But I don't really care. I care about the PR: is it a "good" PR (there are multiple dimensions: is it understandable, does it add maintainable code, was it tested, etc) or not?
I think "AI-friendly" says "I don't care if it's written with an AI or not: I want good quality PRs".
I would think that "slop-friendly" is the kind of projects where the maintainers don't read the code. Maybe they try the feature (maybe not even?). I think the Omarchy guy was explaining somewhere that he does not read the code anymore, he just lets his AI write Rust. This is slop-friendly IMO.
If you are not AI-friendly, it means that you refuse to accept a good PR even if you cannot tell that an AI was involved. The mere fact that an AI was involved disqualifies the PR.
Are you one-shotting then reading/understanding? Then probably slop.
Are you iterating to help you understand, prompting to rename/restructure/document until you would have been able to easily understand without AI? Then probably not slop.