On August 1, 2026, my AI assistant told me it had found four purchase invoices that were "missing" from a customer's supplier ledger and general ledger. It had already recorded them. The evidence looked solid: the supplier's balance was negative, as if the company had paid for goods that never arrived in the books.
I do not read code, but I know how businesses work. So I asked one question: "Customers sometimes pay in advance for goods that haven't arrived yet. Are you sure?"
The assistant went back and checked something it should have checked first. All four invoices required a warehouse receipt, and all four were still waiting for financial approval. Not recording them was the correct behavior. The "fix" was a bug. It reversed everything, and every number went back to what it had been.
The short answer
You cannot check AI-written work by reading its code, but you can check it with five tools that need no programming: compare numbers against other numbers, demand proof for every claim, run one deep review before shipping, keep automatic tests that protect what works, and rehearse real operations in dry runs that undo themselves. Business knowledge is your advantage, because the AI does not know what is normal in your company.
The five tools
- Numbers against numbers. Compare a screen with another screen, with a report, with a sum you calculate yourself, with yesterday. Disagreement is information.
- Proof, not claims. When the AI says "I found a bug" or "it's fixed", ask for evidence that would have looked different if the claim were wrong.
- One deep review, then fix, then simplify. A second AI pass reviews the work like a strict senior engineer, along every dimension at once.
- Tests that protect what works. Small automatic programs check behavior each time the code changes, so a fix today cannot quietly break last month's feature.
- Dry runs that undo themselves. Try the real operation, as a real user, on the real database, inside a transaction that is canceled at the end. You see true behavior without changing data.
Tool 1: check the numbers yourself
Laying reports side by side catches more than any code review. A few signs make it faster.
Suspiciously round numbers. A list that shows exactly 50 or exactly 1,000 records is showing you a limit, not your data.
Everything is zero. Once the assistant checked a repair for a customer and every query returned 0.00: money, ledger, entries. It looked like "nothing wrong here". In fact it had completed a shortened company ID by guessing, and that ID did not exist. The database answers a question about a company that does not exist with a calm zero and no error. In a working account, "everything is zero" is almost impossible, so suspect the key before you trust the result. A simple control is to count the rows with no filter at all and see whether the number is believable.
Demand a reconciliation table. The answer to "why do these differ?" is a table: number A, number B, the difference, and the items that explain it, to the cent. If the items do not add up exactly, the investigation is not finished.
Tool 2: make the AI prove its findings
In May I told the assistant to re-check, because it sometimes found things that were wrong and then said they were right after all. The rule that now sits in its memory: re-verify every finding with your own queries before presenting it, label each one confirmed, false alarm or partly true, and check the "everything is fine" claims too. Being wrong about health is worse than a false bug.
Two wrong findings in one report. I asked about a gap between the books and a stock count. The assistant came back with three findings. Two were false and the third was exaggerated. "Canceling a return leaves no journal entry" was not a bug: that function corrects the books by deleting the original entry, and every case checked had zero leftovers. "Manufacturing has no journal entry" was true as a sentence, but the large amount attached to it was not, because materials out and product in had exactly the same value. Both errors came from the same wrong question: "is there an entry with this movement's name?" instead of "is the net effect balanced?"
Two habits now protect us.
Ask for the cheapest proof that it is wrong. Once the assistant blamed a stock count screen for writing off empty lines, and the amount it calculated was correct. The explanation was invented, since none of the approved count lines were empty. A big correct number makes an untested story feel true.
Suspect your own query first. The assistant once reported false surpluses and shortages in many shifts. Most came from its own query, which pulled in a payment made the next day. Opening one shift line by line showed the stored total was right to the cent.
Tool 3: one deep review beats seven small ones
We used to review in seven small rounds. After the sixth round on one payroll feature I wrote: "Check again? How many times have we checked?" Each round used a different method and each found something real. The seventh, a full sweep, found nothing. Had that sweep been first, it would have saved six rounds.
Now, after any code is written, a fixed sequence runs: a high-effort review of only that task's changes, then fixes for what it confirms, then a "simplify" pass that tidies without changing behavior. Only then may the assistant say "done". The day we made it a rule, the assistant skipped it once after a live test passed. When the review ran, it found two real security holes the live test had missed. A live test is not a substitute for a review.
Tools 4 and 5: tests and dry runs
A test is a small program that checks one behavior automatically. Every merge runs ours before the website is updated, and one failure stops the update. Some of our most useful tests read the code itself, for example failing if any new search skips our text normalization. They turn a lesson into a rule nobody can forget.
Two cautions. Tests tied to exact visible text break when someone renames a label, and a failed update blocks every update after it. Match stable names instead. And a test you have never seen fail proves nothing: after adding a guard, we put the bug back on purpose, watched the test fail, then removed the bug.
Dry runs complete the picture. The assistant pretends to be, say, an accountant with no permissions, tries every action on the real database, and cancels the transaction at the end. Also check the live system rather than files, because a search can find an old version of a function that was already fixed. The book's Chapter 23 has the full set of examples.
Key takeaways
- You do not need to read code to check work. You need business questions, comparisons and proof.
- A correct number does not prove the story told about it. Verify the mechanism separately.
- One deep review along every axis, then fix, then simplify, beats many small rounds.
- Tests turn lessons into rules, as long as they check behavior and stable names.
- Check the live system with dry runs that undo themselves, and make every new test fail once on purpose.
Frequently asked questions
How can I tell if my AI assistant is wrong when I can't read code?
Ask for evidence that would look different if the claim were false, and compare its numbers with another screen or report. Ask whether the behavior could be intentional, such as a pending or draft state. If the AI cannot show a healthy example next to the broken one, treat the finding as unproven.
What is a reconciliation table?
It is a small table showing number A, number B, their difference, and the individual items that explain that difference until they add up exactly. If the explained items do not match the gap, something is still unexplained, and the investigation is not finished.
Do I need automated tests if I already test the app by hand?
Yes. Manual testing checks what you remember to try today. Automated tests run on every change and catch the old feature that a new fix quietly breaks. Make sure each test has been seen to fail at least once, otherwise you do not know it can detect anything.