Remix.run Logo
▲ sheepscreek 5 hours ago

For everyone’s reference, the endless cycle being referred to is with AI reviews.

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’.

▲jascha_eng 4 hours ago | parent | next [-]

A good agent and operator would check past patches for feedback and reasoning like this. I mean once it has been put to writing once the error does not have to be made again.

▲julianlam 3 hours ago | parent | next [-]

You're absolutely right! (ha!)

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.

▲dspillett 2 hours ago | parent | prev | next [-]

> A good agent and operator would check past

Unfortunately the many complaints from projects large and small, suggests that the good agent operators are a minority group.

▲bbor 4 hours ago | parent | prev [-]

Which is why I'm siding with Linux kernel veteran, personally. In terms of fatal issues for critical OSS, "[it can] find fault in everything" is a very solvable and benign one.

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.

▲kasabali 3 hours ago | parent | next [-]

> Which is why I'm siding with Linux kernel veteran

Which one?

▲bbor 3 hours ago | parent [-]

Both of these people are extremely gifted engineers who have altruistically dedicated their lives to the public good. But one of them is associated with Linux as a project, while the other is associated with a system (...protocol, kinda?) that was so useful and popular that parts of it were spun off into kernel space.

But you're right in that I was a little unfair, I grant you that. I wasn't being careful. They are both clearly 'veterans' in a sense, and both know a lot about Linux, I'm sure.

▲mort96 3 hours ago | parent | prev | next [-]

> 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.

What are you talking about here? Are you of the opinion that everything AI says is correct?

▲voakbasda 3 hours ago | parent [-]

Andrew Morton is an established senior kernel maintainer. I am fairly certain he vetted the AI output before sending his patch series. I also tend to side with him until I see further evidence.

The cope is believing that others think AI knows all, further presuming that anyone who uses it must have drank the Flavoraid. And that stems directly from not being able to cope with the terrifying possibility that the Singularity might be approaching.

Not sure that’s what has happened here, but it seems to be a fairly common reaction in these circumstances.

▲fwlr 2 hours ago | parent [-]

Well, the other guy is the author and maintainer of the project.

This feels like that Navy joke. “I am an Admiral in command of a battleship and I am giving you a direct order, change your course to avoid collision” “I am a junior officer in command of a lighthouse, I suggest you change yours”

▲ 3 hours ago | parent | prev | next [-]
[deleted]
▲keybored 3 hours ago | parent | prev [-]

On a forum where people range in beliefs from atheism to tomorrow-machine gods, I’m completely stumped as to the obvious point that you’re making.

▲driverdan 4 hours ago | parent | prev | next [-]

> these projects have a lot of tribal knowledge that lives with the maintainers and is not written down anywhere.

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.

▲voakbasda 3 hours ago | parent [-]

Yes, this problem was entirely avoidable by ensuring documentation gets updated with such knowledge as the code evolves.

The lack of that documentation is the real bug here.

▲mceachen 3 hours ago | parent [-]

I agree, but documentation can both guide and lead astray Engineers of Tomorrow.

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.
▲Sharlin 2 hours ago | parent | prev | next [-]

> these projects have a lot of tribal knowledge that lives with the maintainers and is not written down anywhere.

The term of art is "tacit knowledge", FWIW.

▲opello 43 minutes ago | parent [-]

I think they're both terms, and I hadn't heard tacit until your comment. From what I read tribal is community and/or undocumented knowledge while tacit is personal and difficult to explain. My expectation would be that much of the undocumented details aren't exactly tacit, because they appear as implementation details. That's not to suggest that their being undocumented is good.

▲gwbas1c 3 hours ago | parent | prev | next [-]

[flagged]

▲samudrijan 2 hours ago | parent [-]

Isn’t it AI that needs to evolve to handle the code base?

That said improving documentation is a reasonable ask.

▲trollbridge 5 hours ago | parent | prev | next [-]

There is no reason a reviewer should have to pay for an LLM subscription. Contributing and maintaining open source code does not require paying a tax to A\ or OpenAI.

▲m4rtink 2 hours ago | parent | next [-]

Yeah, that is a significant thing that seems to be ignored - you should not need special services, accounts or subscriptions to contribute to free software projects.

▲SuperV1234 5 hours ago | parent | prev [-]

[flagged]

▲segfaultex 4 hours ago | parent | next [-]

For most decent engineers, it's true that LLM's will increase the quality of output. (for a bad engineer, the blast radius of AI will just make things worse though)

However it is not categorically true that if you care about code quality, you need an LLM.

The best engineer I know doesn't use AI. His code's performance, defect rate, etc. are all well above others I know, and yes, we often run agentic reviews against his PR's. There's almost never any recommended changes.

▲tempfile 5 hours ago | parent | prev | next [-]

I think you have misread "should have to pay" as "should pay". It's a normative statement, not a description of the state of the world.

▲verysmart 4 hours ago | parent | prev | next [-]

This is a purposefully provocative statement because you knew it would draw negative response and you could say "see you guys are luddites".

▲bbor 4 hours ago | parent [-]

If you are provoked by reality, yes it's provocative. Certainly the singularity is a reasonable cause of emotion, we can all agree on that. But it's not rude to simply describe it like you're implying it is.

Maybe put it differently: if you had a bench of a dozen typical senior engineers (with mediocre taste and little long-term vision, admittedly, for now) ready to do literally any task you put them to within seconds and accomplish it at least 10x faster than the median engineer, would that be objectively helpful for improving "the quality of the code you're producing"?

▲verysmart 3 hours ago | parent [-]

There is no singularity. Its literally just a word predictor, matmuls go brr.

Your last sentence reads like llm speak, like I have to read it 3x to understand what you're trying to say. Maybe the singularity just means we become like llms, unable to write a decent sentence.

▲thesuitonym 4 hours ago | parent | prev | next [-]

If you can't produce good code without an LLM, you should probably not be a programmer, and you definitely shouldn't be blasting AI crap that you're clearly incapable of understanding.

If you're a good programmer, AI will only increase the speed at which you write code.

Honestly it's comments like this that make miss the 90s most, before StackOverflow, when you had to actually know what you were doing to succeed in this industry.

▲jamesnorden 4 hours ago | parent | prev [-]

Sounds like a skill issue.

▲ 2 hours ago | parent | prev | next [-]
[deleted]
▲fzeindl 4 hours ago | parent | prev | next [-]

This relates to the principal dichotomy in agentic software development: do you review all changes, which you can’t without burning out, or do you just accept whatever AI ships and cross your fingers it will be right.

▲perching_aix 5 hours ago | parent | prev [-]

> 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’.

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...

▲scheme271 4 hours ago | parent | next [-]

Unfortunately in any community there are tribal knowledge that isn't written down anywhere but rather is picked up through experience. Stuff like this particular design was chosen because this one client occasionally submits parameters that results in bad performance in the prior design or whatever. And although documenting everything would be great, there often isn't enough time to do that and get new work done.

▲berkes 4 hours ago | parent | prev [-]

I was suprised too. AI agents are especially good at reading documentation, threads, git history, mailinglists and so on, and to categorize all that and use it when writing code.

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.