What Counts as Done? A Founder's Guide to the Definition of Done
A plain-language definition of done for founders who ship with AI agents. Why 'it looks finished' is the trap, and how to decide done before you build.
Your AI agent says the feature is done. The demo works. The screen looks right. You ship it, and three days later a customer emails to say the signup form swallows their password and never tells them why. The agent did not lie to you. It just answered a different question than the one you thought you asked. It answered "does the code run," and you heard "is this feature done." Those are not the same question, and the gap between them is where most AI-built products quietly break.
Here is the claim this whole piece rests on: "done" is not a property of the code. It is a decision you make, and if you do not make it on purpose, the agent makes it for you. Every coding agent has a built-in definition of done, and that definition is almost always "it compiles and the happy path works." That is a fine definition for a weekend prototype. It is a terrible one for anything a real person will use. The skill nobody teaches founders who build with agents is how to define done themselves, before the build, in words the agent and the customer both have to respect.
#The dictionary answer, and why it fails you
Search "definition of done" and you will drown in agile and scrum content. The textbook version comes from software teams: a Definition of Done is a shared checklist of conditions every piece of work must meet before anyone calls it complete. Code written, tests passing, reviewed, merged, documented. It is a real and useful idea, and it is about thirty years old.
The problem is that the classic version assumes a team of engineers who all read code and agree on what "tests passing" means. You might be a solo founder, a product manager, or a domain expert shipping an internal tool through an agent. You are not going to maintain a scrum checklist, and half the items on it would be meaningless to you anyway. So the standard advice bounces right off, and you are left with the only definition you can actually observe: it looked done in the demo.
That is the trap. The demo is the eighty percent that was always going to work.
#Looks done versus is done
The difference is easiest to see side by side. Imagine you asked for a feature that lets users reset a forgotten password.
Looks done: the agent builds a "forgot password" screen. You type an email, click submit, and a nice green "check your inbox" message appears. The demo is clean. You approve it.
Is done: a user who types an email that is not registered gets a clear message instead of a silent success. The reset link expires after an hour. Clicking an expired link explains why and offers a new one. The email actually arrives, lands in the inbox and not spam, and the new password is accepted on the next login. Someone who requests ten resets in a minute gets rate-limited instead of mailbombing a stranger.
The first version is a screen. The second version is a feature. The agent, left to its own definition, builds the first one and calls it done, because from inside the code the happy path is the whole story. Nobody told it that "a registered user can recover access to their account, safely, even when they do something unexpected" was the actual job. You knew that. You just never wrote it down, so it never made it into the build.
This is the reframe: the agent did not fall short of done. It hit exactly the target it was given, and the target was "make this screen work." Your job was never to review the code. It was to set a better target.
#Done is an agreement you write before the build
The fix is almost boringly simple to state and genuinely hard to practice: decide what counts as done in advance, in concrete terms, and hand that to the agent as the spec rather than discovering it at the merge button.
The practical form of this is acceptance criteria. Not the scrum ceremony, just the plain idea underneath it: a short list of specific, checkable conditions that must all be true for the feature to count as finished. The test for a good one is whether a stranger could read it and tell you yes or no without asking you a follow-up question. "The password reset should be secure" is not a criterion, because secure means nothing a machine can check. "A reset link expires one hour after it is sent, and using an expired link shows a message explaining it expired" is a criterion, because it is either true or it is not.
Addy Osmani, who writes about engineering practice at Google, compressed the stakes of this into four words in his guide to writing a good spec for AI agents:
Vague prompts mean wrong results.
That is the whole game for a founder. Your edge is not a cleverer prompt or a faster agent. It is the clarity of the "done" you define before anyone writes a line. Vague intent does not just produce vague output. With an autonomous agent, it produces confident, plausible, wrong output, delivered fast, which is far more dangerous than slow and obviously broken.
#Who decides what done means? You do.
A question that comes up constantly: who actually gets to decide the definition of done? On a scrum team the answer is "the developers, together." For you, building through an agent, the answer is simpler and a little uncomfortable. You decide. You are the only person in the loop who knows what the feature is for, who the user is, and what "working" means to your business. The agent cannot decide it, because the agent does not know your customer. If you abdicate the decision, it does not go unmade. It defaults to the agent's definition, which is "the code runs," and you inherit the consequences in production.
And yes, the definition can change. Early on, "done" for an internal prototype might legitimately mean "the happy path works and I am the only user." That is a real, honest definition for that moment. The mistake is letting it stay there silently as the thing grows into something customers touch. Done for a tool only you use and done for a product strangers pay for are different standards, and the move is to say which one you are holding, out loud, each time, rather than drifting from one to the other without noticing.
#Where this fits in the build
This is exactly the gap BrainGrid is built to close, and it sits before the agent starts, not after. You describe the feature in plain language, and the Planning Agent turns it into a requirement with explicit acceptance criteria, the testable conditions that define done, asking you clarifying questions and pushing back when your intent is too vague to build against. When the Builder Agent then builds it, in a managed sandbox with a live preview or in your own GitHub repo with Claude Code, Cursor, or Codex, verification checks the result against every one of those criteria. A feature is not marked done because the code ran. It is marked done when the evidence says it matches what you asked for.
That is the Verify step of the loop, Plan, Build, Verify, Repeat, and it is what turns "it looked fine in the demo" into "here is the proof each condition was met." You are not staring at a diff you cannot read, hoping. You are confirming a checklist you wrote in words you understand. Defining and judging done this way is the core of building products as a non-engineer: you own the outcome without owning the code. If you want the mechanics of writing those conditions well, we go deep on it in how to write acceptance criteria an AI agent can verify, and the companion skill of judging a finished change lives in the non-engineer's guide to reviewing a pull request.
There is an honest trade-off here, and pretending otherwise would be the same hype this post argues against. Writing down what done means up front is slower than firing off a one-line prompt and watching something appear. The first time you do it, it will feel like bureaucracy. The payoff shows up on the third feature, when the agent has not quietly contradicted the first two, and at the merge button, when you are checking a list instead of trusting a vibe. Clarity is work you pay for once and collect on every time.
#The quiet cost of skipping it
If you build through an agent without defining done, here is specifically what happens to you. Your first feature ships fine, because it was simple. Your second one ships with an edge case you discover in production. By your fourth or fifth feature, you are spending more time fixing things that were "done" than building new ones, and you cannot tell which past decisions are load-bearing because none of them were written down. The speed the agent gave you at the start is gone, eaten by rework. This is not an agent failure. It is the compounding cost of letting "done" stay undefined, and it is the single most common way AI-built products stall out between demo and product.
Define done before the build, in conditions a stranger could check, and the agent's speed finally works for you instead of against you. Skip it, and you are not shipping faster. You are just moving the work to a worse place to do it, in production, after a customer found the bug first.
Done was never about the code. It was always about whether the thing does what you meant, and that has been your call all along.
#FAQ
#What is the definition of done in simple terms?
The definition of done is the agreed answer to one question: what has to be true before we call this finished? In its simplest form it is a short list of specific conditions, each one either met or not met, with no judgment call in between. "The feature works" is not a definition of done, because nobody can check it without arguing. "A logged-out user who visits this page is redirected to the login screen" is, because it is a plain fact you can verify in ten seconds. For a founder building with an AI agent, the definition of done is the target you hand the agent before it builds, so that "done" means what you intended rather than just "the code runs."
#Who decides on the definition of done?
On a traditional software team, the developers set it together. When you are building through an AI agent, you decide, because you are the only one who knows what the feature is for and who will use it. The agent cannot make this call, since it does not know your customer or your business. If you do not define it, the decision does not disappear. It defaults to the agent's built-in standard, which is usually "the code compiles and the main path works," and you live with whatever that misses.
#What is the difference between acceptance criteria and the definition of done?
They are closely related and people often blur them. Acceptance criteria are specific to one feature: the exact conditions that this particular thing must satisfy to be accepted, like "an expired reset link shows an explanation and offers a new one." The definition of done is broader and applies to every piece of work: the baseline standard that anything must clear before it ships at all, like "it handles the obvious failure cases, not just the happy path." For a solo builder the line matters less than the habit. Write down, per feature, the conditions that make it genuinely finished, and you are doing the useful part of both.
#Can the definition of done change over time?
Yes, and it should, as long as the change is deliberate. An internal prototype that only you use can honestly define done as "the happy path works." A product that paying customers touch cannot. The failure is not that the standard changes, it is letting it stay at the prototype level silently while the thing grows into something real. Each time the stakes rise, state the new standard out loud instead of drifting into it.
#How do I know when an AI agent's work is actually done?
Stop judging the code and judge the behavior against the conditions you set before the build. Open the feature and try to break it the way a careless or hostile user would: submit the empty form, use the wrong input, click the expired link, do the thing twice at once. If it survives the edges you wrote down and still does what you meant, it is done. If you never wrote the conditions down, you have no way to know, and "it looked right in the demo" is exactly the false signal that ships bugs. Done is checkable only against a standard you defined in advance.
BrainGrid is the plan-first platform that turns your idea into explicit acceptance criteria and verifies the build against every one, so done means done. Try it at braingrid.ai.
Keep Reading
Ready to build without the back-and-forth?
Turn messy thoughts into engineering-grade prompts that coding agents can nail the first time.
Describe what you want to build