What investors actually ask about your AI-generated codebase

June 23, 2026startups9 min read

TechCrunch reported that a quarter of Y Combinator's Winter 2025 batch had codebases that were 95% LLM-generated. That changed the investor question. In vibe coding diligence, "did you write it?" is no longer useful. The harder question is: do you understand what you shipped?

Technical due diligence, AI startup valuation, and codebase provenance now meet here. A founder can ship a real product with Cursor, Lovable, Bolt, Replit, or Claude Code, and investors will not automatically punish that. They will punish the founder who cannot explain the auth flow, the AI cost per active user, or who owns the rebuild when the first enterprise customer asks for security receipts.

This post is not a warning against AI-generated code. We use AI every day inside our AI and engineering work. It is a warning against walking into a seed meeting with a working demo and no operational grip on the codebase underneath it.

Investors stopped asking whether AI wrote it

The old diligence script assumed the codebase had a human author. Investors asked about the stack, the architecture, and whether the team had the technical depth to keep shipping. With vibe-coded apps, the first version may have been assembled by a founder who can describe the product but cannot trace a request from browser to database.

That does not make the company unfundable. It changes the test. More diligence conversations now ask whether the founder can read the code well enough to own the risk.

The seven questions are becoming predictable: what percentage of the code is AI-generated, who reviewed it, where are the secrets, what is tested, what is the AI cost per active user, can the system handle 10x traffic, and who maintains it if the first engineer leaves. These are not trick questions. They are the investor trying to understand whether the codebase has an owner.

If your answer is "the code works," you have not answered the question. Imagine you're a solo founder pitching a pre-seed round with 2,000 active users and a Lovable-built B2B app. A partner might ask you to screen-share, open the payment webhook, and explain what happens when Stripe retries a failed charge. If you need to re-prompt the tool to understand your own billing path, the investor has learned something important.

Model the haircut before the investor does

There is no clean public benchmark that says "vibe-coded startups trade 23% lower." The market is too new, and good companies break averages quickly. But the downside model is easy to understand once you put numbers on unscoped technical risk.

FutureSight's summary of Carta data puts the 2025 median seed round around a $20M post-money valuation, with a $4M raise. If an investor believes $50K-$500K of hardening or rebuild work is still ahead, and also sees fragile AI gross margins with no human owner for core flows, that risk does not sit outside the round. It gets priced into the round.

As scenario math, at $20M post-money, a 20% haircut means $4M of valuation gone before you negotiate terms. At 30%, it is $6M. The investor is not being philosophical about vibe coding. They are asking whether the next check funds growth or pays for cleanup that should have been scoped before the pitch.

The same risk can get priced harder at Series A because the questions get less forgiving. Seed investors can underwrite a messy product with strong founder velocity. Series A investors need to believe the product can support more customers, more employees, and more revenue without turning the next six months into rescue engineering.

The rebuild plan is part of the pitch

Founders often bring the wrong artifact. They bring a product demo, a deck, maybe a Loom. What they need beside it is a rebuild plan.

That plan does not need to say "we are throwing everything away." It should say which modules are safe, which modules need replacement, in what order, by whom, on what timeline, and at what cost. A credible answer might be: "We estimate $180K and four months to harden auth, payments, and the data layer; the product can keep shipping while that happens."

That answer is fundable because it converts unknown risk into scoped work. It also shows that you understand the difference between a prototype that validates demand and a product that can survive customers, audits, and employees.

The founders who struggle are the ones who say, "we will hire engineers after the round." Investors hear that as: the codebase has no owner today, the first hire inherits a black box, and the first 90 days after funding will be spent figuring out what was built.

That is close to the diligence frame in JPMorgan's founder guide: security and compliance, scalability planning, quality assurance, and technical debt management. Not "AI-generated code is bad." More like: prove the system can survive the next stage.

Codebase provenance beats founder confidence

Codebase provenance is a boring phrase for a very practical document. It lists which tools generated which parts of the app, which files were rewritten by humans, which flows have tests, which secrets have been rotated, and which parts nobody has reviewed yet.

This matters because AI-generated code can look coherent while hiding structural debt. It can make the happy path pass, scatter business logic across three files, ship a key into the browser, and create a database policy that checks whether a user is logged in rather than whether the row belongs to that user.

