ProductsRabbit HoleCase StudiesProving GroundBuild YoursResearchAbout
The Rabbit Hole · Part VIII

Building with AI

Less “everyone is a programmer now.” More “the prototype is free; the product still costs what it always did.”

October 2026·Michael Gibbs, Onyx AI Labs·Guide ~50 min · with every panel open ~80 min · 1 demo

Read the prose straight through for the argument. Open “Go deeper” under any section for the boards, diagrams and sources behind it, or switch them all on from the chapter bar.

In this part

Six rabbit holes, and a line across the middle of them.

Part V explained the coding harness as a tool. Part VIII is about the practice, and about one line. Below it, anyone can now get working software from a description in an afternoon, and that is a real capability. Above it, the software has to be something other people can depend on, and every cost that was ever in software comes back, unchanged. Most of the trouble with AI-built software is a thing built below the line being run as if it had been built above it.

The first section is the free part: what vibe coding actually is, who is doing it, what they say about it, and what the experiments say. The second is the ladder and the line: six kinds of thing you can build, where AI pays, and the four questions that tell you a thing has crossed. The third is one afternoon below the line, invented and labelled as such, including the part where it breaks.

The fourth is the section this chapter exists for: what happened when I took my own vibe-coded application to people who buy software for organisations, the list that came back, and what the second application needed that the first never did. The fifth is doing it properly: the practice developers have converged on, what goes wrong, when to hand a prototype over, and what to expect if you manage the people doing this. The sixth is Monday.

The rule for the whole chapter is two sentences. The model writes the code. You still own what it does, and nobody has found a way to delegate that.

01
The free part
Three weeks from nothing to a working app. What “vibe coding” means, who is doing it, and the experiments that say the speed gain is not what you think.
02
The ladder and the line
Formula, script, internal tool, prototype, product, system. Where AI pays, where the old costs come back, and the four questions that find the line.
03
An afternoon below the line
One manager, one CSV, one internal tool. The real sequence, including the part where it breaks, and what you have at the end.
04
Above the line
What an enterprise buyer asked for, item by item. What Navigator needed that Legion never did. When to stop patching and hand it over.
05
Doing it properly
The practice that works, what goes wrong, three stories, and what to expect if you manage developers.
06
Use it Monday
Build one throwaway thing, five rules beyond a toy, and the one question before a product.
01 / 06

The free part

The cost of a first working version fell to almost nothing. The cost of a second version did not.

Describe · run · repeat

What is actually new, the term everyone is using defined plainly, numbers on who is doing it, and the experiments that measured instead of asked. It opens with my own first build, because the free part is real and I want you to take it seriously before I tell you where it stops.

01 · The free part

Three weeks from nothing to a working application. That part is real.

For a non-coder it is a big step to make your first AI creation. It can be a document, a workflow or an app. Trying something new is not natural to everyone, and AI is about as different as it gets. I am not quite a non-coder: I was building software thirty years ago, though those skills were not at the front of my mind when I started. What I did have was a working understanding of IT infrastructure, governance and security in an enterprise environment. Hold that thought. It is the whole of section four.

My first attempt at a real application was an experiment on the idea of an LLM council. You pose a question, several different models answer it independently, they argue over each other’s answers, and you get one finished answer that is supposed to be the best of them, with the points of agreement and disagreement marked so you can see what to decide. It is a good idea, and it is still a product: Legion, which you can try.

The basic logic took about a week. The user experience I wanted took another. Getting it to work properly on a phone took a third. Three weeks, from nothing, to a working application that did a useful thing and looked like software. I had not typed most of the code, and I had read less of it than I should have. It worked.

That is the free part, and it is not a trick. Two years earlier the same three weeks would have produced a design document and a quote. The rest of this section is about who is doing this, what they say it is like, and what the experiments say. Section four is about what happened when I tried to sell it.

Three weeks, zero to working. The capability is real. Where it stops is the rest of this chapter.

Go deeper3 panels · 1 source

Week one · the logic

Five models, four rounds: independent answers, cross-examination, refinement, synthesis. The council works on paper and then on screen.

Week two · the experience

Side-by-side answers, conversation memory, export and share links. The part that makes it feel like a product rather than a script.

Week three · the phone

Mobile layouts, touch, the things that work on a laptop and break on a train. The part people forget to budget.

Sources (1)
  1. https://www.onyxlegion.ai/
01 · The free part

“Vibe coding”: what it means, and where it stops.

The term was coined by Andrej Karpathy in a post on X in February 2025, and it is worth quoting precisely because the popular version has drifted. He described a new kind of coding where you “fully give in to the vibes, embrace exponentials, and forget that the code even exists”; he accepts every change without reading it, pastes error messages back in without comment, and says it “mostly works”. He also said, in the same post, that it was “not too bad for throwaway weekend projects”.

That caveat is the whole subject of this chapter. Martin Fowler’s gloss is the clearest: the defining trait is forgetting the code exists, and that is both what makes it useful and what limits it. Vibe-coded output often has problems with maintainability, correctness and security, so it suits disposable software for a limited audience and carries particular risk when it is widely used or touches sensitive data. Most professional use of these tools is something else.

The model writes the code, but a person reads the diff, runs the tests and cares about the structure. Fowler calls that agentic engineering and argues the two should be kept distinct even though “vibe coding” has become the popular word for both; the OpenSSF glossary draws the same line, saying that if a human reviews the generated code it is not vibe coding. Both practices are legitimate.

Vibe coding is a perfectly good way to make a thing. It is a terrible way to own one.

Go deeper2 panels · side by side · 2 sources
Karpathy, February 2025

Forget the code exists.

  • “A new kind of coding I call ‘vibe coding’, where you fully give in to the vibes, embrace exponentials, and forget that the code even exists.”
  • “I ‘Accept All’ always, I don’t read the diffs anymore.” “I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.”
  • His own caveat, same post: “not too bad for throwaway weekend projects.”
  • What it is: describe, run, describe the problem, run again. You never look inside. Anyone can do it, and that is the point.
What it is not

Engineering with a model.

  • Martin Fowler: the defining trait is forgetting the code exists. That “gives it its usefulness and its limits”: it suits disposable software for a small audience and is risky when widely used or touching sensitive data.
  • Most professional use is different: the model writes, the human reads the diff, runs the tests and cares about the structure. Fowler calls that agentic engineering; the OpenSSF glossary says that if a human reviews the code, it isn’t vibe coding.
  • Both are real. The trouble starts when a thing built the first way is run as if it were built the second.
Sources (2)
  1. https://martinfowler.com/bliki/VibeCoding.html
  2. https://glossary.openssf.org/vibe-coding/
01 · The free part

Nearly everyone who writes code now uses it. Daily.

Three numbers, from three different populations, say the same thing. Google’s DORA team surveyed nearly five thousand technology professionals for its 2025 State of AI-assisted Software Development report, published in September 2025. Ninety per cent reported using AI at work, and more than eighty per cent believed it had increased their productivity.

Stack Overflow’s 2026 developer survey, published on 6 October 2026, had more than thirty thousand respondents in total and about sixteen thousand seven hundred answering the AI questions. It found that seventy-three per cent of those who use AI coding assistants or agents use them daily, and that about a third of daily users spend four or more hours a day with them. Sixty-six per cent use coding agents, not just chat.

GitHub’s Octoverse report for 2025 found that nearly eighty per cent of new GitHub developers use Copilot within their first week, and that more than thirty-six million people joined GitHub in the year, roughly one a second. Each has a sampling bias: Stack Overflow’s respondents come mainly through its own channels, DORA’s through Google’s, and GitHub counts only its own users. Taken together they still leave little room for doubt.

Among people who write code for a living, using a model to help is now the default, and a large share of them are using agents that write and run code rather than autocomplete.

Adoption is settled. The interesting question now is what they are building, and who checks it.

Go deeper3 panels · 3 sources
90%

of nearly 5,000 technology professionals surveyed by Google’s DORA team report using AI at work. Over 80% believe it has made them more productive.

DORA, Sep 2025
73%

of developers who use AI coding assistants or agents use them every day. A third of daily users spend four hours a day or more with them.

Stack Overflow, Oct 2026 (n≈16,700)
~80%

of new GitHub developers use Copilot within their first week. Over 36 million people joined GitHub in the year to October 2025, about one a second.

GitHub Octoverse, Oct 2025
Sources (3)
  1. https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report
  2. https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/
  3. https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typeScript-to-1/
01 · The free part

The same people trust it less than they use it.

The adoption numbers come with a second set of numbers from the same surveys, and they matter more. Stack Overflow’s 2025 survey, with forty-nine thousand responses, found that more developers actively distrust the accuracy of AI tools (forty-six per cent) than trust it (thirty-three per cent), that only three per cent highly trust the output, and that trust in accuracy had fallen from forty per cent to twenty-nine per cent in a year.

