Can coding agents relicense open source through a “clean room” implementation of code?

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

If AI-generated rewrites can legitimately relicense LGPL code, maintainers' copyleft protections and commercial IP alike become enforceable only through litigation, not process.

Read this as

The Python library chardet, originally released under a share-alike license called the LGPL, was rewritten by its maintainer and released as version 7.0.0 under the more permissive MIT license, using the Claude Code AI tool. The original creator, Mark Pilgrim, says this violates the LGPL because the maintainer knew the old code. The maintainer responds that JPlag plagiarism analysis shows only 1.29% similarity to the old code. Whether AI-assisted rewrites count as legally independent works is unresolved.

A chardet maintainer used Claude Code to rewrite the LGPL-licensed library from scratch and shipped it as MIT-licensed version 7.0.0, prompting a relicensing dispute with original creator Mark Pilgrim. JPlag found only 1.29% code similarity versus 80-93% between older releases. Willison expects AI-assisted reimplementation to threaten proprietary IP soon, likely producing well-funded litigation. Companies with valuable codebases face a new, untested legal exposure now that rewrites cost hours instead of months.

Dan Blanchard released chardet 7.0.0 as an MIT-licensed rewrite using a design document generated via the superpowers brainstorming skill, then Claude Code in an empty repository with instructions to avoid LGPL/GPL code; JPlag measured max similarity of 1.29% against 6.x and 0.64% against 1.1. Complications: the plan shows Claude referenced metadata/charsets.py, Blanchard maintained chardet for over a decade, and Claude was likely trained on chardet. Richard Fontana, a GPLv3 author, sees no LGPL violation basis. Blanchard denies it was a traditional clean-room process.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

chardet Claude Code Compaq IBM BIOS JustHTML JPlag

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.