Investors do not expect perfection at pre-seed. They do expect a map. If you can show a one-page ownership audit, a test matrix for auth and billing, a security scan, and a list of unresolved risks, you change the conversation from "trust me" to "here is the surface area."

This is also where AI product founders need an evaluation pipeline if model output is part of the product. Manual testing is not enough. Bring the golden dataset, the CI gate, the last 30 days of eval diffs, and the cost table that shows what each active user costs by plan.

The code works is no longer an answer

"The code works" means it works under the conditions you have already seen. Investors are trying to price the conditions you have not seen yet: 10x traffic, a security questionnaire, a failed payment spike, a model price change, an engineer leaving, or a customer asking for audit logs.

This is why AI gross margin has become part of technical diligence. Bessemer's 2025 dataset on AI companies put early gross margins around 25%, far below traditional SaaS expectations. ICONIQ's tracked trajectory moved from 41% in 2024 to 45% in 2025 and 52% in 2026, but that path requires actual cost work: caching, model routing, batching, prompt compression, and tier-level pricing.

If you do not know your AI cost per active user, the investor assumes the worst. If you know it, and you can show the path to 60% gross margin, the conversation changes. You are no longer selling a demo. You are showing control over the machine that makes the demo economically viable.

Security works the same way. A scan report, a secrets-rotation policy, Row Level Security coverage, and a human code review do not make a codebase perfect. They prove that someone is responsible for finding the next failure before a customer or attacker does.

Base44 did not win because the code was magical

Base44 is the cleanest proof that vibe-coded products can create real outcomes. Wix announced the acquisition for approximately $80M of initial consideration plus earn-outs after roughly six months. TechCrunch reported that Base44 was bootstrapped, had eight employees, reached about 250K users, and made $189K of profit in May. That is not a toy outcome.

But the lesson is not "investors do not care about code." Base44 sold to a strategic buyer with distribution, engineering capacity, and a reason to absorb the maintenance risk. The product had traction strong enough to make the codebase a solvable problem.

Lovable shows the same pattern at platform scale: a $7.5M pre-seed in 2024, a $200M Series A at a $1.8B valuation, and a later $330M Series B at a $6.6B valuation. Anything reached $2M annualized run rate in two weeks, then raised $11M at a $100M valuation. In those cases, revenue and distribution changed the diligence math.

The pattern is simple: when revenue is real, vibe coding can be an acceleration story. When revenue is not real, it becomes a risk story. The same AI-generated codebase can read as speed in one meeting and debt in another, depending on the founder's grip and the traction behind it.

Bring the documents before they ask

The best founders do not wait for diligence to expose the gap. They bring the gap into the room with a plan attached.

Start with the three documents that change the meeting fastest: an ownership audit, a rebuild scope, and cost and security evidence. Then add the rest.

For any vibe-coded product, bring an ownership audit, a rebuild plan, an architecture diagram, a maintenance plan, distribution numbers, and security receipts: SAST or dependency scan, secrets-rotation log, auth/RLS review, and a named owner for remediation. If model output is the product, bring evals too: the golden dataset, the CI gate, the last 30 days of output diffs, and cost per active user by plan. If not, bring an auth and billing regression test matrix.

You do not need a 40-page binder. You need short artifacts that make the codebase legible. A two-page rebuild plan beats a vague promise. A one-page cost table beats a confident statement that margins will improve later.

At appssemble, this is the work we walk founders through before a pitch: audit what exists, scope what must change, and separate "prototype debt" from real company risk. Sometimes the answer is a two-week hardening sprint. Sometimes it is a route-by-route rebuild. The point is to know before the investor does.

The fundable founder owns the system

Vibe coding lowers the cost of getting to a product. It does not remove the responsibility for understanding that product once users, revenue, and investor money are involved.

The founder who wins is not the one who pretends every generated line is production-grade. It is the one who can say: here is what AI wrote, here is what humans reviewed, here is what we are replacing, here is what it costs to run, and here is why customers keep coming back.

If you are raising with a vibe-coded product and want a straight read before diligence starts, book a call. We walk founders through the ownership audit and rebuild scope before the pitch, so the investor meeting is about growth instead of unknown engineering debt.