Two-thirds named “AI solutions that are almost right, but not quite” as their biggest frustration, and forty-five per cent said debugging AI-generated code is more time-consuming than writing it. DORA found the same gap from the other direction: ninety per cent use it, thirty per cent have little or no trust in what it produces, and that figure had barely moved since the previous year.

The 2026 Stack Overflow survey adds two details: ninety-three per cent say they need source attribution before they trust an AI answer, and only twenty per cent use AI for deploying, operating or troubleshooting production systems, which is where the stakes are highest. Experienced users have simply learned what the tools are like. They are fast and fluent, and confidently almost right. Code that is almost right runs. The demo works.

The failure is in the edge case nobody tried, and it is found after shipping. Every practice in section five exists to catch “almost right” before that.

They use it because it is fast. They distrust it because it is confidently almost right. Both are true, and your process has to assume both.

Go deeper4 panels · 3 sources

46% vs 33%

More developers actively distrust the accuracy of AI tools than trust it. Only 3% “highly trust” the output. Trust fell from 40% to 29% in a year.

66%

say the biggest frustration is “AI solutions that are almost right, but not quite.” 45% say debugging AI-generated code takes longer than writing it.

30%

of DORA’s respondents report little or no trust in AI-generated code, even though 90% use it. DORA calls this the trust gap, and it barely moved year on year.

93%

say they need source attribution before they will trust an AI answer (2026). Only 20% use AI to deploy, operate or troubleshoot production systems.

Sources (3)
  1. https://adtmag.com/Blogs/WatersWorks/2026/01/Stack-Overflow-Survey.aspx
  2. https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/
  3. https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report
01 · The free part

The speed gain is not what you think. Here is what the experiments say.

Almost everything you will hear about AI and developer productivity is self-report. The experiments that exist mostly agree with the self-reports in direction and disagree in size: Cui and colleagues ran three field trials with GitHub Copilot at Microsoft, Accenture and a Fortune 100 manufacturer, about 4,900 developers in all, and found completed tasks up 26% on average, with juniors gaining most; Part IX has the table.

The experiment that complicates the picture, and the one to carry if you only carry one, is a randomised controlled trial by METR, published on 10 July 2025. Sixteen experienced open-source developers, each with years of history in the repositories concerned, worked through real issues from those repositories; each issue was randomly assigned to allow or forbid AI tools, mostly Cursor with Claude models, and the time was measured. Before starting, the developers forecast that AI would cut their time by about twenty-four per cent, and outside experts forecast even larger gains.

The measured result was the opposite: tasks with AI allowed took about nineteen per cent longer. After the study the developers still believed they had been about twenty per cent faster. Three caveats. It is one study with sixteen people, so the confidence interval is wide. The tools were early-2025 versions and have improved since.

And the setting was the hardest possible case for AI: experts, on mature code they knew intimately, with high standards for what counts as done; the gains that the field trials report are concentrated in the opposite case, unfamiliar code, boilerplate and new projects.

METR ran a second study from August 2025 with fifty-seven developers and over eight hundred tasks on late-2025 tools. In February 2026 it reported that returning developers looked about eighteen per cent faster and new recruits about four per cent faster, with confidence intervals that straddle zero. It said plainly that the data were unreliable, because developers increasingly refused to work without AI and withheld tasks from the no-AI condition, and that it was redesigning the study.

METR’s own reading is that late-2025 tools probably do speed experienced developers up, and that it cannot yet say by how much. So the number to carry is the gap. Felt speed and measured speed differed by about forty points in the same people, and nobody in the study noticed. If you are going to measure this in your own team, measure it. Do not ask.

Early-2025 tools, experts on their own code. METR’s late-2025 follow-up leaned the other way but it calls that data “very weak”. The felt-vs-measured gap is the finding to keep.

Go deeper3 panels · 3 sources
−24%

How much faster 16 experienced open-source developers predicted AI would make them, before the study. Economists and AI experts predicted even larger gains.

METR, Jul 2025
+19%

How much longer they actually took with AI tools (mostly Cursor with Claude), on real issues in repositories they had worked on for years. Measured, not asked.

METR, Jul 2025 (RCT, 16 devs, ~246 issues)
−20%

How much faster they believed they had been, after the study, with the stopwatch saying otherwise. The feeling of speed survived the evidence.

METR, Jul 2025
Sources (3)
  1. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/
  2. https://evals.alignment.org/blog/2026-02-24-uplift-update/
  3. https://simonwillison.net/2025/Jul/12/ai-open-source-productivity/
01 · The free part

Two different revolutions, often confused for one.

Two things changed at once, and the public conversation runs them together. For someone who has never written code, the change is a new capability. You can describe a tool, a report, a small web page, in plain language, and have a working version in minutes; you change it by describing the change. That was not possible before late 2024. The output is often useful: a script that renames files, a form that collects responses, a page that turns a spreadsheet into a chart.

What you do not get, and cannot get without someone who reads code, is any idea whether it is correct beyond the cases you tried, whether it is secure, or whether it will still work when the data changes. For someone who writes code for a living, the change is different: the typing is largely gone and the thinking is not.

On the jobs where the pattern is known, boilerplate, tests, database migrations, documentation, a new language or library, most practitioners report large speedups, though almost all of that is self-report. On novel design and on code you know intimately, the one measurement that exists says it can be slower. The work moves from writing to specifying, reading and reviewing; the Stack Overflow finding that forty-five per cent spend longer debugging AI code than writing it is the cost side of that move.

Both groups now need the same thing: someone who can tell right from almost right. The first group has to borrow that person. The second group has to become them.

The first group gained a capability. The second gained a very fast, very confident junior. Both still need someone who can tell right from almost right.

Go deeper2 panels · side by side · 3 sources
If you have never written code

You can now make a thing.

  • Describe a tool in plain language; get a working version in minutes. Change it by describing the change. This was not possible in 2023.
  • What you get: a script, a small web app, a spreadsheet with logic, a prototype you can show someone. Often genuinely useful.
  • What you do not get: any idea whether it is correct, secure, or will still work next month. You cannot read it, so you cannot tell.
  • Fine for rungs 1–4 of the ladder in section two. Section three shows one being built.
If you write code for a living

Typing gone. Thinking not.

  • Boilerplate, tests, migrations, docs, a new language, an unfamiliar library: several times faster, by most accounts, on the right jobs.
  • Novel design, a codebase you know intimately, subtle bugs: slower or no faster, by the one measurement of experts on their own code.
  • The work moves: less writing, more specifying, reading and reviewing. 45% say debugging AI code takes longer than writing it.
  • Your job becomes deciding what to build, checking what was built, and owning the result. Section five is the practice.
Sources (3)
  1. https://adtmag.com/Blogs/WatersWorks/2026/01/Stack-Overflow-Survey.aspx
  2. https://simonwillison.net/2025/Jul/12/ai-open-source-productivity/
  3. https://martinfowler.com/bliki/VibeCoding.html
Questions to take back

Who around you is already building?

Four questions about what has already been built. The first usually produces a nervous laugh and a spreadsheet macro nobody dares to touch.

  1. Who has already built a tool with AI that other people now rely on? Does anyone know what it does inside?
  2. Where do you think AI has made your developers faster, and how would you know if it hadn’t?
  3. Which jobs in your team are “pattern known, typing heavy”, and which are genuinely novel?
  4. If a tool was built in an afternoon and nobody can read it, who owns it when it breaks?
02 / 06

The ladder and the line

Six kinds of thing you can build. AI pays for the first four. The line between four and five is the most important line in this chapter.

Where free stops

The mental model for the rest of the chapter: a ladder of six kinds of software, a table of the costs that come back above the line, four questions that tell you which side of it a thing is on now, and one dated board of tool names.

02 · The ladder and the line

The ladder of building. AI makes rungs 1 to 4 almost free.

This ladder is a teaching device, not a standard, and it exists so that people can place the thing they built or were sold. Rung one is a formula: a spreadsheet cell, a macro, a regular expression; if it is wrong you lose an hour. Rung two is a script that does one thing to one file and runs on your laptop when you run it; if it is wrong, you notice.

Rung three is an internal tool: the same script with a form on the front, used by your team, running on someone else’s machine, which means the first time it breaks you are not there. Rung four is a prototype, built to show customers and learn something; it looks real and is not, and the cost of it being wrong is your credibility if anyone mistakes it for rung five.

Rung five is a product: people pay for it, it holds their data, it runs while you sleep, and it must still work in a year when the libraries it uses have changed. Rung six is a system other systems depend on: payroll, billing, anything a regulator cares about. It cannot be “mostly working” because the things downstream of it assume it works. The claim of this chapter is simple. AI has made rungs one to four nearly free, for anyone, in an afternoon.

