CTO says technical teams must shift from generation to verification as code generation is outsourced to AI

Khader Mohammed

CTO and CISO at Cwave Solutions LLC and FalconRock Inc.

Khader Mohammed explains why AI-generated code shifts engineering’s bottleneck to verification, requiring stronger reviews, quality metrics, and human accountability.

Key Takeaways

Verify First: AI shifts engineering bottlenecks from producing code to verifying correctness, security, maintainability, and operational impact.

Measure Quality: Track AI-generated code through acceptance, merge time, delayed defects, and review behavior rather than license adoption.

Institutional Context: Models lack undocumented system history, compliance constraints, and scale assumptions, making polished solutions risky without contextual human review.

Safer Agents: Redesign AI agent access with temporary task-scoped credentials, action-level logs, rate limits, and automatic circuit breakers.

Silent Drift: Vendor model updates can quietly change customer-facing behavior, so pin versions and continuously monitor outputs after launch.

Khader Mohammed is a CTO and CISO at Cwave Solutions LLC and FalconRock Inc. He's a seasoned technology executive with 20+ years of experience spanning Arthur Andersen, Deloitte, KPMG, EY, PwC, and McKinsey.

We sat down with Khader to get his insights on how AI is shifting the bottleneck from generation to verification. He told us what that means for teams and CTOs alike.

20+ years across the world's most respected firms

My name is Khader Mohammed, and I am CTO/CISO at Cwave Solutions LLC and FalconRock Inc. I wear different hats as a Chief Technology Officer, CISO and CIO Advisory Services, Chief AI Officer, Board Advisor, and Executive Director.

I have 20+ years of experience across the world's most respected consulting firms — Arthur Andersen, Deloitte, KPMG, McKinsey, GFT, Wipro, Vista Equity Partners, Oracle, Neudesic, Sada Systems, and Microsoft. I have a proven track record of managing organizations of 2,000+ staff, launching profitable digital practices, and serving as acting CIO/CTO for Global 2000 clients.

In my roles, I bridge the gap between business growth and security innovation. I'm an expert in architecting converged, hyper-converged, and software-defined data centers (SDDC) while ensuring robust corporate governance. And I have deep technical expertise in transforming IT functions to adopt next-gen cloud platforms, evidenced by authoring global standards for Microsoft Azure and the US Mortgage Industry.

More Articles

Why usage-quality metrics and human reviews are essential with AI-generated code

Why usage-quality metrics and human reviews are essential with AI-generated code

AI doesn't eliminate your bottleneck; it relocates it from generation to verification. It's important to understand that before you start, because it changes almost every decision you make afterward.

In my case, leadership messaging leaned hard on velocity gains, and some teams optimized for shipping speed over the things velocity was supposed to serve — correctness, maintainability, on-call load. We tracked the percentage of engineers with Copilot licenses activated and celebrated hitting 80%. We ended up with a quarter in which PR throughput increased by a double-digit percentage, and our incident rate rose alongside it. And we had to spend the next quarter recalibrating what "good" meant.

Naming the actual target metric up front would have avoided that whole detour. Because AI adoption metrics lie without usage-quality metrics attached. What we should have tracked from day one was acceptance rate on AI-suggested code, time-to-merge on AI-assisted PRs versus manual ones, and defect rates in AI-touched code six weeks later.

We found out too late that a significant portion of our ‘adoption’ consisted of engineers accepting suggestions reflexively to clear the suggestion box, not because the code was good. Some of that code landed in production before we had calibrated our review practices. If I'd built the quality telemetry alongside the adoption telemetry, we'd have caught the copy-paste-without-review pattern in week two instead of month three.

Similarly, I should have set review norms before rollout, not after an incident forced the conversation. We treated AI-generated code like human-written code in review — same diff, same reviewer attention. That was wrong in both directions. Reviewers under-scrutinized code that "looked clean" — AI output tends to look confident and well-formatted even when it's subtly wrong — and over-scrutinized in areas where the tool was genuinely reliable, slowing down easy wins.

