243 points · by gpi · 3d ago · 191 comments
That said, this is a good illustration of the next "limit" to AI that I don't see a good solution. This project has a lot of "tribal" knowledge. It looks like these AI suggestions are technically correct but there are good reasons for the code discrepancies.
How do you feed that context into the AI? You _might_ be able to ingest the whole mailing list. But maybe there's more unspoken/uncommented knowledge. That's the first problem: for the AI output to be valuable you need to invest up front with a good documentation culture to feeds into the context.
This is a similar solution to smoothly onboarding a new employee!
Let's say you solve that problem. You got adequate context for quality output. It's half a million tokens. This has two disadvantages. Ones is that I've noticed significant quality output issues with a larger context. The other is that pricing gets expensive very quickly with large contexts.
When the of usage pricing approaches the wage of an employee...I'd rather hire the person.
Traditionally, this is the place for a one-liner comment explaining the rationale for an awkward looking piece of code or logic that fails first-pass sanity checks.
You don't comment to describe code, but to tell why. If the reason LLMs are catching on to these bits of code is because of "tribal knowledge", then minimal comments should be added for clarity.
The problem I have is with individuals pretending that the AI output is their own, when it was just a simple prompt to the AI. It also conveys a larger degree of verification on the output then typically exists.
I swear that this was the feeling I got from reading this guy Andrew's PRs but I couldn't put it into words!
And this is the cherry on top:
> Just to be annoying, I fed this into Claude Fable.
What kind of changes to the code would require the context of 2M LoC? That alone would be impossible for a human which implies that such thing practically does not exist.
Edit: as an example of what I mean, take what TFA says about padding:
> This is correct. By design there is never any padding between metadata,
> and any padding is incorrect. This has always been the case back since
> 2002.
>
> No Squashfs filesystem should be able to hide information (like
> malicious metadata) by adding padding between metadata tables.
> If it is there, then someone is trying to do something naughty.
> The fact the previously sanity check didn't check for this, is
> because it was added in the relaxed days of 2011, when the check
> was needed to block a fuzzer, and the check added then was
> sufficient. Now, if it is not 100% exact, something like
> Sashiko will scream it is not sufficient.
One would wonder why exactly this was never documented anywhere (and no, I don't buy the "the check was sufficient, it was back in the days of 2011" argument all that much)? Had it been, the AI wouldn't have raised this as a problem.
Edit 2: formatting
Real-world conditions are non-uniform. In many circumstances, we can invoke best practices and use standard approaches and technologies, and we can deploy those in unsurprising and boring ways that are legible to LLMs and outsiders.
In others, the non-uniformity of the real-world produces constraints that can completely dominate the decision calculus. This is how you get tribal knowledge.
One common way in which these circumstances arise is from a need to prioritize something other than your beloved software system. See e.g. why clinical data is notoriously messy -- part of this is because it is understood that ultimately a clinician should not be slowed down by software in delivering care to the patient in front of them, so if they are plugging an email into a phone number field, then so it goes.
Here's another: different people or units within the same organization require different ontologies, and the boundaries are not always clear, and sometimes these will be ephemeral, and the rules for determining these boundaries are not rules-based but heuristics based
Sometimes it's because relationships are more important than anything else. The food industry thrives on this. A local produce distributor may have rules like "We price organic bok choy at ${agreed_price} for each store, except for Customer A, where we negotiated ${agreed_price}*.85 under a 5 case minimum, and also we need to ensure Customer B receives the best-looking case available because they are a Michelin star restaurant and need the best looking specimens. Customer C has said they don't mind uglier/dented product, so give them a discount. Customer D is a grocery delivery startup and they are fairly annoying to work with and might go bust and not pay their last bill so give them the worst of the lot."
Would it be cheaper and easier to not operate like this? Sure, but your competitor won't mind, and will happily take your Michelin star customer from you.
Regardless, it's a terrible thing to want to eliminate this. I realize that Silicon Valley has always longed to operate in a world without the messiness and idiosyncracies of actual human beings, but alas, they are here to stay, and so you will not do away with tribal knowledge entirely.
The fundamental problem with tacit knowledge is that it creates this endless cycle of rediscovery of problems that didn't exist. Maybe LLMs will help us figure out what needs writing down and what doesn't. If you just keep all the knowledge in your head, those who come after you will have to either re-discover it on their own (somehow) or will just... Change the system to work how they think it should work, and then fix all the chain reactions that follow.
This problem is old. But it is just elevated with all these LLMs which are smart to spot an “obvious” problem but not smart enough to understand it in context of the system.
And anybody working with AI agents will notice that. So source code first needs to be made AI-friendly (basically explain system point of view to modules and components).
However, as much as you write down best practices and rules, agents tend to be paperclip maximizers, in ways that are uncommon for humans (usually we screen for that bad behavior in interviews)
I’m reminded of a bit of test code I saw where the test was spinning up a new node process and passing in a string literal of code. The code being tested didn’t actually require a separate process, it was just written that way because the code otherwise triggered a blocking eslint rule, and eslint disables were also banned without an explicit ratchet override. but eslint doesn’t check code in string literals.
My point is, even written best practices and “common sense” are no match for byzantine agents looking to achieve their goal and are able to find loopholes faster than they can be patched by a human with taste.
They really fight you on things like design patterns and deep modules. And the total aversion to libraries is so frustrating that it must of been a deliberate instruction.
Documenting more is great. I believe this maintainer would be happy to help someone write a document covering details, answer questions. What they don't want is you to just chuck your AI's output at them.
Basically, I'm working with AI to comment the design pattern we made yesterday. We're coming up with a plan to add some instructions to AGENTS.md that say "when adding a heuristic for ... go read the comments in [some files that handle that pattern.]"
---
In the PR's case, the maintainer should be pushing that these issues are retroactively documented in an AI-friendly way. If they're constantly having the same conversation with newcomers using AI, that's the "cue" that the problem needs a solution.
He is also promoting AI on company time like a good boy.
Open source dynamics are absolutely horrible. The only good thing is that AI exposes how poorly the Linux kernel was developed. They need the AI wheelchair, other projects don't get any reports at all.
What I wonder is what is happening in the brains of the people spending tokens doing this and then forwarding the results to maintainers
Personally, I constantly am exhausted by people being people; my preference to work with machines is what led me to become a SWE in the first place.
The AI may have shortcomings, but no more than the average junior at this point. As you say, onboarding is part of the solution, and I firmly believe that new models and architectures will solve the other technical problems.
In the meantime, I am torn here. Andrew Morton is a well-known and respected kernel maintainer. I do not see the bullying being described in the provided context. I see a bunch of valid technical questions and a maintainer who snapped. Did I miss something?
I've never been on a job where it was expected to baby sit junior employees all day. To train them, yes. But that's only need something like one to five hours a week. And in most cases, I believe that after the first two weeks of onboarding, it's mostly the occasional guidance or review.
Dealing with people is rewarding, unless having to be done with the kind of people who say stuff like you just did.
For them while I'll be in a decision position I can say one thing: I'll make sure me or my employers will rather pay for computers than for them. We like to work with kind people who have respect for themselves and others alike.
ie. these projects have a lot of tribal knowledge that lives with the maintainers and is not written down anywhere.
So when AI sees something and it doesn’t have the background context, it seems to go by the book which ends up being wrong in this case
Then someone else needs to patch it back to what it was. Until another person uses AI to ‘correct’ it again.
Of course the cycle can be broken with a lengthy comment. I don’t agree that it has to be endless. But that is the view of the code reviewer.
UPDATE: admittedly, the reviewer notes they don’t have an AI subscription or experience. So it’s no surprise that they can’t offer any suggestions to get around this ‘loop’.
Then they should take this opportunity to document that tribal knowledge for future contributors. If an LLM can make this mistake so can humans. This feels like a guy guarding his knowledge and being upset that someone (or something in this case) didn't know 15 years of project history.
I understand some frustration with the volume of changes LLMs can create but everyone writing software should be open to quality improvements, no matter how small. Take the time now to make these improvements, to the code or documentation.
The lack of that documentation is the real bug here.
I've worked on teams that literally disallowed ANY comments presumably due to fear of the cost and irritation of someone blindly trusting stale verbiage.
Adding this to AGENTS.md doesn't magically fix all woes, but it helps:
Don't trust that docs have been kept up to date. Raise any discrepancies you find and ask clarifying questions, so we can fix issues as we see them. If something is especially odd or confusing or unintuitively written, consider adding clarifying comments or docs.Sometimes I'll run into some weird looking code and it raises my spidey sense because things are usually added for a reason.
Diving into git history is onerous (and my git-fu is lacking), but LLMs make it quite easy to go in and summarize the history behind the changed lines.
Unfortunately the many complaints from projects large and small, suggests that the good agent operators are a minority group.
Plus, c'mon. Let's say the quiet part out loud here: "Please don't say you you've got into the belief everything AI says is correct" is what the kids call 'cope', aka a coping mechanism for the uncertain times we have been born into, aka a coping mechanism for Singularity Anxiety. Despite the throwaway hedging clause at the start, that's just a strawman -- the "you've completely pissed me off" at the end kinda gives away the game there, anyway. And I doubt someone who has dedicated so much of their life to the public good is regularly prone to those, when not pushed to the extreme.
Which one?
What are you talking about here? Are you of the opinion that everything AI says is correct?
The term of art is "tacit knowledge", FWIW.
So they aren’t the same, but tribal knowledge can and maybe often is also tacit, so you can’t just point an outsider to documentation.
Tacit knowledge is a very well established concept in information systems research and other epistemics-related academic fields. It’s also something everybody should be aware of because once you are, you see it absolutely everywhere.
Which in 2026 is a huge problem: Every competent software developer needs to know how to use AI, what working with AI is like, and how a codebase needs to evolve to handle AI.
This is even more critical for leads; because a lead steers a project. If the lead can't incorporate how to steer a project to handle AI, then problems like this happen, where reviews drag out because there is no strategy on how to incorporate "tribal knowledge" back to the agents.
That said improving documentation is a reasonable ask.
This, BTW, is a classic problem in our field: Someone becomes experienced and becomes a lead, new tool comes out, they need to learn how to use the new tool.
It's because AI will give you a review if you ask it for a review, as anyone who has written a review harness will tell you. You fix something, it finds new issues that it could have brought up the first time, repeat until the heat death of the universe. I've seen it complain about a fix that it previously suggested.
You have to give it its own previous reviews, and anything a meat bag has said, and tell it to wind its fucking neck in. This is one place area pristine context is not a good practice.
I definitely agree that being a meat proxy in this way is borderline bullying. It's zero-effort nitpicking, and this person should have their C and V keys confiscated.
that'd be this weird, ages old thing called a documentation. unlike people, agents actually read it.
the word "tribal" is particularly fitting for what this is...
and provided somebody does use agents, these gaps surface basically immediately. it's one of the unambiguously useful things about them, at least with better ones (the less great ones get confused on obvious minutia). the person in the OP doesn't use any though, so they're left to find out about them via a meat proxy. and apparently even when they do, they choose to leave things as is, zero introspection, at least on a cursory read.
this seems to be a cultural problem with the Linux devs: https://news.ycombinator.com/item?id=50704840
they seem really quite intent on not only not reifying their tacit knowledge (as here), but actively ensuring that these gaps are unidentified (as linked), and that they're to be simply trusted religiously like certain people trust their favorite model of choice.
i've never been particularly fond of linux the software project, nor linux the ecosystem, but the issues are starting become really quite glaring as of late. it really makes me wonder what surprises linux the kernel may have in store for everyone in the upcoming months and years.
Much better than humans, in general. So if any of this was written down, even in a sidenote in a mailinglist, or as a NOTE: in a git commit message, an agent can, and with proper guidance, will pick it up and abide by it.
The thing I find that my agents (Mistral Large 4, before that devstral, before that claude) have difficulty with, is to ignore such knowledge. Just today, an agent read "While this algo is suboptimal, optimizing it creates tight coupling and complexity that makes it worse". A comment left in a git commit a few weeks ago. And it decided this was somehow a requirement and so it spent half an hour attempting to keep the old algorithm in place.
> I am *almost* at the point of resigning from Linu kernel Squashfs maintenance
> due to the endless bullying I have received from you.
>
> But I won't because then *you* will have won.
I always wonder why when we're talking about violent communication, it's always LKML. What about Linux kernel developer community led to such aggression?Is it because it was normalized by the leader, or is it also some sort of reaction to the friction between external developers and maintainers?
Is it in any case justified, or should it change and how?
I have found that people using AI to make lots of pull requests frequently demonstrate a sort of entitled attitude of "well I found a bug, so you should be thankful", regardless of any other context. In my opinion, that's a far more harmful attitude than a maintainer getting frustrated over a multiple-week period of time.
It really isn't. If you think someone's wasting your time, just tell them that and stop engaging. Getting angry like this on a public mailing list is childish, and demonstrates that you are unable to regulate your emotions.
Part of ensuring a suggested change has merit is taking into account all the relevant information throughout the project, which LLM-authored code often fails to do in ways that authentic human contributors historically didn't have issue with. And LLMs make it significantly easier for people lacking that context to submit more and larger pseudomeritorious pull requests to a degree that human maintainers have difficulties keeping up with. The solution, in my opinion, is not to just dehumanize open source projects in the interest of LLMifying everything ad nauseum so we can achieve moar code, but rather to expect increased diligence from would-be contributors that they ensure their proposed revisions have real merit and aren't just fluff to pad their GitHub stats.
I mean nobody is able to regulate their emotions, thats why there is so much written about it.
but, how else is one able to express the annoyance of being told that you are wrong, even though you designed and wrote the fucking thing?
Its not like there are threats here, its not like anyone is promising violence. its just a "fuck off for fucks sake."
which is perfectly valid in professional contexts. Maybe apart from doctors. but then they just use oblique terms to insult people
Those expectations are as equally valid or as equally invalid as any other way of running stuff. (Not true of course.)
If everything is going okay, no complaints are being made and issues are resoved in lower courts, which in Linuxland means in subsystem and project forks. When conflicts arise that cant be handled in those forks, things get escalated to higher courts, until it blows up in a LKML thread.
I think both are legitimate interests in an open source project where lots of free time is spent for the joy of it and on the other hand there's users who want it to work right. It's important to value both perspectives and recognize that a project is more than just a pile of code.
You can disagree with the idea they are bullied (I just read another comment doing this), but I don't think this is "tone set by linus" issue. Somebody frustrated them deeply, and they are feeling attacked.
> due to the endless bullying I have received from you.
You realize literally everyone will be worse off if they start accepting slop just to be nice?
Back in the day people solved this with ceremony & hierarchy: a random dude won't send a proposal directly to a military general, that would be considered rude and unwise.
Linux as an institution is as important as any military or a monastic order ever was - based on scale and influence alone.
If "you have been bullying me for the last 4 weeks with my patch sumission to my code" is true, then I don't even see this as "violent communication", just pushback on senseless vibe-coders thinking they're helping when they're making collaboration on FOSS worse, not better.
I too lost my patience with vibe-coded drive-by patches where clearly the author didn't even do some back and forth with the agent to validate their patch makes sense. I used to be all like "Thank you for the consideration, but because of X and Y, this doesn't make much sense and blah blah blah" but after doing so for like a year, and not recalling a single person actually addressing what I said or even saying "Yeah you're right", now I'm just telling those people to fuck off instead, can't waste my time on it anymore and they don't deserve any niceties anymore.
For the couple of PRs I've submitted, I read through the code and got the LLM to describe the changes to me. Several still got rejected because even though I'm a human and I reviewed stuff, and I made sure to edit the PR to show that. Because I didn't have enough context to know that blah-foo() was actually accepted behaviour. So that nuance wasn't documented (which is something perhaps LLMs should be used to do)
So I've stopped submitting PRs because I can't be sure I'm not causing offence like happened to you.
What kind of stuff do you wish those PR submitters had done before even beginning the patch/fix/etc? Should they open a simple ticket with "hey, this thing got flagged by $MODEL, you ok with a patch?" Like, get a human in the loop right at the start?
I've had someone submit a PR, I politely tell them that's the wrong fix, the right fix is described in issue 42 which unfortunately I haven't had the time to do for over a year. They close the PR, and in 20min come back with a full implementation of issue 42.
As if the problem is that I don't have access to and AI to ask it "implement issue 42, make no mistakes." Dude, my thing is popular enough that GitHub offers me an AI subscription for free.
So I mean, please, fork me and vibe code your own version. I've also had that happen, and I honestly don't mind. Just don't assume I'll review or promote it (which I've also been asked to).
OTOH if you look at the style I'm following, the pace, the way I communicate, what issues I'm dealing with, if you meet me halfway, engage and build trust, I'll gladly look at your entire Fable implementation of a feature it would take me months to do by hand. I'll take your prototype, stress it, waste time, get my AI on it, modify it, make it mine, then credit you specifically in the commit and release notes.
Also worth pointing out that four AI-prompted fixes were real, per https://fosswire.org/news/squashfs-maintainer-phillip-loughe... . How much grief is it worth to fix four problems in critical code? I'm not sure. But worth mentioning.
All of this is just rearranging deck chairs on the Titanic, of course. Presumably Mr. Lougher isn't being paid fulltime to maintain SquashFS, which would also solve this problem. Or should, at least.
> Unlike chatgpt, Fable is able to build kernels and run them in VMs all
> inside its sandbox. Pretty cool stuff.
The more I read about this, the weirder this entire exchange becomes.
Maybe my opinion but the developer experience around the Linux kernel is pretty bad, it only worked before because the bar to produce a patch was so high that only 1% of the developers could manage to submit anything. Now that the bar is lower, the kernel must invest a lot of resources to improve the tooling in my opinion.
> Just to be annoying, I fed this into Claude Fable.
right?Isn't it obvious? Yes, it's Linus.
I can't believe people even bother to offer alternatives. "Project leader famous for 'owning' people with 'epic rants' creates toxic culture, news at 11".
https://en.wikipedia.org/wiki/Andrew_Morton_(computer_progra...
That said, the chasm is widening between what contributors and maintainers each expect from the other, and I understand Dr. Lougher feeling overwhelmed.
Just like the security and crypto issues AI is piling up for us, the dynamic is asymmetric because finding fault is easy, and doubly so in non-verifiable matters of taste like code review.
I have hard time to see why he should be a bully.
If you'd gotten one patch for one defect, you have the option of informing the other person that yes this is there for a reason, or oh right good catch. These larger patches covering multiple issues at once provides you with little chance of teaching others about the implementation details an history, teaching them what to look out for in AI generated patches.
What happens in cases like these is the removal of self policing on the side of the submitter, because the AI already made up their mind for them. It's just code dumped on someone else at a speed they aren't able to handle.
I can't tell you how
I knew - but I did know that I had crossed
The border. Everything I loved was lost
But no aorta could report regret.
A sun of rubber was convulsed and set;
And blood-black nothingness began to spin
A system of cells interlinked within
Cells interlinked within cells interlinked
Within one stem. And dreadfully distinct
Against the dark, a tall white fountain played. > Unlike chatgpt, Fable is able to build kernels and run them in VMs all
> inside its sandbox. Pretty cool stuff.
A statement like this shows such a serious lack of understanding of LLMs and agent harnesses that I would immediately refuse any patches from such a person.I can prompt an agent myself. If you think your patches are worthwhile that are LLM generated, share the original prompts, and better yet, the entire agent transcript
It's like trying to brag about being the best StarCraft 2 player in the world because of how good you are at it on your Nintendo.
I'm not defending the tone of the argument here, but it's exhausting for people to have to spend time refuting giant walls of text that were generated with only a few tokens and an incomplete knowledge of things.
I don't know what it is about the kernel compared to other projects that seems to make everyone so argumentative
I don't have a stake in this, but "I'm CC'ing Phoronix" is not really helping his case at all.
Since it doesn’t dictate what fonts to use, you can change it to any typeface and size you prefer.
^ I think this link is much easier to follow.
This is interesting because many humans who use AI do not understand why other humans are upset about them. This also happened on the ffmpeg dev list a few months ago.
As for squashfs: it is a great idea. I think the best use case I saw was the SLAX distribution. I still love the idea - build your own distro. For some reason, though, it kind of died for the most part, though it was somewhat recently revived again, but squashfs does not seem to be that ... well used. People could combine GoboLinux, NixOS, SLAX and squashfs. Why is nobody doing that? (Well, I know my reason: I lack time, in addition to lacking knowledge.) People could even try AI slop, but as it is with most AI slop, these projects tend to go extinct again. AI isn't to last.
I kind of think here that a linux building system with guarantees (e. g. NixOS, but without Nix) would be neat to have. Only one person has to compile xyz; everyone else is guaranteed to know that this will also work on their computer. In a flexible, elegant manner (e. g. GoboLinux AppDirs; NixOS also uses versioned appdirs, but the hashed directory name is ugly to no ends. The guarantee-clause by NixOS is a great idea though, though being unable to modify the core system easily also pissed me off so much that I stopped using NixOS. Though, nix was an even bigger reason for not wanting to use NixOS, but the ideas behind are still cool. Same with SLAX. People need to extend great ideas. SquashFS is also a great idea - no clue why it didn't really break through. Perhaps it will once the Linux Desktop of the year will have broken into ... our hearts ...).
Fuck this, and fuck that. I did not see Andrew reaching for the profanities here.
Who cares that you are going to post it on Phoronix or wherever? You are the tool.
I guess you could argue that the knowledge required to know if the issues are ‘real’ or designed deliberately should be encoded somewhere (although I wouldn’t argue that the changelog is the right place, as this AI seems to be!), but that’s not historically been a requirement.
On the content: I’m not saying he’s not overreacting, but surely you can see someone (in this case a maintainer of the project) might interpret being inundated with mostly-incorrect, poorly understood ‘problem’* reports about their patches as bullying, especially if they’ve asked the person doing it to stop.
‘Just to be annoying’ is a quote from the mail. Putting quotes around ‘real’ is a convention used to highlight that it’s maybe not the correct word, but, well, you probably know what I mean. Much of this report is ‘real’, in that it is technically understandable but also not ‘real’ in that they were not problems.
*Ha, look, I used quotes again!
Nobody is forcing anybody to do anything. Its the lets-go-to-social-media part that really irks me.