It has not changed the cost of rungs five and six much at all, because those costs were never mainly the cost of writing code. They are the cost of security, data, uptime, maintenance and liability, which the next section takes one at a time. The line between rung four and five is the most important line in this chapter.

What did you build? Find its rung and the costs that come back

Try it

Pick the kind of thing you built. See who pays if it is wrong and which of the old costs apply at that rung.

The ladder from this section as a self-check.
What it is
The ladder from this section as a self-check. No model.
What it shows
Which rung you built and which costs apply there.
What it does not show
Which rung you are standing on now, or the cost of each item. Ticking a question switches on the obligations that come with it, whatever rung you built.
Go deeperladder · 1 source
1

A formula

One cell, one macro, one regex. Saves an hour a week.

Who pays if it’s wrong
You, mildly
2

A script

Does one thing to one file. Runs on your laptop when you run it.

Who pays if it’s wrong
You
3

An internal tool

Your team uses it. CSV in, report out. Somebody else’s laptop now.

Who pays if it’s wrong
Your team
4

A prototype

Shown to customers to learn something. Looks real. Isn’t.

Who pays if it’s wrong
Your credibility
5

A product

People pay. It holds their data, runs when you sleep, and must still work in a year.

Who pays if it’s wrong
Customers, you
6

A system

Other systems depend on it. Payroll, billing, anything regulated. It cannot be “mostly working”.

Who pays if it’s wrong
Everyone
← AI gets you here for the price of an afternoonthe old costs return: security, data, uptime, upkeep, liability →
Sources (1)
  1. https://martinfowler.com/bliki/VibeCoding.html
02 · The ladder and the line

Above the line, the old costs come back. All of them.

Five costs come back above the line, each with the reason AI did not remove it. Security comes first. Below the line only you can reach the thing, so a mistake stays local. Above it strangers can reach it, which means authentication, permissions, input checking, secret handling and updates, for as long as it runs.

Veracode’s July 2025 report tested more than a hundred models on eighty coding tasks and found they chose the insecure option, and so introduced a known vulnerability, in forty-five per cent of coding tasks. Someone still has to check. The second is data. A prototype holds a CSV you can re-export; a product holds other people’s data, with backups, retention, access control and the law in each country they live in.

A model will build the table and will not take responsibility for its contents. The third is uptime. A script runs when you run it. A product runs at three in the morning, which means monitoring, alerting, someone on call and a plan for the day the host goes down. Nobody is on call for a prompt. The fourth is maintenance. Below the line you rebuild it if it rots. Above it, dependencies change, the model’s architectural choices age, and the person who built it leaves.

Code nobody can read is code nobody can fix, and regenerating it produces a new program with new bugs. The fifth is liability: a contract, a refund, a regulator, and the tribunal in Part IV that did not care that a bot wrote the words. These were always the real costs of software. Writing the code was the cheap part even before the model did it. The defensible claim is narrower than the slogan. AI dramatically cuts the effort to reach a working version, and it helps with the engineering above the line too. It does not remove the obligations of running software other people depend on.

The prototype felt free because nobody had asked these questions of it yet. The product costs what it always did because the answers are yes.

Go deepertable · 2 sources
The costRungs 1–4 · up to prototypeRungs 5–6 · product, systemWhy AI didn’t remove it
SecurityOnly you can reach it. Mistakes stay local.Strangers can reach it. Auth, permissions, input checks, secrets, updates. Forever.Models write insecure code ~45% of the time (Veracode). Someone has to check.
DataA CSV you can re-export.Other people’s data: backups, retention, who can see what, the law in each country.A model builds the table. It does not take responsibility for what is in it.
UptimeRuns when you run it.Runs at 3am. Monitoring, alerts, someone on call, a plan for when the host is down.Nobody is on call for a prompt.
MaintenanceRebuild it if it rots. Cheap.Dependencies change, the model’s choices age, the person who built it leaves.Code you cannot read is code you cannot fix. Regenerating it is a new program.
LiabilityYours, and small.Contracts, refunds, regulators, the tribunal that did not care that a bot wrote it.Air Canada (Part IV): you own what your software says and does.
Sources (2)
  1. https://www.veracode.com/press-release/ai-generated-code-poses-major-security-risks-in-nearly-half-of-all-development-tasks-veracode-research-reveals/
  2. https://martinfowler.com/bliki/VibeCoding.html
02 · The ladder and the line

The line is not in the tool. It is four questions, and any one yes puts you over it.

People look for the line in the technology. It is not there. The same model, the same harness and the same afternoon produce a rung-three tool and a rung-five liability; the difference is in what happens to the thing afterwards. Four questions find it.

Does anyone other than you depend on it? The moment a colleague stops doing the task by hand because your tool does it, your tool is infrastructure, whatever it looks like. Does it hold data you would have to report losing? Names, emails, a customer’s documents, a pay rate. A CSV you can re-export is below the line; a table other people fill in is above it. Does it run when you are not watching? A script you run is yours. A page that is up at three in the morning taking input from people you have never met is not. Could someone ask about it? A customer, an auditor, a regulator, a court, the person whose data it holds. If the answer is “yes, and I could not explain what it does”, you are over.

Any one of these is enough. Most things cross on the first one, because a colleague found the link useful. Nobody decides to cross the line. They notice afterwards, which is why section four exists and why the last section asks you to write the line down for your team. The ladder tells you which rung you built. These four questions tell you which rung you are standing on now.

Nobody decides to cross the line. They notice afterwards.

Go deeper4 panels

Depended on

Someone else stopped doing it by hand. Your tool is now infrastructure.

Holds data

Anything you would have to report losing. Not a CSV you can re-export.

Runs unattended

Up at 3am, taking input from strangers, while nobody watches.

Could be asked about

A customer, an auditor, a regulator, a court. “I could not explain it” is the wrong answer.

02 · The ladder and the line

The building tools, by shape of job. Checked October 2026.

This is the chapter’s one board of product names. It is dated, and nothing else in the chapter depends on it. The useful way to sort the tools is by the shape of the job, not by brand. Chat and copy-paste is the cheapest and most common: ask the chat app for a formula or a script, run it yourself, paste the error back. You are the harness, in Part V’s terms.

App builders from a prompt, Lovable, Bolt from StackBlitz, v0 from Vercel and Replit’s Agent, produce a hosted web application with a database from a description, billed in credits per message; Addy Osmani’s comparison of the first three is the clearest neutral overview, and Lovable’s own documentation carries the warning in the table about row-level security, which is the subject of a story in section five.

Coding harnesses, Claude Code, Codex, Cursor and Gemini CLI, are Part V’s subject and are not repeated here: they work inside a repository, run tests and ask permission, and they are where professional developers now live. Spreadsheet and document copilots write formulas and charts inside the file you already have: the lowest risk and the lowest ceiling, and the formula still needs checking.

Automation builders, n8n, Zapier and Make, are often the right answer instead of building software at all, with an AI step where judgement is needed, as Part IV showed. The prices in the footnote are from the two vendors’ own pricing pages, opened in October 2026, and feed the budget figures in the managers’ section of section five. Checked October 2026; re-check before you quote any of it.

Go deepertable · 5 sources
Shape of jobExamplesWhat you getRungsOne thing to know
Chat + copy/pasteClaude, ChatGPT, Gemini (the chat apps)A formula, a script, a function. You run it yourself.1–2Cheapest. You are the harness. Paste the error back in.
App builder from a promptLovable, Bolt (StackBlitz), v0 (Vercel), Replit AgentA working web app with a database, hosted, in an hour. Credits per message.3–4Lovable: “missing RLS policies are the most common way app data gets exposed.” Check before launch.
Coding harnessClaude Code, Codex, Cursor, Gemini CLIA session in your repo: reads, edits, runs tests, asks permission. Part V.2–6Where developers live. Plan mode, rules file, permissions. See Part V.
Spreadsheet / doc copilotCopilot in Excel, Gemini in Sheets, Claude in ExcelFormulas, cleanup, a chart, a draft. Inside the file you already have.1Lowest risk, lowest ceiling. Check the formula it wrote: it is still a formula.
Automation buildern8n, Zapier, MakeGlue between systems, with an AI step where judgement is needed (Part IV).2–3Not “building software”, but often the right answer instead of it.

Checked October 2026. These change: re-check before you quote them. Examples, not endorsements. Model prices, for the budget section: Anthropic Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, Haiku 5.5 $0.10/$0.50; OpenAI GPT-6 Astra $10/$50, 6.1 Sol $2/$10, Luna $0.10/$0.50 per million input/output tokens.

Sources (5)
  1. https://addyo.substack.com/p/ai-driven-prototyping-v0-bolt-and
  2. https://docs.lovable.dev/integrations/supabase
  3. https://docs.replit.com/core-concepts/agent
  4. https://platform.claude.com/docs/en/about-claude/pricing
  5. https://developers.openai.com/api/docs/pricing