We could have avoided a security incident tied to an AI-suggested dependency with a known CVE if we'd mandated a specific review checklist for AI-touched code — verify dependencies, verify claims about "existing" functions, verify test coverage actually exercises the new path — before the first team went live, instead of writing that checklist after the fact.

Why institutional context is the biggest struggle with AI

Khader Mohammed

Khader Shares

The biggest struggle with AI is that it optimizes for code that looks right over code that’s right for this system…It reasons from general knowledge, not institutional memory, and presents its recommendation with the same confidence whether that memory exists or not.

The biggest struggle with AI is that it optimizes for code that looks right over code that's right for this system.

It defaults to the textbook solution for the stated problem. It doesn't realize that the solution doesn't fit your actual data volume or traffic pattern. Nor does it know that your team abandoned a similar architecture eighteen months ago for reasons that never got written down. Or that a "best practice" pattern conflicts with a constraint your compliance team imposed last quarter. It reasons from general knowledge, not institutional memory, and presents its recommendation with the same confidence whether that memory exists or not.

Gaps like this show up in exactly the areas that don't show up in a quick code review — security posture, scale assumptions, and judgment calls that depend on context the model doesn't have.

Here's an example. We asked an AI coding agent to add a caching layer to a service. It produced clean, idiomatic code — reasonable TTLs, sensible cache-key structure, nothing wrong on inspection. What it didn't know was that this particular service sat behind a data residency requirement, and the cache it built used a shared in-memory store that wasn't isolated per-region, meaning customer data could transiently sit in the wrong jurisdiction's cache node. The code was scalable, clean, and would have passed a normal review. It failed a review focused specifically on data residency, which we only ran because that service was tagged as regulated — most services in our codebase weren't tagged that carefully at the time.

Why technical teams no longer understand their codebases, and what that means

Debugging used to start from “someone here has intuition for this system.” Now it more often starts from “let’s re-derive what this code does,” because the intuition was never fully built in the first place — the code was accepted, not internalized.

Khader MohammedCTO and CISO at Cwave Solutions LLC and FalconRock Inc.
Share This Quote on:

Before AI, if code was in the codebase, someone on the team could generally explain why it worked that way — even if the original author left, someone else had touched it, reviewed it, or at least struggled through debugging it enough to build a mental model.

AI-generated code breaks that chain. It can be merged, tested, and running in production while the engineer who "wrote" it — really, directed and accepted it — has a shallower mental model of it than they'd have built by hand. Multiply that across a team, and you get a working codebase that fewer people can reason about from first principles when something goes wrong at 2am.

This shows up hardest in incident response. Debugging used to start from "someone here has intuition for this system." Now it more often starts from "let's re-derive what this code does," because the intuition was never fully built in the first place — the code was accepted, not internalized. We've had incidents take longer to root-cause, not because the bug was more complex, but because the person on call had to reconstruct understanding of AI-authored code under pressure instead of drawing on memory.

The harder version of the same problem is onboarding and judgment transfer. Junior engineers used to build intuition by writing bad code, getting it corrected, and internalizing why. If AI increasingly writes the first draft, that struggle — which was never fun, but did the job of building real understanding — gets skipped, and it's not obvious yet what replaces it.

We haven't solved this one. Rotating people through deliberate "no AI assist" debugging exercises and postmortems has helped keep some of that muscle alive, but it's a stopgap, not a fix, and it's the problem in this whole space I'm least confident we've actually gotten right.

Why CTOs must watch for silent behavior drift from model changes

Why CTOs must watch for silent behavior drift from model changes

The risk most leaders underestimate is silent behavior drift when the model underneath you changes, with no corresponding commit, deployment, or code review to point to.

AI-powered features built on top of a vendor's model don't follow normal software and debugging rules. The vendor updates the model, the API contract looks identical, your code hasn't changed, your tests still pass on the cases you thought to write — and the system's actual behavior on real-world edge cases has shifted underneath you.

