Why AI Automation Hasn’t Paid Back Yet

July 19, 2026 09:39 am
blog-img

See a safe path to your AI integration journey

350 repositories · 5 independent assessors · 15 industry verticals

AI coding tools are deployed across enterprise engineering teams worldwide. GitHub Copilot, Cursor, Claude, Gemini. Billions of dollars invested. Productivity narratives everywhere.

The measurable enterprise results haven’t arrived.

McKinsey’s own data shows that while AI tool adoption is near-universal, fewer than 30% of enterprises report meaningful productivity gains from software development automation. Microsoft — the company whose CEO confirmed that 20 to 30% of its own code is now AI-generated — cancelled its Claude Code licences across entire divisions when per-engineer API costs hit $2,000 per month. In November 2025, core Windows 11 features were found to have been broken since July — four months undetected.

Enterprise teams are not failing to adopt AI. They are failing to extract value from it. The question nobody is asking clearly enough: why?

The answer is not the tools. The answer is the software the tools are integrating with.

The frameworks are measuring the wrong thing

When an enterprise AI initiative underperforms, the standard response is to reassess strategy, retrain teams, improve governance, upgrade infrastructure. Deloitte, McKinsey, Gartner, Accenture all have frameworks for this. They are thorough, well-researched, and widely used.

Not one of them looks at the codebase.

his is not a minor oversight. AI does not deliver value through strategy, governance, or training programmes. Unlike Agile, SAFe, CCPM, or Lean — which are methodologies you adopt by changing how people work — AI is technology. It integrates into systems. It runs through code. And if that code is not structurally ready to absorb it, the value never arrives. Not because the strategy is wrong. Not because the team isn’t capable. Because the substrate is incompatible.

We ran the study the industry was missing

The Big Four assessed AI readiness the same way they assessed Agile readiness. Interviews. Workshops. Culture surveys. So we did something different.

We didn’t interview people. We interviewed the software.

350 open-source repositories across 15 industry verticals. Four leading AI systems — Claude, OpenAI, DeepSeek, Manus.im — each asked to independently assess and grade the AI readiness of the same codebases. No system saw another’s results. No pre-assigned grades influenced the outcome. We then ran each repository through CodeWeTrust’s structural scanner and compared the results.

The consensus was remarkable

Across five completely independent systems — four qualitative AI assessors and one structural code scanner — agreement within one letter grade was 85.1% across all 350 repositories.

The radar charts below show how each assessor compares — first against LLM consensus as the benchmark, then against the structural scanner as the benchmark. All four LLMs are systematically more optimistic than structural scanning. They assess on reputation, known governance, visible signals. The scanner measures structural conditions that are invisible to qualitative judgment.

Two things the study confirms

Before the outliers, two findings from the benchmark that matter commercially:

1.  C2M’s structural scanner converges with the world’s leading AI systems — despite using completely different inputs.

The LLMs assess AI readiness qualitatively — repository reputation, governance signals, community health, documentation, known architecture. C2M measures structurally — long method density, commit velocity, active ownership, security exposure, code duplication, dependency health, fix instability, complexity. Completely different data sources. Completely different methods. Yet 85–90% agreement within one grade across 350 repositories. This is not an accuracy claim. It is a convergence finding: the structural conditions C2M measures are the same conditions that independent expert judgment recognises as determinants of AI readiness. The two approaches are reading the same underlying reality from different angles.

2.  The convergence held as the benchmark scaled from 20 to 350 repositories.

This study did not begin with 350 repositories. It began with 20 — a deliberately chosen set spanning well-maintained and structurally problematic codebases. As the benchmark expanded — adding new industry verticals, new languages, new structural types, new assessors — the agreement pattern held. The methodology did not improvise to fit new data. It produced consistent results at scale. That is the scalability validation that distinguishes a reproducible instrument from a one-time exercise.

Together these two findings establish something precise: C2M does not guess. It does not rely on reputation or visible signals. It measures structural properties mechanically — and those measurements align with what the most capable AI systems in the world conclude from qualitative assessment. At scale. Consistently. That is the foundation on which the divergence cases below become meaningful rather than arbitrary.

The finding that changes the question

The 8 cases where C2M diverged from LLM consensus by three grades or more are the study’s most commercially important result. In every single case, all four LLMs rated the repository A or B. The structural scanner found conditions that explain precisely why AI integration would be fragile in practice.

TECHNICAL DEBT ≠ AI READINESS
Technical debt asks: how much would it cost to fix what is broken? AI readiness asks: are the structural conditions compatible with safe AI-assisted development? A codebase can carry near-zero technical debt and still be structurally incompatible with AI integration. PromptFlow is the clearest example in the dataset: 0.4% technical debt, grade C on AI readiness.

What the full benchmark shows