Questions to take back

Where on the ladder are your things?

Four questions to try on anything you have built. The first is the one to dwell on: the gap between the rung a thing is on and the rung its users think it is on is where the incidents in section five live.

  1. Name one thing built with AI that you know of. Which rung is it on, and which rung do its users think it is on?
  2. Which of the five returning costs would hurt first if a rung-3 tool quietly became rung 5?
  3. What is the cheapest thing on the ladder that would save your team real time this month?
  4. Who decides when something crosses the line, and do they know they are deciding?
03 / 06

An afternoon below the line

A manager, a CSV export, an afternoon. The real sequence, including the part where it breaks.

Describe · build · break · fix

One invented build, labelled as such throughout, so that people who have never done this can see the real rhythm: describe, it builds, it breaks, you paste the error, it fixes, you add a check, you ask it to explain, you ship to three people. Then an inventory of what you have and what you don’t. This is rung three, done well.

03 · An afternoon below the line

The build sequence. It breaks. That is normal.

Here is what an afternoon with one of these tools actually looks like, for a manager who does not write code. The names, numbers and report are invented; the rhythm is not. You start by describing the job in plain language and giving it the input: the weekly CSV export, and the report the boss wants. It reads the header, writes a script and a page to show the result, and picks a chart library you have never heard of. You run it.

It crashes, because the date column has two formats and row one thousand four hundred and eight is the first one in the second format. There is always a row one thousand four hundred and eight. This is the moment people who have not done this expect to be the end. It is the middle. You copy the error, paste it back, and add the one fact you know that it does not: some dates are day-month, some are ISO. It fixes that, runs again, and the report appears.

Now the step most people skip: you ask it to add a check that every region in the export is one of the six you know, and to fail loudly on anything else. It fails, because one region is spelled two ways in the export, which the model could not have known. You fix the names. Then you ask it to explain what the script does, step by step, as if you will have to fix it without the model, and you keep that explanation next to the script.

Finally you give it to three colleagues, tell them it is a prototype and what it does not do, and watch what breaks. That is still a test. The day one of them stops doing the task by hand because your tool does it, the line in section two has been crossed, whatever you called it. The colours are the series’ own: gold where the model wrote, blue where code ran, coral where you decided. Notice how often coral appears. The model did the typing. You did the judgement, six times.

Go deeper2 step diagrams · 2 sources
HUMAN

Describe

“Here is the weekly sales CSV. Make the one-page report my boss wants: totals by region, top ten accounts, week on week.”

MODEL

It builds

Reads the CSV header, writes a script and a small page. Chooses a chart library you have never heard of.

CODE / TOOL

It breaks

Runs it. A date column has two formats. The script crashes on row 1,408 of 1,650.

HUMAN

Paste the error

You copy the red text and paste it in. You add: “some dates are DD/MM, some are ISO.”

MODEL

It fixes

Handles both formats. Runs again. Report appears. The regional totals look right. Look.

HUMAN

Add a check

“Add a test: every region must be one of our six names. Fail loudly on anything else.” It fails. A region was named two ways.

HUMAN

Ask it to explain

“Explain what this does, step by step, as if I will have to fix it without you.” Read it. Keep it next to the script.

HUMAN

Ship to three people

Share the folder, or the hosted link. Tell them: it is a prototype, here is what it does not do. Watch what breaks.

Model writes / judgesCode / tool runsHuman decides

Illustrative build. Names, numbers and the report are invented. The sequence is not.

Sources (2)
  1. https://code.claude.com/docs/en/best-practices
  2. https://developers.openai.com/codex/learn/best-practices
03 · An afternoon below the line

The same afternoon, from the inside.

Part IV showed one agent run as a trace, step by step, so that people could see who did what. This is the same device for the build above, and it is worth reading the coral lines in order, because they are the job. The first coral line is the specification, in one sentence, with the input attached. The second is the error pasted back with the one fact the model lacked: both date formats are real.

The third is the request for a check, which is the step that separates a toy from a tool; the test it produces fails immediately and finds a problem the model could not have known about, a region spelled two ways in the export. The fourth is the decision to merge them and to make the test catch future spellings. The fifth is the request for an explanation written for a reader who will not have the model to hand, which becomes the README.

The sixth is the handover to three colleagues, labelled. The gold lines are the model planning and proposing; the blue lines are code running and reporting, and note that every number in the trace came from a tool run, not from the model. The whole exchange is under half an hour, which is the capability that is new.

And none of the six decisions could have been made by the model, because each depended on knowledge that lived in the manager’s head: what the boss wants, which date formats are real, what a region is called. The tools are very good at the parts between the coral lines. The coral lines are still yours.

Twenty-six minutes of work. Six decisions by a human. The model never knew the region had two spellings. It could not have.

Go deepercode · 1 source
14:05  YOU    here is weekly_sales.csv. build the one-page report: totals by region, top 10 accounts, WoW change
14:06  MODEL  read header (12 columns). plan: parse → aggregate → render HTML. writing report.py + report.html
14:06  TOOL   python report.py           → ValueError: time data "14/10/2026" does not match "%Y-%m-%d" (row 1408)
14:09  YOU    [pastes error] some rows are DD/MM/YYYY, the rest ISO. both are real.
14:09  MODEL  parse both formats; warn on anything else. re-running.
14:10  TOOL   python report.py           → ok. report.html written. 1650 rows, 6 regions
14:12  YOU    add a test: every region must be one of our six names. fail loudly on anything else.
14:13  TOOL   python test_report.py      → FAIL  unknown region "Northwest" (14 rows)
14:13  MODEL  cause: region appears as "North West" and "Northwest". 14 rows. want me to merge them?
14:15  YOU    yes, merge. and add that rule to the test so it catches new spellings.
14:16  TOOL   python test_report.py      → PASS
14:20  YOU    explain what report.py does, step by step, as if I have to fix it without you. save as README.
14:31  YOU    [reads README. shares folder with 3 colleagues: “prototype. doesn’t handle refunds yet.”]

Illustrative trace. Times, figures and file names are invented. Read the coral lines: they are the job.

Sources (1)
  1. https://code.claude.com/docs/en/best-practices
03 · An afternoon below the line

What you now have, and what you don’t.

Take stock at the end of the afternoon. On the left is what you have: a script that produces the report in seconds, correctly for every case you tried; a test that will fail loudly if a region name it does not know appears, which is one more automated check than most business spreadsheets have ever had; a README written for a person; and three users who have been told, in writing, that it is a prototype and what it leaves out.

That is a rung-three internal tool and it is useful. Teams will save hours a week with things like this, and the only reason they could not before is that the hour of writing it cost more than the hour it saved. On the right, what you do not have. There is no login, so anyone with the link or the folder has the data; today that is three colleagues, and links travel.

There are no backups and no history, so a bad export produces a bad report and last week’s version is gone. There is nobody on call: when it breaks while you are away it stays broken, and because nobody else can read it, nobody else can fix it. There has been no security review, no thought about the cases nobody tried, and no plan for the week the sales system adds a column to the export, which it will. None of this is a criticism.

That second list, the things you do not have, is what the line on the ladder means in practice. The failure mode is forgetting which column it is in, and section five has the people who did.

Both columns are fine, as long as everyone who uses it knows which column they are standing in.

Go deeper2 panels · side by side · 1 source
You have

A rung-3 tool. Genuinely useful.

  • A script that turns the weekly export into the report, in seconds, correctly for the cases you tested.
  • One test that will shout if an unknown region appears. That is one more test than most spreadsheets have.
  • A README a human can follow. The first thing the next person will need, and usually the thing that is missing.
  • Three users who know it is a prototype, and a list of what it does not handle. Refunds, for a start.
You do not have

Anything above the line.

  • No login. Anyone with the link, or the folder, has the data. Today that is three colleagues. Links travel.
  • No backups, no history. If the CSV is wrong this week, so is the report, and last week’s is gone.
  • No one on call. When it breaks on a Monday you are away, it stays broken. Nobody else can read it either.
  • No security review, no handling of the cases nobody tried, no plan for when the export adds a column.
Sources (1)
  1. https://martinfowler.com/bliki/VibeCoding.html
Questions to take back

Which afternoon would you spend first?

Four questions to try on anything you have built. The third is the one that turns a toy into a tool: if nobody can name the check, the thing is still a vibe.

  1. Which weekly chore in your team is a CSV going in and a report coming out?
  2. Who are your three colleagues, and what would you tell them it does not do?
  3. What is the one check, like the region test, that would tell you the output is wrong before your boss does?
  4. When the person who built it is on holiday and it breaks, what happens?
04 / 06

Above the line

