alt.hn

3/5/2026 at 4:54:59 PM

Can coding agents relicense open source through a "clean room" implementation?

https://simonwillison.net/2026/Mar/5/chardet/

by MindGods

3/8/2026 at 8:25:37 AM

> I then started in an empty repository with no access to the old source tree, and explicitly instructed Claude not to base anything on LGPL/GPL-licensed code

Is this the same AI that I see most days get instructions to "not do anything destructive without explicit permission" and then go on and delete production systems?

There is reasonable doubt that it actually limits itself based upon requests.

by happymellon

3/6/2026 at 6:41:27 AM

How is it considered clean room implementation when the model was near certainty trained on the original code base?

by greazy

3/5/2026 at 4:57:13 PM

Related: https://news.ycombinator.com/item?id=47257803

Recent SCOTUS refusal to hear appeal could mean that clean room implementations may not be license-able at all.

If Ai produced content cannot be copyrighted, can it be licensed?

by verdverm

3/9/2026 at 3:11:28 PM

Short answer: yes because it's in the public domain now.

Long answer: well it depends on how much human creative input was required.

by tantalor

3/5/2026 at 8:11:48 PM

The legal intricacies of this are of course interesting and relevant.

But what are the social ramifications if this kind of thing is deemed acceptable? It feels like it would effectively be the end of OSS licensing, because it's pretty straightforward to do this for any project.

Any company that wanted a proprietary copy of a program could in theory follow this same technique, with relative ease. That feels wrong.

So maybe we need to re-think the "copyrightable API" and "clean room" legal concepts. How? I don't know. But a world in which OSS licenses are easily sidestepped feels like the wrong direction.

by lukev

3/6/2026 at 4:36:51 AM

Is everyone here just ignoring the fact that the 12 year maintainer of this project performed the re-write? Companies cannot do this with relative ease unless they hire these OSS maintainers

by JambalayaJimbo

3/6/2026 at 4:57:33 AM

I think that's one of the most important details here.

From a moral perspective Dan wanting to relicense the project carries much more weight give his many years of contribution.

From a practical perspective the reason the rewrite went so well (significant performance boost, virtually no duplicate code) speaks to his skill and experience with the domain.

It's also a cause of friction here, because the fact that he knows the codebase so well makes him less credible as a clean-room implementer - his own biological neural weights are deeply biased by what he's learned from that existing code.

by simonw

3/6/2026 at 10:06:30 AM

He’s not claiming the rewrite is a clean room implementation. In fact he’s explicitly saying it is not:

> However, the purpose of clean-room methodology is to ensure the resulting code is not a derivative work of the original. It is a means to an end, not the end itself. In this case, I can demonstrate that the end result is the same — the new code is structurally independent of the old code — through direct measurement rather than process guarantees alone.

by digitalPhonix

3/6/2026 at 2:55:55 PM

That's a good note, yeah. Dan isn't claiming a pure clean room approach here.

by simonw

3/6/2026 at 3:39:32 AM

If it is straightforward then the project is maybe not that interesting anymore? If an LLM can just write it?

by singpolyma3

3/7/2026 at 6:17:13 AM

no. A clean room implementation requires the programmer to have never seen the original source code. This is never the case with llms

by vrighter