An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.
This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.
If what you are trying to do is make your own program that is a clone (partial or full) of some other program and it is just you, then decompilation is risky because if you write code that is similar to the decompiled code it can be hard to defend against a copyright infringement claim.
The burden of proof will be on them to show you copied, but they only need a "preponderance of the evidence" to meet that burden. That's usually done by showing that the alleged infringer had access to the copyrighted work and made a work that is substantially similar.
If you don't decompile and just implement based on the behavior you observe in their program you are much safer.
If you have more than one person involved and you split the work in a proper clean room fashion, then decompilation can be fine. The people that decompile just use the decompilation to figure out what the program does, write a spec for that behavior, and pass just that spec to the people who implement. Ideally the people who implement should not even have the binary of the original program.
Since the implementers have no access to the copyrighted work they cannot have copied it. If the owners of the original program want to claim copyright infringement they have to go after the people who wrote the spec and that usually will be very difficult since the spec should just be documenting behavior.
And it is demonstrable that an LLM will one day say "I never thought of that" and months later will intuitively know it.
And there have been multiple cases where research thrown through an LLM get scooped by the AI lab, not just navier-stokes.
I do not think there is any reasonable doubt that just about every lab uses chat transcripts to train or finetune.
If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.
That's the opposite of what clean room means, not just a "different view".
It's interesting because it's the largest relevant effort that I'm aware of.
https://reactos.org/intellectual-property-guideline/
https://reactos.org/project-news/reactos-and-tinykrnl-projec...
It surprised me, so I checked. I understood the opposite. From your first link:
…contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.
The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:
Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.
And from your second link:
…due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.
https://en.wikipedia.org/wiki/Chinese_wall#Reverse_engineeri...
https://en.wikipedia.org/wiki/ReactOS#:~:text=In%20a%20state...
So it looks like you're fine as long as one person reverses and other writes code. No idea how it applies when one clanker reverses and other writes, with a person as a middle man.
You are 'dirty' at this point, but then somebody else can come along and produce a 'clean' implementation of the spec.
This sounds like an LLM skill at this point tbh, so you just copy the .md file into the repo, and then 'do the thing, make no mistakes'
"My parents refused to buy me any more Clod tokens unless I cleaned my room."
Either the whole definition of clean-room changed or he just cleaned his room before release... /s
This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...
It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".
I doubt this can be used to circumvent any IP-claim...