What an enterprise buyer asks for, and why none of it was in the demo.

The list

The section this chapter exists for: what came back when I showed a working application to people who buy software for organisations, the list in full, what the second application needed that the first never did, and the moment to stop patching a prototype and hand it to engineering.

04 · Above the line

Then came the hard parts. No enterprise buyer would consider it.

Legion worked. It did the thing, on a phone, with a user experience I was proud of. So I did what you do with a working product: I showed it to people who buy software for organisations. What came back was a list, and none of it was in the demo.

Authentication: who are you, and how do we know? Separation of users’ data, so that one customer can never see another’s question, let alone the answer. An administration panel, so that I could manage users without opening a database. A way for users to buy tokens, which means payment processing, which means a payment provider, their rules, and tax. API connections to five model vendors, each with its own keys, rate limits and outages. A way to communicate with users, and a way to do support when something broke at an hour I was asleep. Scaling and load balancing, because a council of five models is slow and expensive per query, and twenty people at once is a different application from one. Hosting on GCP. DNS. Certificates. Backups. A security review. GDPR, because some of those twenty people would be in Europe. You get the picture.

Each item on that list is ordinary. Every piece of serious software has all of them. The point is that the model had built me none of it, had never once mentioned any of it, and had produced something that looked and behaved as if it were complete. Three weeks had made a working application. The list took longer than three weeks, and it was not work the model could do for me, because every item was a decision about my business before it was a piece of code.

Legion has since grown most of that list. Its public page now talks about audit trails, role-based access and sovereign deployment, which is to say the enterprise buyer got their answers. It took a great deal longer than three weeks, and almost none of the extra time was spent on the part the model is good at.

Bottom line: there is a vast gulf between a vibe-coding bruh making cool toys and experiments, and a cloud-deployable application that will pass the most cursory IT review. The toys are worth making. Do not mistake one for the other, and do not let the model’s confidence make the mistake for you.

AI is very good at making things look and act complete. Keep asking what is missing to make this safe, secure and fast enough at scale, and you will find a very deep well.

Go deeper5 panels · 1 source

Identity

Authentication. Separation of each user’s data from every other user’s. An admin panel so you never touch the database by hand.

Money

Buying tokens. Payment processing, a payment provider and its rules, tax in each country you sell to.

Plumbing

API connections to five vendors. GCP hosting, DNS, certificates, backups. Scaling and load balancing for a slow, expensive query.

People

Communicating with users. Support, at the hours they use it rather than the hours you are awake.

Law and review

A security review by someone who did not build it. GDPR, because your users will not all be where you are.

Not one line of this

was in the three-week build, or suggested by the model. It was all decisions about the business first.

Sources (1)
  1. https://www.onyxlegion.ai/
04 · Above the line

What the second application needed that the first never did.

The second application was built for a buyer with a compliance department, which is the most demanding kind. SureStep’s Navigator reads regulatory changes from more than a hundred and fifty bodies, decides whether each one applies to a client’s business, and drafts a plan for a person to approve. I founded SureStep and I am responsible for the LoRA and LLM training behind Navigator, so read the next part knowing that. The model does the reading and the proposing. Everything else in the product is the list from the previous section, built out, and its public specification is a good inventory of what “above the line” means in a regulated enterprise. So here it is, item by item, against what Legion had on day twenty-one, which was none of it.

Identity. Navigator signs people in through the customer’s own identity platform (single sign-on) and gives each role exactly the screens and actions it needs. Tenancy. Each customer’s data is isolated so that there is no query that could cross the boundary; the design keeps them apart, so nothing rests on the code getting it right. Evidence. Every uploaded document is content-hashed and kept in immutable storage, because an auditor’s first question is whether the file is the file. Audit. Every AI decision, every approval and every change is logged and exportable, because “the AI decided” is not an answer anyone in compliance will accept. Approval. A human gate sits on every applicability and impact decision, and low-confidence calls go to a person; the AI proposes, the team disposes. Receipts. Each decision carries a cryptographic signature, so that a year later someone can prove what the system said and when. Certification. SOC 2 Type II, which is months of evidence about how the company operates, not a feature you switch on. Integration. Connectors to the governance, risk and compliance systems the buyer already runs, through the kind of tool plug Part V described (MCP), because an enterprise application that stands alone is a spreadsheet with ambitions.

None of this is model work. The model is the same kind of model in both products, doing the same kind of job: read, judge, draft. What separates a toy from a deliverable is everything around the model, which is Part V’s harness idea at the scale of a company. It is also why the platform Onyx builds, AIOps, is about the controls and the receipts rather than the model. The table has the two side by side.

The model was the same kind of model in both. Everything that made the second one sellable was around it.

Go deepertable · 2 sources
The needLegion, day 21NavigatorWhy it matters
IdentityNot there.Single sign-on through the customer’s identity platform; role-based access.“Who are you, and how do we know?” is the first question on every review.
TenancyNot there.Multi-tenant isolation by design.One customer seeing another’s data ends the contract and starts the lawsuit.
EvidenceNothing to keep.Content-hashed files in immutable storage; attestation workflows.The auditor asks whether the file is the file. Hashes answer; promises do not.
AuditError logs.Every AI decision, approval and change logged; CSV export.“The AI decided” is not an answer. “Here is what it decided, when, and who approved it” is.
ApprovalYou got the answer.Human gates on applicability and impact; low confidence escalates to a person.Part IV’s autonomy dial, set per decision. The AI proposes; the team disposes.
ReceiptsNot there.A cryptographic signature on each decision.A year later, prove what the system said, and who approved it.
CertificationNot there.SOC 2 Type II.Months of evidence about how the company runs. Buyers ask for the report before the demo.
IntegrationFive model APIs.Connectors to the governance, risk and compliance systems the buyer already runs; a registry of tool plugs (Part V’s MCP).Software that stands alone is a spreadsheet with ambitions.
Money, people, plumbingNot there.Billing, support, hosting, scaling, on call.The previous section’s list. All of it, forever.

NAVIGATOR COLUMN FROM SURESTEP’S PUBLISHED PRODUCT PAGE, OCTOBER 2026. LEGION COLUMN FROM THE AUTHOR’S OWN NOTES ON THE THREE-WEEK BUILD.

Sources (2)
  1. https://surestep.ai/navigator
  2. https://www.onyxlegion.ai/
04 · Above the line

When to stop prototyping and start engineering.

The hardest moment in building with AI is noticing that the thing you built in an afternoon has stopped being a prototype. There is no alarm. Any one of the signs is enough. Real customer data is in it, meaning anything you would have to report losing. Money moves through it, or decisions about money are made from its numbers. It has more than about ten users, or any user you could not telephone when it breaks.

It touches anything regulated: health, finance, HR, children, personal data under GDPR and its relatives. Another system now consumes its output. Or you cannot explain in a paragraph what it does and does not handle, which means nobody can. When one of these is true, the right move is usually to hand it to engineering as a specification instead of patching it, and the prototype is a far better specification than most projects ever get, because it runs. Most specifications do not. The handover pack is short.

The running prototype, with the instruction “build this, properly”. The test set: every input tried, every ugly case found, with the right answer for each; this is the single most valuable artefact and the one most often thrown away. The README the model wrote and the list of things it does not do. A threat model, even a short one: who can reach it, what is the worst they could do, what data is in it; the appendix at the end of this chapter has a template.

And a written decision that the thing is now on rung five and who owns it. Engineers have always built the second version properly after the first one taught them what to build. What has changed is that the first version is now free, and arrives faster than the decision to replace it.

Rewriting is not failure. The prototype did its job: it told you what to build. Now someone has to build it.

Go deeper2 panels · side by side · 2 sources
The signs · any one of these

It has crossed the line.

  • Real customer data is in it. Names, emails, anything you would have to report losing.
  • Money moves through it, or decisions about money are made from it.
  • More than about ten users, or any user you cannot phone.
  • Anything regulated: health, finance, HR, children, personal data.
  • Someone else’s system now depends on its output.
  • You cannot explain, in a paragraph, what it does and does not handle.
The handover · what engineering needs

The prototype is now the spec.

  • The running prototype, as a specification: “build this, properly.” It is the best spec most projects ever get, because it exists.
  • The test set: every input you tried, every ugly case you found, with the right answer for each.
  • The README the model wrote, and the list of things it does not do.
  • A threat model, even a short one: who could reach it, what is the worst they could do, what data is in it. Template in the appendix.
  • The decision, in writing, that it is now rung 5 and who owns it.
Sources (2)
  1. https://martinfowler.com/bliki/VibeCoding.html
  2. https://code.claude.com/docs/en/best-practices
Questions to take back

What would the list look like for the thing you built?