What this means for AI investment

The organisations that will extract returns from AI investment are not necessarily the ones with the best strategy or the largest budgets. They are the ones that sequence the journey correctly.

AI integration does not have to succeed everywhere at once. It has to succeed somewhere first — where the structural conditions are right, where the codebase will absorb AI-generated changes safely, where velocity and ownership and complexity make integration tractable. Start there. Build knowledge. Move to the harder modules later.

Organisations that deploy AI at scale without a structural readiness signal risk exactly the scenario Microsoft faced: spiralling API costs and destabilised core products. Correlation is not causation — but the pattern is consistent with what happens when deployment outpaces structural assessment.

The question is not whether to proceed with AI. The question is where to start.

This study does not claim that a structural scan predicts production outcomes. That longitudinal evidence is the next research phase. What it establishes is simpler and more immediately useful: the structural dimension is real, measurable, and consistent across independent methods — and it is the dimension nobody currently measures before committing the budget.

Article content

The full benchmark — 350 repositories, 15 industries, five assessors, complete grade data — is available on request. If you want to know where your own codebase sits: structural assessment in 48 hours, no source code leaves your environment.

codewetrust.com, info@codewetrust.com

References

  1. Nadella, S. (2025, April 29). Comments at LlamaCon. Reported in: TechCrunch (primary): https://techcrunch.com/2025/04/29/microsoft-ceo-says-up-to-30-of-the-companys-code-was-written-by-ai/ CNBC (backup): https://www.cnbc.com/2025/04/29/satya-nadella-says-as-much-as-30percent-of-microsoft-code-is-written-by-ai.html
  2. Microsoft cancels Claude Code licenses (2026, May). Reported in: The Next Web (best sourced): https://thenextweb.com/news/microsoft-claude-code-retreat-ai-cost TheStreet (most detail on costs): https://www.thestreet.com/technology/microsoft-ceo-sends-shocking-message-to-employees Original reporting: Warren, T. (2026, May 14). Notepad newsletter, The Verge (paywalled)
  3. Windows 11 core features broken (2025, November). Reported in: Neowin (primary): https://www.neowin.net/news/microsoft-finally-admits-almost-all-major-windows-11-core-features-are-broken/ OC3D (technical detail): https://overclock3d.net/news/software/yes-windows-is-broken-microsoft-admits/
  4. McKinsey & Company. (2025, November). The State of AI in 2025: Agents, Innovation, and Transformation. QuantumBlack, AI by McKinsey. https://www.mckinsey.com/capabilities/quantumblack/our-insights/the-state-of-ai
  5. Deloitte AI Institute. (2026, January). State of AI in the Enterprise 2026: The Untapped Edge (survey conducted August–September 2025). https://www.deloitte.com/us/en/about/press-room/state-of-ai-report-2026.html
  6. Deloitte Consulting LLP. (2026, May). Agentic AI Capability Assessment for Digital Channels. https://www.deloitte.com/
  7. Deloitte AI Institute. (2025, September). AI Trends 2025: Adoption Barriers and Updated Predictions. https://www.deloitte.com/us/en/what-we-do/capabilities/applied-artificial-intelligence/blogs/pulse-check-series
  8. Gartner. (Ongoing). AI Readiness Assessment Framework. Five-pillar framework (strategy, data, talent, process, infrastructure) serving as the industry reference for enterprise AI readiness evaluation; the codebase is not among the dimensions assessed. https://www.gartner.com/

Further reading — C2M research

  1. Voliotis, C. Does Your Software Welcome AI? The AI-Readiness Gap Nobody Is Measuring. LinkedIn. https://www.linkedin.com/pulse/does-your-software-welcome-ai-ai-readiness-gap-nobody-costas-voliotis-1miof/
  2. Voliotis, C. AI-Assisted Development Does Not Remove the Need for Codebase Governance. LinkedIn. https://www.linkedin.com/pulse/ai-assisted-development-does-remove-need-codebase-costas-voliotis-w7cif
  3. Voliotis, C. The Hidden Drift in Open-Source AI: A Year-Over-Year Code Quality Analysis (2025–2026). LinkedIn. https://www.linkedin.com/pulse/hidden-drift-open-source-ai-year-over-year-code-quality-voliotis-mtcrf/
  4. Voliotis, C. The Reality of Source Code Assessment in Due Diligence: Claude.ai vs. CodeWeTrust (C2M). LinkedIn. https://www.linkedin.com/pulse/reality-source-code-assessment-due-diligence-claudeai-costas-voliotis-zsjhf/
  5. Voliotis, C. A New Balance Between AI and Software Governance: Introducing C2M 9.2. LinkedIn. https://www.linkedin.com/pulse/new-balance-between-ai-software-governance-c2m-92-costas-voliotis-keczf/