AI••8 min read

Reading Code You Didn't Write: What a Technical Audit Should Actually Tell You

In the last nine months we've audited an acquisition target pre-close, an AI-built app before launch, and an engineering team's AI readiness. The reports share one design rule: every finding carries its evidence, its cost to fix, and an honest answer when the right call is to leave things alone.

Chris Fitkin
Chris Fitkin
Partner & Co-Founder

Three conversations from the last nine months, lightly disguised.

An executive team preparing to acquire a complementary SaaS product asked: is the technology worth the price, and what will it cost us to run and fix? A founder whose app was built substantially by AI tooling asked: is it safe to put paying customers on this? And an engineering leader who’d bought AI coding licenses for the whole team asked: why isn’t anything faster?

All three are the same job. Someone has to read a system they didn’t build and tell the person paying for the answer what they actually own: what it does, what it costs to keep, where it will break, and who has to stay for it to keep running. We’ve now delivered that job in each of those three shapes, and this post is about what the work looks like when it’s done honestly.

67
ranked findings in one 99-page pre-close acquisition audit
655K
lines of an inherited platform documented in one week with AI-assisted methods
71
findings in a pre-launch audit of an AI-built product
3
audit shapes delivered: buy-side, AI-built app, team maturity

Sampling was a cost decision, and the cost changed

Traditional technical diligence samples a codebase. A reviewer reads the architecture docs, spot-checks a few modules, interviews the lead engineer, and extrapolates. That was never the ideal; it was the economics. Reading every file of a serious codebase by hand costs more than the answer is worth.

That constraint is gone. AI-assisted review reads the full corpus: every file, every reference traced through the codebase. We’ve watched this work at a scale that would have been absurd two years ago, where an inherited production platform of roughly 655,000 lines across 3,600 files was fully documented in about a week, producing a 45-document set covering architecture, process flow, business rules, database schema, and compliance surface. The same work had been estimated in months.

Reading everything changes what a findings report can claim. “We found no other references to this file” means something when you’ve actually traced every reference. So does “this superseded validator class is still live as a fallback in the lead-recording path,” which is exactly the kind of finding sampling misses and production incidents find later.

The machine does the reading. The judgment still has to come from people who build and operate production systems, because the hardest part of an audit isn’t finding issues. It’s deciding which ones matter.

Grade against the bar the system’s job deserves

A findings report that flags everything at the same severity is a sales pitch. Real systems deserve a moving bar.

We once reviewed a company-wide reporting layer built by a single senior operator using AI tools: no version control, no backup, data baked into files on a shared drive, the whole thing running from one laptop, with the CEO among its readers. The severe findings were real. And the verdict still opened by saying the system was defensibly fit for purpose as reporting, because reporting is a middle-to-low-risk workload where a wrong chart gets caught by the humans reading it. The moment that layer started driving decisions automatically, or the company went to market, it would get graded against a much harder bar: would it survive a buyer’s technical diligence?

That distinction is what makes an audit credible to the person on the other side of the table. In that review, a private equity deal team was in the room, and their response to the read was that it matched exactly what they’d ask in their own buy-side diligence.

The same fairness has to run in the other direction. In our pre-close acquisition audit, the headline verdict was a B grade and a recommendation to proceed. The report opens with what’s working and why the grade isn’t lower: current toolchain, cleanly multi-tenant data model, modern infrastructure. A report that can’t say “this is good” can’t be trusted saying “this is bad.” The most valuable line in that audit wasn’t a vulnerability at all; it was a strategic finding that the acquirer’s and target’s tech stacks had low fit, which redirected the whole integration plan toward a data-level sync and away from an expensive platform consolidation nobody’s customers would ever notice.

AI-built products break in a predictable place

The pre-launch audit of an AI-built app is the newest shape of this work, and the pattern is worth stating plainly because we expect to see it everywhere.

The product was genuinely impressive: roughly 130 features and screens across more than 20 functional areas, built at a speed no traditional team could match. The code style was fine. The service layers were cleanly separated, the networking had production-quality retry logic, the offline design was proper. The AI built well-organized code.

The 13 critical findings clustered somewhere else entirely: in the things nobody was checking. Database policies let users update their own role and paid-tier columns. Users could insert their own purchase and subscription records without a payment event, a complete revenue bypass. Any user could join any group by self-assigning a privileged role. Backend configuration sat committed in the repository. And because the product serves minors, there was regulatory exposure no code review tool would ever flag.

AI tooling writes plausible code fast. It doesn’t hold an adversarial model of your users or a compliance model of your market. Our audit graded every feature end to end and found the signature shape of AI-built products: about a third fully functional, about a third real UI over stubbed backends and hardcoded data, and a third prototype. Demo-perfect arrives long before safe-to-charge-money-for. The audit is the independent gate between the two, and the deliverable was a three-phase launch plan with the criticals as gates rather than a scary list.

Sometimes the audit subject is the team

The third shape starts from a question we hear constantly now: we bought the AI licenses, why isn’t anything faster?

For an 11-person engineering organization, we ran a maturity assessment that combined codebase analysis, engineering and QA interviews, and an anonymous team survey. Usage sat around 25 percent, almost entirely tab completion. More than a third of the team actively distrusted AI output. And here’s the part that matters: the report treated that distrust as rational, because it was. The codebase had minimal documentation, inconsistent patterns, and under 10 percent automated test coverage. AI tools had no context layer to be right about, so they produced generic output, which required heavy correction, which confirmed the distrust, which capped adoption.

The scored verdict gave leadership something a feeling can’t: a weighted baseline across adoption, process, codebase readiness, and productivity impact, re-measurable each quarter, with the enablement plan sequenced against it. The diagnosis wasn’t tools and it wasn’t people. It was structural readiness, and structural readiness is fixable.

What we’ve learned makes an audit report worth paying for

Across all three shapes, the reports converged on the same design rules:

  • Findings are proposals with verification steps, never directives. Static analysis can’t see cron jobs, partner webhooks, or dynamic includes. Every removal recommendation carries the check that protects you from acting on it blindly, and the report says so.
  • Every severity carries a cost to clear. A finding without a remediation estimate is trivia to a deal team. Our acquisition audit sequenced 67 findings into 0, 90, and 180-day plans so the deal model could carry a number.
  • The honest answer can be “leave it alone.” In one systems audit, the verdict on the client’s own in-house build was to keep it unchanged, because it was fit for purpose and cheap to run. An audit that can’t reach that conclusion about work it didn’t do is asking you to trust it too much.
  • Method limits go in the report. No production access means saying “no production access.” Where the seller’s own diligence materials disagreed with ours on factual claims, the report stated the deltas instead of quietly picking a side.

If you’re buying a company, inheriting a codebase, deciding whether a vendor’s next invoice should get paid, or shipping AI-written code faster than anyone is reviewing it, this is the work. It starts with an NDA and read-only access, and it ends with a report written for a non-engineer to act on.

Talk to us at chris@metacto.com.

Subscribe to our newsletter

Be the first to get insights on putting AI to work, engineering quality, and building systems that move real business metrics.

By subscribing you agree to ourPrivacy Policy.