Most leaders reason about AI risk in terms of "what if the model gets something wrong," which is a known, budgeted-for risk. Far fewer reason about "what if the model that got something right yesterday quietly gets it differently today, with nothing in our system telling us it happened."

We had a workflow that used a model to classify inbound requests and route them, validated carefully against a representative sample before launch. Weeks later, routing accuracy on a specific edge-case category degraded — not a catastrophic failure, just a quiet increase in misrouted items.

We spent real time looking for a regression in our code, in our prompt template, in our data pipeline. There wasn't one. The underlying model version had been updated by the vendor, and its handling of that specific edge case changed as a side effect of an update aimed at improving something else entirely. Nothing in our deploy history reflected it, because nothing in our system had actually changed.

If you're depending on a third-party model for anything customer-facing or used in decision-making, pin versions where the vendor allows it and monitor output distributions continuously rather than only at launch. You must also recognize that ‘we validated this at launch’ has a shelf life that traditional software risk assessments do not account for.

Why AI should be rolled out according to team readiness

Khader Mohammed

Khader Shares

Teams with strong existing test coverage and review discipline absorbed AI tooling well; teams without that discipline amplified their existing gaps — AI just let them generate bad patterns faster.

I wish I'd staged the rollout by team readiness, not by org chart.

We rolled out uniformly across all teams at once for the sake of fairness and simplicity. Teams with strong existing test coverage and review discipline absorbed AI tooling well; teams without that discipline amplified their existing gaps — AI just let them generate bad patterns faster.

A phased rollout, starting with teams that had strong engineering hygiene and using them to establish norms the rest of the org could adopt, would have contained the damage from teams that weren't ready and given us a proof point to point to instead of a uniform, uneven mess.

How AI is changing team composition and velocity estimates

We'd always sized architecture decomposition work by seniority — breaking a monolith into services was "senior engineer work" because it required holding the whole dependency graph in your head: what calls what, what breaks if you extract this module, what the blast radius of a schema change looks like. This affected our team structure — senior engineers on architecture, mid-level on feature work. And it also affected our velocity estimates because decomposition projects were budgeted in senior-engineer months, and there were never enough of those to go around.

When we started using AI coding agents for dependency mapping and automated test generation, the actual bottleneck in decomposition work turned out to be less about holding the whole system in your head and more about verification: Could you prove a given extraction was safe? AI agents could generate call-graph analysis and regression test coverage for a proposed service boundary in hours instead of the days a senior engineer would spend manually tracing it. That meant a mid-level engineer, working with the right AI tooling, could propose and validate an architecture change nearly as safely as our most senior person — the constraint shifted from "Who has the tacit knowledge?" to "Who can direct the tools well and knows what to sanity-check?"

Because of that, we restructured two things.

  1. Team composition: Architecture work stopped being gated behind seniority and became gated behind a new skill we started explicitly hiring and training for: directing AI tooling and critically verifying its output. This correlated only loosely with years of experience.
  2. Estimation: We stopped budgeting decomposition projects in senior-headcount-months and started budgeting them in review cycles, since the new bottleneck was human verification of AI-proposed changes, not the generation of the changes themselves.

Now, we can run three parallel decomposition workstreams with the same senior bandwidth that used to support one, because seniors shifted from doing the analysis to auditing it.

Why identity management needs AI redesign

CTOs need to actively redesign identity and access management…Instead of arguing case by case about whether an agent should have broad access, we could point to a standing policy: Agents receive scoped, expiring, and auditable access by default. 

Khader MohammedCTO and CISO at Cwave Solutions LLC and FalconRock Inc.
Share This Quote on:

CTOs need to actively redesign identity and access management, specifically the assumption that a "user" is a human and that a service account is just a static, long-lived stand-in for one.

That model breaks down once AI agents are taking autonomous action — chaining tool calls, making decisions across systems, sometimes triggering other agents — because a static, broadly-scoped credential handed to an agent is a much bigger liability than the same credential handed to a human. Humans self-limit through friction and judgment; agents execute whatever the credential allows, at machine speed, without the pause a human would naturally take.