Four questions, and the first one is the whole section. If you cannot write the list, you are still below the line and do not know it.

  1. Take one AI-built thing you know. Write the enterprise buyer’s list for it: identity, data separation, audit, approval, backups, support, review. How many lines are blank?
  2. Who, by name, would answer an auditor’s question about what it decided last Tuesday and why?
  3. If a second customer signed up tomorrow, what would keep their data apart from the first one’s? The code, or the design?
  4. What did the model never mention while it was building it, and why would it?
05 / 06

Doing it properly

The practice that works, the things that go wrong, and what to expect if you manage the engineers.

Rungs 5 and 6

The long section: the practice developers have converged on, with the vendors’ own guidance as the source; DORA’s finding that AI amplifies whatever you already do; six real failures and the wall for each; a section for managers; and three stories. This is rungs 5 and 6, as engineering practice.

05 · Doing it properly

The practice that works. Both vendors say the same six things.

Both of the leading harness vendors have published guidance for using their coding agents well, and the striking thing is how closely they agree. Six practices cover it.

Plan before you build: for anything complex or ambiguous, have the model explore the code and write a plan, approve it, and then build from the plan in a fresh session; Claude Code’s documentation recommends writing the plan to a file and starting clean from it, and OpenAI’s Codex guide says “if the task is complex, ambiguous, or hard to describe well, ask Codex to plan before it starts coding.”

Small steps: one job per session, clear the context between unrelated tasks, keep one thread per coherent unit of work. Give it a check to run: Claude’s guide puts it bluntly, “if it has nothing to run that tells it whether the work actually is done, ‘looks done’ is all it has to go on. In practice that makes you the test suite.” Ask for the command it ran and the output, not the sentence “all tests pass”.

Read the diff before accepting it, the way you would review a new hire’s first pull request; both tools now offer a review by a separate model that never saw the conversation and so is not swayed by the reasoning that produced the code.

Keep a short rules file, which Part V covered: how to build, how to test, what never to touch, under two hundred lines, and move any rule that must never be broken into a hook or a deny rule, because “Claude is allowed to decide a guideline doesn’t apply.” So are most new hires. Keep the model out of the secrets: deny rules on .env and secrets folders hold in every permission mode, and the agent gets its own scoped credentials.

None of this is new. It is what good engineering already looked like, applied to a colleague who types at 1,000 words a minute and never says “I’m not sure”.

Go deeper6 panels · 2 sources

Plan before you build

For anything complex or unclear, have it explore and write a plan first; approve the plan; then build in a fresh session. Both Claude Code and Codex ship a plan mode for exactly this.

Small steps, one job per session

“Keep one thread per coherent unit of work.” Clear context between unrelated tasks. A session that has done six things is confused about all of them.

Give it a check to run

Tests, a typecheck, a script that diffs output. “If it has nothing to run that tells it whether the work is done, ‘looks done’ is all it has.” Ask for the evidence, not the claim.

Read the diff

Every change, before you accept it, as you would a new hire’s first pull request: competent, fast, and unaware of the thing you forgot to mention. A reviewer that never saw the conversation is better still.

Rules file, short

CLAUDE.md or AGENTS.md: how to build, how to test, what never to touch. Under 200 lines. Part V covers it. Preferences go here; rules with no exceptions go in a hook or a deny rule.

Keep it out of the secrets

Deny rules for .env and secrets folders hold in every mode. Its own credentials, scoped to this job, never your admin token. The Replit lesson, again: prompts are suggestions, permissions are walls.

Sources (2)
  1. https://code.claude.com/docs/en/best-practices
  2. https://developers.openai.com/codex/learn/best-practices
05 · Doing it properly

AI amplifies. Good teams get better, bad teams get worse.

Google’s DORA research programme has measured software delivery for over a decade, and its 2025 report, published in September 2025, is the most careful look at what AI does to teams rather than individuals. Two findings matter here. First, throughput: in 2025, for the first time, AI adoption showed a positive relationship with software delivery throughput and product performance; the 2024 report had found the opposite. Second, stability: AI adoption still correlated with lower delivery stability, meaning more change leads to more breakage unless the surrounding controls exist.

DORA’s explanation is one line: AI’s primary role is as an amplifier, magnifying an organisation’s existing strengths and weaknesses. Teams with loosely coupled systems, fast feedback and strong testing got better; teams with tightly coupled systems and slow processes saw little benefit or more instability.

DORA’s AI Capabilities Model names seven practices that make the amplifier work in your favour, and all seven are about the organisation, not the model. A clear and communicated AI stance. Healthy data ecosystems, and internal data the AI can reach. Strong version control, with frequent commits and rollback, which DORA found teams using AI benefit from using often. Working in small batches. A user-centric focus, without which AI adoption can hurt team performance, “moving quickly in the wrong direction”. And quality internal platforms.

Read it as a diagnosis: if review, testing and rollback were weak before, the extra volume of change that AI produces will find that out, and the DORA data says it will find it out as instability. The METR result from section one is a reminder of the same lesson: more output is not more throughput.

If your review, testing and rollback were weak before, AI will show you. Faster.

Go deeper1 panel · numbered list · 3 sources
1

Clear and communicated AI stance

People know what they may use, for what, and with which data. Guesswork is the alternative, and people guess “anything”.

2

Healthy data ecosystems + AI-accessible internal data

The model is only as good as the context it can reach: docs, schemas, the error dashboard. Part V’s MCP section.

3

Strong version control

Frequent commits and easy rollback. Teams that roll back often perform better with AI. It is how you undo a confident mistake.

4

Working in small batches

Small changes, reviewed fast. AI increases the volume of change; without small batches, that volume becomes instability.

5

User-centric focus + quality internal platforms

Without it, DORA found AI can hurt team performance: “moving quickly in the wrong direction.”

What DORA actually found

Throughput up. In 2025, for the first time, AI adoption correlated with higher delivery throughput.
Stability still down. AI adoption still correlates with lower delivery stability: more change, more breakage, unless the controls above exist.
The mechanism: “AI’s primary role is as an amplifier, magnifying an organization’s existing strengths and weaknesses.”

Sources (3)
  1. https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report
  2. https://cloud.google.com/blog/products/ai-machine-learning/introducing-doras-inaugural-ai-capabilities-model
  3. https://dora.dev/dora-report-2025/
05 · Doing it properly

What goes wrong: six real failures, and the wall for each.

Six documented failures, each with the wall that stops it. Replit, July 2025: during a declared code freeze, with an explicit instruction not to change anything, the coding agent ran commands that deleted a production database holding records on about twelve hundred executives and nearly as many companies. Replit’s chief executive called it unacceptable, and the fixes were automatic separation of development and production databases, a planning-only mode and one-click restore. The wall is credentials, not prompts.

Veracode, July 2025: eighty coding tasks across more than a hundred models. Forty-five per cent of the time the generated code contained a security vulnerability, and when a secure and an insecure method were both available the models chose the insecure one forty-five per cent of the time. Failure rates for cross-site scripting and log injection were above eighty-five per cent.

Slopsquatting, named by the Python Software Foundation’s Seth Larson in April 2025: a USENIX Security 2025 study of five hundred and seventy-six thousand generated code samples found about twenty per cent naming packages that do not exist, over two hundred thousand unique invented names, and forty-three per cent of those recurring in every run of the same prompt. That makes them predictable enough for an attacker to register with malware inside.

Moltbook, January 2026: a vibe-coded social network for AI agents whose Supabase database was reachable from the client without row-level security. Wiz found about one and a half million API tokens, thirty-five thousand email addresses and thousands of private messages exposed, with write access, and the founder said he had not written a line of it himself. In 2025, CVE-2025-48757 covered the same flaw in over a hundred and seventy Lovable-built apps.

The Tea app breach of July 2025 is often cited here; it was not AI-built, as Simon Willison pointed out, which makes the point better: the mistake is older than the tools. Licence contamination gets one line: turn on the public-code filter, scan for licences, and read the indemnity terms. The sixth is the demo trap: it worked on the demo, and nobody tried anything else.

Go deeperwhat goes wrong · 8 sources
WHAT GOES WRONG → THE GUARDRAIL
The agent is told “don’t touch production.” It deletes the production database (Replit, Jul 2025)
→
Separate dev and prod credentials; the agent never holds the prod key. A planning-only mode. Backups you have actually restored from.
Model writes code that works and is insecure: 45% of tasks across 100+ models (Veracode, 2025)
→
A security scan in the pipeline, every change. Treat generated code as untrusted until reviewed. Ask it for the insecure cases it skipped.
The model invents a package name; an attacker registers it with malware (“slopsquatting”)
→
20% of samples named packages that don’t exist; 43% of the names recur every run. Pin dependencies; check a package exists and is old before installing.
A vibe-coded app ships with the database open to the internet (Moltbook, Jan 2026; 170+ Lovable apps, 2025)
→
Row-level security on, for every table, before launch, and tested by trying to read someone else’s row. The builder’s own scanner is a start, not a finish.
Generated code reproduces licensed code from its training set
→
Turn on the “suggestions matching public code” block; scan for licences; vendor indemnity usually requires the filter to be on.
“It works on the demo.” The path you tried works; the one you didn’t, doesn’t
→
A test set of real inputs, including the ugly ones, run on every change. Section three’s region check, grown up.

