Skip to content

Should you refuse code written by an AI?

Around twenty free software projects, including the Gentoo system, the QEMU emulator and the Zig language, now ban contributions produced by AI. Simple suspicion, nostalgia for hand-made work, or a clear-eyed response to an avalanche of code that nobody has time to review? What this refusal reveals, in the light of a precedent 150 years old.

Advertisement

Fyrox is a video game engine. On its contribution page, its creators present it as "handmade". AI-generated code, they warn, has "no place" there. Submissions suspected of having been written by a machine will be rejected.

Fyrox is not alone. A website now lists around twenty free software projects that ban AI-produced contributions: the Gentoo Linux distribution, the QEMU emulator, the Zig programming language, the Servo web engine, the Redox OS system and the photo software immich. At a time when coding assistants write a growing share of the world's programs, these projects have chosen to say no. Why?

What these rules say

ProjectWhat its rule says
QEMU, emulatorReject any contribution believed to contain or derive from AI-generated content
Servo, web engineContributions must not contain content generated by language models or other probabilistic tools
Veloren, video gameAny AI-generated content is presumed "contaminated" and must not be integrated
Fyrox, game engineA "handmade" project, where generated code has no place

Three reasons to say no

The law. In many projects, each contributor must certify that they have the right to submit their code under the software's licence. With AI, the question becomes thorny. The legal status of text produced by a model remains uncertain, and an assistant may unknowingly reproduce protected code fragments. How do you certify the origin of code you did not write?

Review. This is probably the most concrete reason. As a QEMU developer puts it, AI lowers the cost of producing a change, but not the cost of reviewing it. The volunteers who maintain these projects are seeing more submissions arrive, sometimes written by people who do not understand them themselves. Yet each one must be read, tested and discussed.

Identity. For some, the question is also cultural. Free software is a community where people learn, where know-how is passed on, where each contribution bears someone's mark. Accepting mass-produced code means changing the nature of that community.

A debate that divides even the projects saying no

The boundary is not so clear-cut. At QEMU, in fact, a leading developer, Paolo Bonzini, proposed in May to relax the rule. His idea: allow AI help for fixes of fewer than twenty lines, tests or documentation, provided it is declared, and keep the ban for the core of the software. Several colleagues opposed it, particularly for documentation. In August, the discussion had still not been settled, and the idea of a system based on simple declaration, along the lines of the one used by the Rust language, was gaining ground.

This debate shows that the real question may not be "AI or no AI". It is rather: who takes responsibility for a line of code? A contributor who understands and stands behind every line they submit remains a contributor, whatever tool they used. The one who copy-pastes without understanding, by contrast, shifts the burden onto others.

A signature born of a lawsuit ✍️
The certificate of origin that contributors to many free projects sign was created in 2004 for the Linux kernel. The context was tense: the American company SCO Group was then accusing Linux of containing code that belonged to it. To prove the origin of each change, Linus Torvalds asked every contributor to add a signature line certifying that they had the right to submit that code. Twenty years later, it is this same signature that AI is now unsettling.

The William Morris precedent

In the late nineteenth century, in England, the designer and poet William Morris spoke out against the objects mass-produced by the factories of the Victorian era, which he judged ugly and dehumanising. He championed the craftsman's work, the hand-made piece of furniture, the carefully printed wallpaper. His movement, Arts and Crafts, would leave behind a famous line: "Have nothing in your house that you do not know to be useful, or believe to be beautiful."

Morris did not stop industry. His hand-made creations cost so much that only the wealthiest could afford them, a paradox he struggled with. But his standards deeply influenced modern design. Mass production is acceptable, it was eventually conceded, provided quality is not abandoned.

The projects that reject AI may be playing a comparable role. They will not stop the massive arrival of generated code. But they are a reminder that quantity does not replace care, and that software on which millions of people depend deserves to be understood by those who write it. As our article on video game modules produced on an assembly line showed, abundance says nothing about value.

What we take away

Rejecting code written by an AI may seem like a losing battle. But these projects raise a question everyone will have to face: when producing costs almost nothing, who takes the time to check? The free software volunteers, who already give a great deal, cannot absorb everything.

The day may come when a "written by humans" label carries, for code, the same value as "hand-made" for a piece of furniture. Not because the machine necessarily does worse, but because someone, somewhere, will have understood and stood behind every line.

Advertisement