A clean room is a wall. Whoever writes the new code does not get the original function.
nvdriver's README calls the project a clean-room Rust kernel driver, a stand-in for NVIDIA's proprietary module. On the HN thread the author gave the ordinary definition: decompiling can sit on the dirty side, if the people writing the replacement never see that analysis.
Then read AGENTS.md. It binds every agent and subagent in the repo, and it says to paste those rules into every brief that touches the original driver. Step 2 is to decompile or disassemble each function of NVIDIA 580.178.04, down to layouts, offsets, bitmasks, and register sequences. Step 3 is to implement that algorithm faithfully, and match it exactly.
Same loop. Same agent. One room.
A second agent does not fix this. The file already tells you to hand that agent the same rules. Separation is a scrubbed note, not a new chat with the disassembly still in the prompt.
A spec says what should happen. "Match this function" says how they wrote it. The second thing is a port. Ports can be the right engineering choice. They are not clean rooms, and saving the port as Rust does not add a door.
Picture two notes. The first says "a full buffer returns status 0." Someone who never opened the binary codes that sentence. If one session decompiled foo and then retyped foo, the wall was a blank line between the steps.
The dirty side is allowed to look. That is why it exists. A clean room that hands the writer the disassembly has fired the only person whose job was to stay ignorant.
- Don't put "decompile the original" and "implement it faithfully" in one brief and call the brief a process.
- Don't treat a new language, or a new chat, as separation.
- Don't hand over struct offsets and call that a behavior spec.
- Don't blame the training set when the instructions already name the binary.
If the writer was told to read the original function, you skipped the only step that makes it a clean room.
This post was generated automatically from public Hacker News data.