EACH ROW IS A DOCUMENTED CASE OR STUDY. DATES AND SOURCES IN THE NOTES.

Sources (8)
  1. https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/
  2. https://www.veracode.com/press-release/ai-generated-code-poses-major-security-risks-in-nearly-half-of-all-development-tasks-veracode-research-reveals/
  3. https://labs.cloudsecurityalliance.org/research-rb/csa-research-note-slopsquatting-ai-coding-assistant-supply-c/
  4. https://wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys
  5. https://www.infosecurity-magazine.com/news/moltbook-exposes-user-data-api/
  6. https://www.superblocks.com/blog/lovable-rls-breach
  7. https://simonwillison.net/2025/Jul/26/official-statement-from-tea/
  8. https://fossa.com/blog/5-ways-to-reduce-github-copilot-security-and-legal-risks/
05 · Doing it properly

Managing developers: expect, measure, change, budget.

This is what changes for the people who manage developers. What to expect: most practitioners report large speedups on jobs where the pattern is known, boilerplate, tests, database migrations, documentation and unfamiliar languages, and smaller or no gains on novel design and on code the team already knows intimately, which is what METR measured. The practical consequence is more code arriving faster, all of which someone must read; the bottleneck moves from writing to review.

How to measure: use DORA’s four delivery metrics, lead time for changes, deployment frequency, change failure rate and time to restore, and add the rework rate. Do not measure lines of code or the tool’s “acceptance rate”; both can rise while the product gets worse. Measure before the rollout or you will have no baseline, which is also Anthropic’s own advice for estimating cost. What to change: review load moves to senior people, and if you do not plan for it they become the queue.

What junior developers do now that the typing is gone is an open question; the surveys do not answer it, and “nothing” is the wrong answer because the seniors of 2032 are the juniors of today. Write the organisation’s AI stance down; DORA found that a clear, communicated stance amplifies the benefit.

What to budget: Anthropic’s documentation reports that across enterprise deployments Claude Code costs about thirteen dollars per developer per active day, one hundred and fifty to two hundred and fifty dollars a month, with ninety per cent of users under thirty dollars a day, and that model choice is the main driver. The other ten per cent know who they are. The price gap between the mid-tier models at two dollars input and ten dollars output per million tokens and the top tier at four to ten dollars input and twenty to fifty dollars output is the lever.

Stack Overflow’s 2026 survey found thirty-eight per cent of organisations had already set usage limits.

The cheapest mistake: measuring output. The most expensive: letting senior review become the thing nobody budgeted for.

Go deeper4 panels · 6 sources

Expect

Large gains on boilerplate, tests, migrations, documentation, unfamiliar languages. Smaller or none on novel design and on code the team knows deeply (METR). More code arriving, faster, that someone must read. The bottleneck moves from writing to review.

Measure

DORA’s four: lead time, deploy frequency, change failure rate, time to restore. Plus rework rate. Never lines of code or “acceptance rate”: the tool can make both go up while the product gets worse. Measure before you roll out, or you will never know.

Change

Review load moves to senior people: plan for it, or they become the queue. Decide what juniors do now that the typing is gone; nobody has a settled answer, and “nothing” is the wrong one. Write the AI stance down (DORA capability 1).

Budget

Token spend per developer is a new line item. Anthropic’s enterprise figure for Claude Code: about $13 per developer per active day, $150–250 a month, under $30 a day for 90% of users (October 2026 figures). Model choice drives it: $2/$10 vs $10/$50 per million tokens. 38% of orgs have set usage limits.

Sources (6)
  1. https://simonwillison.net/2025/Jul/12/ai-open-source-productivity/
  2. https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report
  3. https://cloud.google.com/blog/products/ai-machine-learning/introducing-doras-inaugural-ai-capabilities-model
  4. https://code.claude.com/docs/en/costs
  5. https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/
  6. https://platform.claude.com/docs/en/about-claude/pricing
05 · Doing it properly

Three stories worth knowing.

Three stories, one per idea in this chapter, and two of them are already in the failures table above, so here is only the detail each one adds. Replit, the permissions story from Parts IV and V, is the cleanest case on record of the gap between an instruction and a wall, and the chat logs are the part the table leaves out: the agent said it “panicked” when it saw an empty database and described its own conduct as “a catastrophic failure on my part”. It was right about that.

Moltbook, the ladder story, adds the speed of the clean-up: Wiz reported it on 31 January 2026 and worked through four rounds of fixes with the developer in under three hours, and the founder has said he did not write a line of the code himself.

METR, the measurement story, is told in full in section one; the line to carry is that the feeling of speed survived the stopwatch.

Go deeper3 panels · 7 sources
Replit, July 2025

Told not to. Did it anyway.

In the failures table above. The detail to keep: the chat log shows the agent saying it “panicked” when it saw an empty database, and calling its own conduct “a catastrophic failure on my part.”

An instruction is not a permission. If the agent holds the production key, the prompt is decoration.
Moltbook, January 2026

The database was in the web page.

In the failures table above. The detail to keep: Wiz worked through four rounds of fixes with the developer in under three hours, and the founder said he had not written a line of it himself.

The builder gives you a database in a minute. The permissions on it are still your job.
METR, July 2025

They felt 20% faster. They were 19% slower.

Told in full in section one. The line to keep: they felt 20% faster and the stopwatch said 19% slower, and the feeling survived the evidence.

Measure it. The feeling of speed is not evidence, and it survives the evidence.
Sources (7)
  1. https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/
  2. https://wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys
  3. https://www.infosecurity-magazine.com/news/moltbook-exposes-user-data-api/
  4. https://www.superblocks.com/blog/lovable-rls-breach
  5. https://simonwillison.net/2025/Jul/26/official-statement-from-tea/
  6. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/
  7. https://evals.alignment.org/blog/2026-02-24-uplift-update/
Questions to take back

Which of these could happen to you?

Four questions. The third is uncomfortable on purpose: if the answer is “we would never know”, the measurement advice above applies before the budget does.

  1. Which AI-built thing you know of already holds customer data, and does it have a login?
  2. Where does an agent or a builder hold a credential that could reach production?
  3. If your developers were 19% slower with AI, how long before anyone noticed?
  4. Who reviews the extra code, and did their calendar get the extra hours?
06 / 06

Use it Monday

Build one throwaway thing. Then decide, in writing, before it stops being throwaway.

One afternoon · one line

One build, five rules for anything beyond a toy, and the one question to ask before a prototype becomes a product.

On Monday

What I would do this week.

01

Build one throwaway tool.

Pick a CSV-in, report-out chore. Use chat or a builder. Follow the section three sequence, including the test and the README. Budget one afternoon. Delete it on Friday if you like.

02

Add the one check.

Before you show anyone: one test that fails loudly when the output is wrong. Totals that must match. A row count. A date that must be this week. If you can’t name the check, you don’t understand the output.

03

Ship to three people, labelled.

“Prototype. Here is what it does not do.” Watch what breaks. Write it down. That list is the start of your test set and your spec.

04

Write the line down.

One paragraph for your team: what we may build with AI, with which data, and the signs (section four) that mean stop and hand it over. DORA’s first capability. It takes twenty minutes.

05

If you manage developers: get a baseline.

This week, before anything else: lead time, deploy frequency, change failure rate, time to restore. Or you will be arguing about feelings in six months.

The prototype is free. The decision about what it becomes is not, and nobody will make it for you.

The five, in fullprose version

Five actions, each cheap, in order. Build one throwaway tool this week: pick a weekly chore where a CSV goes in and a report comes out, use the chat app or an app builder, and follow the sequence from section three, including the test and the README, in one afternoon. Delete it on Friday if you like; the point is to have done it, so that the rest of this chapter is experience rather than theory.

Add the one check before you show anyone: a test that fails loudly when the output is wrong, totals that must match, a row count, a date that must be this week. If you cannot name the check, you do not yet understand the output well enough to give it to anyone.

Ship it to three people with a plain label and a list of what it does not do, and watch what breaks; that list is the beginning of a test set and, if it ever crosses the line, of the specification. Write the line down: one paragraph saying what may be built with AI, with which data, and which signs from section four mean stop and hand it over.

DORA found a clear, communicated stance is the first thing that makes AI help rather than hurt, and it takes twenty minutes. Anyone who manages developers needs a baseline before any rollout, or any further one: lead time, deployment frequency, change failure rate, time to restore. Without it, in six months you will be arguing about feelings, and the METR study is a reminder of how wrong feelings can be.

