guide · ai

AI-Assisted Clean-Room Rebuilds: A Blank Repo Is Not Proof

Before replacing paid software with an AI-assisted rebuild, check what builders could access, what the replacement can do, and who will keep it running.

November 26, 2026 · By Alastair Fraser

A chrome-domed robot holds a transparent inspection panel as a small operator looks on in a crimson and blue workshop.

A demo can show that an AI-assisted rebuild handles a familiar task. It can’t tell you what the builder used, whether the replacement will preserve your data, or who will fix it when an update breaks it. Before you drop the paid tool, ask for evidence about the specific job you want to replace and the specific version you’d rely on.

The mental model: a handoff with a record

In a traditional clean room, one group prepares a functional specification: a description of what the software must do. A separate group implements it from that specification without access to the original source code. The separation helps make the case for independent creation. An empty repository only tells you where the new files started. It says nothing about what the people or agents writing them could see.

A reimplementation is a new implementation aimed at matching some existing behavior. A port moves software to another language or platform; a fork builds on an existing codebase. Neither label tells you what material was carried forward. API compatibility means other software can still make some of the same calls. It doesn’t promise the same defaults, error handling, or results on the files your team uses.

What the chardet dispute shows

Dan Blanchard, the chardet maintainer, wrote: “I tried to base the process on clean-room reimplementation, but it was an approximation, not the real thing.” He describes starting with an empty repository and reports that subagents still read old source despite intended restrictions. He argues that the resulting implementation was independent, pointing to architectural differences and his similarity analysis. Mark Pilgrim, the original author, objected to relicensing, arguing that exposure to the earlier code undermined the rewrite claim and that the prior license obligations still applied.

The disclosure tells you the intended separation failed in specific instances. The similarity analysis is the maintainer’s evidence, not an independent rerun. Neither the objection nor the defense is a court finding. If you’re evaluating a rebuild, ask for the access record and the output review separately: one tells you what was seen, the other what reviewers found in the result.

What to ask for before a pilot

A record of what went in

Ask for a versioned specification, a list of approved inputs and how they were obtained, and records of what the implementers and their agents could access. Include shared files, prior chat summaries, retrieval tools, and subagent access. A prompt that says “don’t look at the original” is an instruction, not an access control. If there was unexpected access, pause and have the reviewer document the exposure and decide what work needs to be set aside or re-examined. Leave model training exposure marked unknown unless there is evidence for a narrower claim. Project logs aren’t a record of what the model saw during training.

A rights review separate from the code review

In 17 USC 102(b), Congress draws this boundary: “In no case does copyright protection for an original work of authorship extend to any idea, procedure, process, system, method of operation, concept, principle, or discovery, regardless of the form in which it is described, explained, illustrated, or embodied in such work.” That distinction leaves room for protected expression. A different programming language does not settle whether the new build carries over protected material.

Give counsel the actual agreements, the access record, and the list of reused components, data and assets. Ask separately about contract restrictions, access controls, confidentiality and trade secrets, patents, and whether the name or branding could imply an affiliation. Also separate possible infringement from rights in the new output. The U.S. Copyright Office’s report on AI and copyrightability treats sufficient human authorship as a case-by-case question. Ask which expressive contributions people made; showing that the rebuild didn’t take someone else’s protected work would not establish what your team can claim in it.

A build you can identify and a job you can test

SLSA’s provenance specification describes provenance this way: “It’s the verifiable information about software artifacts describing where, when, and how something was produced.” Ask which build the review and tests actually covered. Request a component and license inventory; SPDX provides a common format for that information. Neither record clears rights. Have a technical reviewer look at the code and important assets, then document suspicious matches and their disposition. A low overall similarity score can leave a specific match unexplained.

Agree with the people doing the work on what counts as a pass before seeing the demo. Use representative files you are entitled to test, including bad inputs and cases where losing information would hurt. Have downstream users check outputs. Keep a discrepancy list tied to the tested version. Give security its own review: NIST’s Secure Software Development Framework treats secure development and vulnerability handling as lifecycle work. Name who will review data access, patch dependencies, handle incidents, and restore service. Compare those costs, plus migration and support, with keeping the paid tool or choosing an existing alternative.

Worked example: replacing one export job

Suppose your team pays for a tool mainly to convert order exports for accounting. The proposed replacement imports a sample and produces a file that looks right. During evaluation, accounting finds that the output strips leading zeros from order IDs, so some rows no longer match the originals. That’s a failed acceptance test even if every row appears on screen. Keep the paid path available and have accounting verify that the corrected output reconciles against the original records, including refunds and unusual IDs.

If those checks pass, you still have separate decisions. Unexplained sample data or a dependency with unclear rights goes back for review. An unresolved serious security finding stops the pilot. If no one will own the converter when the export format changes, compare the cost of assigning that work with renewing the subscription. The right decision may be to pilot only this export, not replace the whole tool.

Done means

You can state the job and the exact build under consideration, show what inputs and access were reviewed, and point to acceptance results for the workflows that matter. Rights and security questions have named reviewers and recorded outcomes. A maintainer owns support and updates, and the team knows how to restore data and return to the old workflow. If a material gap remains, record a decision to hold or narrow the scope instead of treating the demo as approval.

What this article does NOT cover

This is an evaluation guide, not legal advice or clearance. It does not cover non-US law, how to clone a product or bypass access controls, or whether any named replacement is secure, compatible, or ready to deploy. The chardet discussion is based on the public record, not a product test or forensic comparison.

Sources

Research dossier (verified 2026-10-17): Johnny5/Websites/Agentic Botsitting/research/ai-assisted-clean-room-rebuilds/ai-assisted-clean-room-rebuilds-research-2026-10-17.md.

Sources

#ai-assisted-development#software-maintenance#provenance#operator-practice

Submit a take

Have a different read on this? Drop a comment below — your email isn't published, and I read every one. Nothing leaves the site until I approve it.

Your email address will not be published. Required fields are marked.