Our original setup treated an AI agent like any other service account: We provisioned it with the same scope as the engineer who built it, logged activity at the session level, and reviewed access quarterly like everything else. We rebuilt this around three changes.

  1. Ephemeral, task-scoped credentials: an agent gets access bound to the specific task it's executing, not standing access to a system, and the credential expires when the task completes rather than living indefinitely.
  2. Action-level audit logging instead of session-level — we needed to know not just "the agent logged in" but "the agent modified this record, called this API, at this timestamp," because when something goes wrong with an autonomous system, session logs don't tell you what decision was made or why.
  3. A distinct rate-limiting and circuit-breaker layer for agent-originated actions, separate from human traffic, so a misbehaving or looping agent gets throttled and flagged automatically instead of quietly executing at scale before a human notices.

As a result, we caught a misconfigured agent in under ten minutes when a bad retry loop caused it to make repeated writes to a downstream system. The circuit breaker detected the action-rate anomaly before the agent caused meaningful damage, and the action-level logs identified the responsible task and credential. Under our old session-based logging, that would have required hours of forensic reconstruction.

It also made a difficult conversation with security easier. Instead of arguing case by case about whether an agent should have broad access, we could point to a standing policy: Agents receive scoped, expiring, and auditable access by default. That made future rollouts faster to approve and eliminated the need for a fresh negotiation each time.

Why CTOs should not be exempt from review processes

Why CTOs should not be exempt from review processes

Most leaders act like they are exempt from the same failure modes they're guarding against in their teams. They aren't.

Everything I've described — rubber-stamped reviews, misplaced trust in confident-looking output, verification capacity not scaling with generation capacity — happens at the leadership level too, just with higher stakes and less oversight.

A CTO using AI to draft a board narrative, size a reorganization, or evaluate a vendor deal is doing the same thing as an engineer reviewing an AI-generated PR: consuming output that appears competent and deciding how much to trust it. The difference is that nobody reviews the CTO's PR. Leadership decisions get less scrutiny than code, not more, which means the generation-outpacing-verification gap is actually worse at the top of the org than at the bottom of it.

If leaders do not apply the same skepticism to their own AI-assisted judgment that they demand from engineers, the organization's culture will take its cue from their behavior, regardless of what the review policy says. That means slowing down on high-consequence decisions, seeking disconfirming evidence, and recognizing that ‘AI helped me think this through faster’ is not the same as "this is correct."

Teams calibrate to what leadership visibly does under pressure, not to what the rollout memo says. If the CTO treats AI-assisted judgment as self-evidently trustworthy because it's fast and it's theirs, that's the norm that propagates down, no matter how good the engineering verification process looks.

My advice: Name it explicitly, out loud, to the leadership team — not just "let's use AI to move faster" but "we are all equally susceptible to trusting confident output over correct output, including me, and here's how I want to be checked on that." Build the same kind of friction into high-stakes leadership decisions that we built into code review: a second read, a named skeptic, a deliberate pause before AI-accelerated conclusions turn into board commitments or people decisions.

The responsibility doesn't shrink as AI takes on more of the work. It concentrates at exactly the points where a human still has to be the one accountable for what happens next — and the least examined of those points is usually the leader's own desk.

Khader Mohammed

Khader Shares

Most leaders act like they are exempt from the same failure modes they’re guarding against in their teams. They aren’t…My advice: Name it explicitly, out loud, to the leadership team — not just “let’s use AI to move faster” but “we are all equally susceptible to trusting confident output over correct output, including me, and here’s how I want to be checked on that.” The responsibility doesn’t shrink as AI takes on more of the work. It concentrates at exactly the points where a human still has to be the one accountable for what happens next…

Follow along

You can follow along with Khader Mohammed's work on LinkedIn. And check out FalconRock and StonyPoint.

More interviews are coming soon on The CTO Club!

You may also like