Sources (3)
  1. https://cloud.google.com/blog/products/ai-machine-learning/introducing-doras-inaugural-ai-capabilities-model
  2. https://code.claude.com/docs/en/best-practices
  3. https://simonwillison.net/2025/Jul/12/ai-open-source-productivity/
06 · Use it Monday

Five rules beyond a toy. One question before a product.

The five rules are the minimum for anything that leaves your own laptop, and they map onto the failures in section five. A check that fails loudly, run on every change, because “it works on the demo” is the universal failure and a test is the universal wall. No key it does not need: no production credentials, no admin token, no secrets pasted into the chat, its own scoped account. This is Replit, and it is also Part V’s permissions section.

Every table has a permission and you tried to break it: row-level security on, then log in as a different user and try to read your own data. This is Moltbook and the Lovable CVE, and Lovable’s own documentation says it is the most common way app data gets exposed. A human can explain it in a paragraph: the README exists, someone other than the model has read it, and it lists what the thing does not do.

Someone is named as the owner, meaning the person who fixes it when it breaks on a Monday you are away. If that person is nobody, it is still a toy, however many people use it. The question is the one to ask before any prototype becomes a product, out loud, with the person who built it present: if this is wrong for a week and nobody notices, what happens? If the answer is that someone re-runs it, it is a prototype, and you can carry on.

If the answer involves a customer, a payment, a regulator or a lawyer, it is a product, whatever it was built with, and it needs the handover pack. Twenty minutes, and considerably cheaper than finding out the other way.

Five rules, one question, twenty minutes. Cheaper than the incident.

Go deeper1 panel · numbered list · 4 sources
1

It has a check that fails loudly.

A test, a totals rule, a row count. Run on every change. No check, no users.

2

It never holds a key it doesn’t need.

No production credentials, no admin tokens, no secrets in the chat. Its own scoped account.

3

Every table has a permission, and you tried to break it.

Row-level security on; then log in as someone else and try to read your own row.

4

A human can explain it in a paragraph.

The README exists, a person has read it, and it says what the thing does not do.

5

Someone is named as the owner.

Who fixes it when it breaks on a Monday you are away. If the answer is nobody, it is still a toy.

The question

“If this is wrong for a week and nobody notices, what happens?”
If the answer is “someone re-runs it”: prototype. Carry on.
If the answer involves a customer, a payment, a regulator or a lawyer: it is a product. Hand it over, with the pack from section four.
Ask it out loud, with the person who built it in the room.

Sources (4)
  1. https://code.claude.com/docs/en/best-practices
  2. https://docs.lovable.dev/integrations/supabase
  3. https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/
  4. https://www.infosecurity-magazine.com/news/moltbook-exposes-user-data-api/
The prototype is free.
The product still costs.

Describe it and it exists. Run it and it mostly works. Then real data arrives, real people depend on it, and every obligation that was ever in software comes back. AI helps with those too. It does not make them go away.

Build the free thing. Decide, on purpose, what it becomes.

Appendix · For the nerds

A rules file that fits on one page. Shorter is better.

Open the appendixfor the nerds · optional

A rules file is the README for the agent that Part V introduced, and here is one that fits on a page, because that is about the right length. It has four sections. The first is build and check: the exact commands to install, run, test, run a single test file, typecheck and lint. Claude’s documentation calls the test command “the single most useful line” in the file, because it is how the model checks its own work.

The second is how we work: plan first for anything touching the schema or authentication; write the failing test before the fix and show the output rather than the claim; small diffs, one task per session. The third is never: the three things that must not happen. The comment in the file is the important part: these lines are a reminder, not a wall.

Claude’s guidance says a rules file is non-deterministic, the model “is allowed to decide a guideline doesn’t apply”, and that anything with zero exceptions belongs in a deny rule or a hook that the harness enforces regardless; deny rules on .env and secrets hold even in the no-prompts modes.

The fourth is decisions not visible in the code. This is the section worth the most, because it holds exactly what the model cannot discover by reading the repository: that the export is in local time, that region names are canonicalised in one file. Everything the model could have found by reading the code should be left out. Claude’s docs recommend under two hundred lines, and OpenAI’s Codex guide says to add rules only after you see a repeated mistake. The format is shared: Codex reads AGENTS.md, Claude Code reads CLAUDE.md and AGENTS.md, and most other harnesses read one or both. Commands and paths are illustrative; adapt them to your repository.

# AGENTS.md  (or CLAUDE.md): read by the harness at the start of every session

## Build and check
- Install: pnpm install        Run: pnpm dev        Tests: pnpm test
- One test file: pnpm vitest run path/to/file.test.ts
- Typecheck: pnpm tsc --noEmit      Lint: pnpm lint

## How we work
- Plan first for anything touching the schema or auth. Show the plan; wait.
- Write the failing test before the fix. Show me the test output, not “tests pass”.
- Small diffs. One task per session. Stop and ask if the task grows.

## Never (these are ALSO enforced by deny rules / hooks; this is the reminder)
- Never read .env, secrets/, or anything under infra/prod/.
- Never run migrations against a database whose URL contains “prod”.
- Never install a package without showing me its name, version and age.

## Decisions not visible in the code
- Dates: all stored UTC; the CSV export is local time. Convert on import.
- Region names are canonicalised in regions.yaml. Add new spellings there.

Template. Commands and paths are illustrative; adapt to your repo. Format shared by Codex (AGENTS.md), Claude Code (CLAUDE.md, also reads AGENTS.md) and others.

Sources (2)
  1. https://code.claude.com/docs/en/best-practices
  2. https://developers.openai.com/codex/learn/best-practices
Appendix · For the nerds

The test-first loop, and a one-hour threat checklist.

Open the appendixfor the nerds · optional

Two tools for the people who will actually do this. The loop at the top is test-first development with a model doing the typing, and it is what both vendors’ guidance converges on. You describe the behaviour, with the ugly inputs included: the empty file, the two date formats, the region with a new spelling. You ask for the failing test first, and for it to run and fail; a test that passes before the code exists is testing nothing.

You ask for the smallest change that makes it pass, and you say “be ambitious” only when you mean it, because the model reads requests conservatively and will build the minimum otherwise. Everything runs: tests, typecheck, lint, with the command and its output shown, and Claude Code’s Stop hook can refuse to let the model finish until the checks pass. Then you read the diff, or have a fresh reviewer model read it against the spec, and commit small with the test. Round again.

The checklist at the bottom is this chapter’s minimum, not a standard; real threat modelling is a larger discipline. Five questions, each with the answer that is fine for a prototype and the answer that is required before the thing is a product. Who can reach it. What data is in it and whose. What is the worst it could do, which is where least privilege and tested backups come in.

What did the model pull in: every dependency pinned, checked to exist and to be established, and scanned, because slopsquatting is a registered attack, not a theory. And who is on call, which for a product means a name, a rota, monitoring that wakes them, and a runbook they can follow at three in the morning.

HUMAN

Describe the behaviour

“Given this input, I expect this output.” Including the ugly inputs: empty file, two date formats, a region with a new spelling.

MODEL

Write the failing test

Ask for the test first, and for it to run and fail. If it passes before the code exists, the test is wrong.

MODEL

Write the code

Smallest change that makes the test pass. Nothing else. “Be ambitious” only when you mean it.

CODE / TOOL

Run everything

All tests, typecheck, lint. Ask for the command and its output. A Stop hook can refuse to finish until they pass.

HUMAN

Read the diff

Or have a fresh reviewer model read it against the spec. Then commit, small, with the test. Go round again.

Threat questionAnswer for a prototypeAnswer required before it is a product
Who can reach it?Me, and three people I can phone.Anyone on the internet. So: login, rate limits, input validation on every field.
Whose data is in it?A CSV I can re-export.Customer records. So: row-level permissions, encryption at rest, a retention rule, a breach plan.
Worst it could do?Produce a wrong report.Leak the table, move money, delete data. So: least privilege, no prod keys in the agent, backups restored at least once.
What did the model pull in?Whatever it liked.Every dependency pinned, checked to exist and be established, scanned. Slopsquatting is a real registry.
Who is on call?Nobody. It is a prototype.A name, a rota, monitoring that pages them, and a one-paragraph runbook.

Loop after Claude Code and Codex guidance; checklist is this chapter’s own minimum, not a standard. Threat modelling proper is a bigger subject.

Sources (3)
  1. https://code.claude.com/docs/en/best-practices
  2. https://developers.openai.com/codex/learn/best-practices
  3. https://labs.cloudsecurityalliance.org/research-rb/csa-research-note-slopsquatting-ai-coding-assistant-supply-c/