The first major licensing war between a human maintainer and an AI rewrite just went public, and the stakes are bigger than one Python library.

The Signal

Dan Blanchard just released chardet 7.0.0, a character encoding detection library used across thousands of Python projects. He rewrote it from scratch using AI coding agents and relicensed it from LGPL to MIT, the permissive license that tech companies prefer. Same package name, same API, drop-in replacement. Then Mark Pilgrim, the original author who disappeared from public internet life in 2011, emerged from 15 years of silence to file issue #327: "No right to relicense this project."

This is the clean room defense meeting real-world open source governance. Blanchard's position seems to be that an AI-generated rewrite constitutes new code, not derivative work, so he can license it however he wants. Pilgrim's position is that maintaining a project under LGPL for 14 years creates obligations that don't vanish because you used Claude or GPT-4 to rewrite every line.

The legal theory is untested. Copyright cares about expression, not ideas. If the AI studied LGPL code to learn what chardet does, then generated new expressions of the same functionality, is that derivative? Courts haven't ruled. But the practical implications are immediate. Every major open source project with a restrictive license now faces a question: can a maintainer use coding agents to "clean room" their way to a more permissive license? If yes, we just created an escape hatch from every copyleft license ever written. If no, we just made AI coding agents legally radioactive for open source work.

The Implication

Watch how the Python Software Foundation and major projects with LGPL/GPL codebases respond. If Blanchard's move stands, expect a wave of AI rewrites targeting restrictive licenses. If it doesn't, expect new governance rules about AI-generated contributions. Either way, the legal fiction that AI code generation is "clean" just got its first real test. The agent economy is colliding with 40 years of open source norms, and there's no precedent to guide this.


Source: Daring Fireball