Quick answer
A passing test shows the check does what its code says, not that it covers your rule. In my case, the tests the AI wrote checked what its code did, not what the rule said. Put the rule beside the code, have someone who never saw the code write test cases, and only trust results from a full run.
Where founders meet this
More founders now ask an AI assistant to guard something sensitive. For example, a check that scans a pitch deck or blog post for details of an invention that isn't filed yet, or one that keeps a customer's name out of a public case study.
A hypothetical example. A founder tells their assistant: "Before anything goes public, block any mention of our unfiled sensor design." The assistant writes a check that looks for the project's code name. It writes tests, and they pass. But a slide that describes the design without the code name gets through. The check enforced a narrower rule than the founder wrote.
If an unfiled invention is disclosed publicly, it can affect whether you can still patent it. That depends on the country and the timing (publishing or pitching before you file). A check that only looks complete is a risk.
What happened when I tested my own
I build Startup Tarot, a free tool that suggests a founder's next step. One rule for a founder community I work with: what an investor says in a private session must never reach founders' copies of the tool.
My AI assistant built the check that enforces this, and wrote its tests. Every test passed.
Then I gave a different AI only the rule, no code, and asked it to write test cases. On the cases that should have been blocked, the check caught 1 of 6. A name written surname first, a name inside an email address, a name with a space added: all got through. The tests had passed because they were written from the code, by the same assistant that wrote the code.
Putting each rule beside its code found gaps in all three of my checks. Links pasted without "https://" got through. So did a surname with "Ms." in front, and about 30 recording sites nobody had listed. One test result had also been reported as passing from a run made before the last edit.
After the fixes, a new set of test cases from a fresh AI came back 10 of 10 as expected. That's one set of invented cases, so it shows the fixes work on those forms. It doesn't show the check catches everything.
Why a passing check can mislead
A check is a translation: your rule is in words, and the check is in code. The code can be correct and still enforce less than your words say.
Mathematicians have met the same problem with AI-written proofs. A recent paper from Cambridge (Bastounis, Circelli and Hansen, Navier–Stokes Lost in Translation, arXiv 2610.08144) shows proofs that pass a computer check while saying something different from the written argument. It cites one project that reported 56% of a textbook's statements translated into checked code. A reviewer quoted in the paper found none translated correctly. A passing check proves the coded version of a rule, not the rule itself.
Three steps before you rely on it
- Put the rule beside the code. Write your rule in one sentence. Then ask: what exactly does the check look for? Mark each difference as narrower (misses things the rule covers), wider (blocks things the rule allows), or different. Ideally someone other than the check's author does this.
- Get test cases from someone who hasn't seen the code. Give a colleague, or a fresh AI session, only the rule. Ask for cases that should be blocked and cases that should pass, in realistic forms. Save them before you run anything, so nobody adjusts them afterwards.
- Trust only a full run after the last change. Rerun every test after the final edit, and read the result, not a summary of it.
Some things code can't reasonably catch, such as a description with no keyword in it. Write those down as a person's job, and name who does the final review.
I now use these three steps, as a trial, whenever I change one of my own checks. For step 3, a small script runs the full tests before any change can be pushed, so a stale "all passed" can't slip through.
When this is worth the effort
Use the three steps for checks that guard something you can't take back: an unfiled invention, a client's confidential information, a person's private remarks. For checks where a miss is cheap to fix later, a quick look may be enough.
The One-Paragraph Takeaway
An AI-built check can pass every test and still enforce less than your rule. In this case, its tests came from the same place as its code. Put the rule beside the code, get test cases from someone who never saw it, and trust only a full run after the last change. Then write down what's left for a person to review.
Not sure which parts of your invention need protecting before you show it to anyone? That question is what Andrew's startup patent strategy advisory is built around.
Warning & Disclaimer
Human Authored · AI Assisted · Just being transparent
Andrew Leung is a registered patent agent and an entrepreneur. This article reflects general educational information and professional judgment about early founder decisions. The Startup Tarot test results describe invented test data, not real packages or real people. Nothing on this website constitutes legal advice nor creates an agent-client relationship. Patent laws vary by jurisdiction and change over time. For legal advice specific to your situation, consult a registered patent attorney.
Next in the series