Software Architecture Audit: What I Find and What Leadership Gets
In the first week of a Diagnose engagement I usually find code heavily augmented by AI, thin reviews, QA that is behind, and no one watching what the AI builds. The audit turns that into a ranked risk list and a 90-day roadmap.
What a software architecture audit is
Your product is live or on its way, but nobody can say how healthy it is, and nobody is sure what is holding growth back or what to do first. In one to three weeks, depending on the size of your product, I map your codebase, find the risks that matter (security, reliability, scalability, key-person dependence, cost), see where delivery is getting stuck, and turn it all into a ranked list and a 90-day roadmap.
What I find in the first week
I find code that has been augmented heavily by AI, and it is hard to tell what the AI contributed and what a person wrote, so no one can say which parts deserve a closer look. There are fewer actual reviews and more LGTM ("looks good to me") approvals with no real review behind them, and QA is behind, which means the code is piling up faster than anyone has been able to check it. They trust the AI to check itself. The AI will hallucinate and create things that are not needed nor asked for, like complete libraries doing nothing, or duplicated code, or mocked, stubbed out functions. I find that the directive is just to use AI assisted coding without much governance nor identity, and an attempt or desire to use it in CI/CD but offloading it to other tools/companies.
A case where the spend was not paying off
The audit showed that despite increases in PRs, the number of PR summaries that did not match the spec rose, and that the amount of code committed was huge. Reviews were either in-depth or also hurried, with just a LGTM type of review. No AI validation like RAGAS or LLM as Judge, so customer errors were happening silently.
The answer was it was not paying off because the directive was just to use AI. Things looked like they were moving faster but there was more rework and more risk because no one knew what the AI was building, or they were not monitoring it. Classic System 3 thinking.
System 3 is artificial cognition that sits outside the brain, added to Kahneman's System 1, which is fast and automatic, and System 2, which is slow and deliberate. Shaw and Nave at Wharton propose it in a 2026 working paper (Shaw and Nave, 2026) and call adopting its output with minimal scrutiny cognitive surrender. Their evidence comes from experiments on a narrow reasoning task and it is a working paper, so I hold it loosely, though it matches what I saw in this audit. The directive was just to use AI, so no one was set up to check what it built, and the number of PR summaries that did not match the spec rose, reviews were hurried, and the AI was trusted to check itself, which is how you end up with more rework and more risk that no one sees until a customer hits it. I go through this in more detail in my governed AI coding agents guide at /guides/governed-ai-coding-agents.
What the research says
The published research points the same way, though I hold all of it loosely because these are lab studies and surveys. Researchers at NYU and the University of Calgary prompted GitHub Copilot with 89 scenarios in 2021, produced 1,689 programs, and found approximately 40% of them vulnerable (Pearce et al., 2021), and that was an early version of the tool. A later Stanford user study found that participants with an AI assistant wrote significantly less secure code than those without one while being more likely to believe their code was secure (Perry et al., 2023), which looks like the cognitive surrender I described above. CSET tested five models and found that about 48% of the code snippets they generated contained a bug that a verification tool flagged, in an evaluation the authors describe as narrow in scope.
The cost side comes from IBM and Ponemon's Cost of a Data Breach Report 2026, which says security incidents involving shadow AI, where workers use unapproved AI, more than doubled to 43% from 20% the year before, and averaged USD 5.39 million against USD 4.63 million. It also found that among organizations that had an AI-related breach, 92% lacked proper AI access controls.
Key-person risk
Key-person risk is that companies will hang onto not the best engineers just because of the knowledge they have because they need that person to support a finicky system. By having a deterministic model of the code like Ask Jentic, that risk heavily decreases.
What leadership gets at the end
If you want this done for your product, the engagement is called Diagnose. Scope and deliverables are at /services/diagnostic.
- An executive summary you can hand to a board, investor or customer.
- An architecture map of what you actually have, in plain language.
- A risk register ranked by severity and effort to fix.
- A growth view: where delivery is stuck, what is slowing releases, and which changes would speed you up most.
- A 30/60/90-day roadmap with an owner for each item.
- A baseline of the few numbers that matter for your product, such as release frequency, incident rate and time to fix.
- Build, buy, repair or rebuild recommendations with the reasoning.
- A security and compliance gap view, meaning what a questionnaire or diligence review will ask.
Frequently asked questions
How long does it take?
Typically one to three weeks, set by the size of your product. The scope and the price are fixed for your project before we start, so you know what you get and what it costs.
Do you need access to our source code?
Read-only access to your repository and deployment setup, and nothing is changed.
Is the analysis done by AI?
The analysis is AI-assisted to move faster, and I review and sign off on every finding.
Related guides
Notes on AI and engineering teams
I write about AI, engineering leadership and decision science on Substack. It’s free.
Subscribe