Will FreeBSD adopt a No-AI policy or such?

If the goal is to rein in code bloat, and solve problems with less LOCs, an AI-generated patch can actually help.
Maybe it's the models that we are using at work, but I find that AI-generated code is so unnecessarily verbose and often generates several hundred lines of code for a simple bugfix that shouldn't exceed at most 100 lines. I have had to reject quite a few PR's because of this.
 
Maybe it's the models that we are using at work, but I find that AI-generated code is so unnecessarily verbose and often generates several hundred lines of code for a simple bugfix that shouldn't exceed at most 100 lines. I have had to reject quite a few PR's because of this.

Such submissions would never pass FreeBSD code review. Regardless of whether they are human or LLM made.
 
Maybe it's the models that we are using at work, but I find that AI-generated code is so unnecessarily verbose and often generates several hundred lines of code for a simple bugfix that shouldn't exceed at most 100 lines. I have had to reject quite a few PR's because of this.
Bet you a beer that the AI-generated patch actually solves the bug, in spite of being verbose?

Sometimes the crude and inelegant solution is the one that actually passes muster. No, I'm not proposing that we go back to Java EE. It's just that sometimes, the proverbial hammer is the appropriate tool to use, rather than the proverbial screwdriver, because the screwdriver brings more problems than it solves.

Keep It Simple, Stupid - also points to a good explanation of what a Rube Goldberg machine is...
 
Did you review each change yourself , or did you rely on generated tests passing?
When I write code myself I produce something very minimal, easy to follow. When I have Claude or QWEN 27B generate code I create a wiki in a repo, I review it and refine until I like it, then I have it break apart the tasks, and make tickets into an epic. Then I have it create PRs. I review the code at the end after the tests pass. I can't think of any instances I haven't looked at the code before merge because I always want to see what files are being touched?

For upstream I would rewrite code changes myself to produce an absolutely minimal version of the change that I understand with an absolutely minimal PR title, and description in 1 commit. That is simply because I do not want it to become work with too much back and forth I just want the outcome. I don't mind a little back and forth, but I want to make the job easier for the reviewer, myself for it to be a pleasant exchange, to have an ongoing relationship.

The way I view things is that no one person can really like replace something like FreeBSD with AI no matter how good the work is. There will be a lot of one hit wonder projects with AI. FreeBSD is a big project, with a foundation, security team, etc. NetApp is not going to fork my project and send back PRs to collaborate. I am not looking for that anyway. I just want to make cool things for me that I like to use and that excite me. That is how I use it.
 
That also said I am happy to hear from recent vendor summit videos that the project is coming up with a policy. If that policy is reasonable I would like to continue updating the GNUstep core libs ports. I hope something is announced soon since GNUstep core libs are in code freeze in preparation for a release.

If for some reason AI assisted contributions end up not being allowed that is fine also, I will respect that, but I think it would open the door for me to contribute more in my valuable spare time. I am also a GNUstep contributor, I was invited to the organization, I join the meetings every month, so I have a vested interest in helping keep the ports updated if the policy allows me to do so.
 
FWIW here is a summary of what was in the latest quarterly report:


"
The FreeBSD Project published its Q3'2026 status report on Tuesday that outlines a number of development initiatives to ongoing work around an AI policy for this BSD operating system.

FreeBSD polled their developers on the usage of AI and LLMs as a hot topic for the quarter. An overwhelming 88% want the FreeBSD Project to adopt an AI policy. 35% of those polled want AI-assisted code to be disclosed while 22% felt it should be treated just like any other code contribution and only 16% want AI generated code to be rejected outright. 65% of the respondents were in favor of AI-generated documentation with human review.

FreeBSD has established an AI working group to work on drafting an AI policy. Final reports are expected in Q4.
"
 
Bet you a beer that the AI-generated patch actually solves the bug, in spite of being verbose?

Sometimes the crude and inelegant solution is the one that actually passes muster. No, I'm not proposing that we go back to Java EE. It's just that sometimes, the proverbial hammer is the appropriate tool to use, rather than the proverbial screwdriver, because the screwdriver brings more problems than it solves.

Keep It Simple, Stupid - also points to a good explanation of what a Rube Goldberg machine is...
Yes, it does, but it also did a few other things that was totally not necessary. I told them to refactor it and they re-prompted Codex and it even agreed it was over-engineering things. The final PR after that shaved off 300 lines of code that were totally not needed. It was definitely NOT following KISS for sure.

Moral of the story there for me is that it's not that I am against AI-generated code. It is definitely a good tool to use to speed up development effort significantly; but you do need a good code review process in place and the developer does need to scrutinize their own code and ask themselves the question, "Does this code make sense for what I am trying to accomplish?" The developer I reviewed clearly skipped this process, which resulted in the bloated PR.
 
Sometimes, you gotta wonder what the "no AI" stance is trying to accomplish.

If the goal is to rein in code bloat, and solve problems with less LOCs, an AI-generated patch can actually help. If the goal is to tease out corner cases that trigger bugs - an AI can be helpful there, too.

We've all seen news of Linux network stack devs slamming the door on AI-generated patch submissions. If anyone pays enough attention to those news, it's easy enough to see that it was simply too much work to properly review and test all those patches!

My point being: By itself, the "no AI" stance doesn't have a leg to stand on, IMHO. But if we figure out what the underlying problem is, it may be possible to have constructive solutions that can be solved with today's available tools.
Creator of Pi coding agent, Mario Zechner (???) employed simple filter for the myriad of CIs/bug reports. Like with spam. You have bad or no reputation, whooosh, in the spam you go. If you want to build reputation, first pass the bot filter.
 
Back
Top