Manifesto of Gate-Driven Development
Your agent says "done." The gate checks if it's true.
Gate-Driven Development (GDD) is a way to develop products with AI agents without supervising them step by step. Before an agent starts, you decide what it has to prove. The gates check the evidence it brings. The more that can go wrong, the more the gates demand.
That rule, seven principles and five moments make up GDD.
The problem
Building used to be the slow part. Agents now build things quickly and get them almost right. The slow part is finding out whether what they built actually works. If you review everything, you become the slowest step. If you review nothing, the people using your product find the errors. And if the agent can change what judges it, it learns to approve its own work.
That is the basis of GDD. The idea for the product is still ours, even when we no longer build it by hand. We write down what must be true and design the gates our agents will go through.
The pieces
- Change. Anything you ask an agent to do to your product, however large or small.
- Gate. What has to be demonstrated before the work can go any further.
- Checks. How you establish that a change meets the gate's requirements. A check can come from a machine (an automated test), a reviewer (another agent that reviews the change against what has to pass), or a person (your approval). The gate opens when all its blocking checks pass. Checks that only report leave their findings for the reviewer.
- Context. What you give the agent to help it get through the gate, including what you want, your specification and your design. The agent starts with clean context, carrying only what it needs.
- Risk. What could go wrong.
- Blueprint. Where you write down which parts of the project are sensitive, which gates they need and what each risk level requires. It starts small and grows with the project. You approve it, or your team does. The builder can't change it.
A decision reserved for a person always goes to a person. You decide what else needs to come to you and put it in the blueprint. Your approval covers what you saw. If it changes afterward, your approval expires and the change comes back to you.
The seven principles
-
Decide what a gate requires before work starts on the change that needs it. If you wait until you see the result, you end up checking what the agent built and can miss what you needed. Start with the fewest gates you need. You can build a new gate alongside the change. If it isn't ready by the time you want to ship, an independent check must cover that risk first. Identify high-risk work and regulatory requirements at the outset. Their gate must have been tested before you ship the first change that touches them.
-
A gate has to close. Until you've seen it close, it might as well be a drawing on the wall. Before you trust a gate, check that it rejects a bad case for the expected reason and lets a valid one through.
-
Give each gate the context it needs. Without context, a gate is a wall. The agent guesses, fails and guesses again. Too much context can make it lose its way, too. Your specification and design belong here. They help the agent get through the gate. You still need evidence that its work meets the requirements.
-
Getting through a gate takes evidence. Saying "done" opens nothing. The agent needs evidence to proceed. If it gets stuck, it stops and asks. Nobody gets to skip a gate, including you. Emergencies have a gate of their own, agreed in advance. A person opens it and the decision goes in the log. The change can go through certain gates afterward, if the blueprint allows it. Before the change ships, it must still meet regulatory requirements and any new risk must be checked.
-
Whoever goes through the gate doesn't decide how it's validated. The agent can't change what judges it, any more than a student can grade their own exam. If a check is wrong, the person or agent who wrote it can correct it, or a person can step in. The agent that has to pass it can't make the correction.
-
Gates reflect the nature and sensitivity of each change. The parts of a project behave differently and each needs its own checks. Checking a piece of writing takes different evidence from checking a set of figures. The nature of what a change touches determines which gates it goes through. The sensitivity of that work determines how much the gates require. Even a small change can do serious harm. Higher risk may call for a different kind of check, such as a reviewer or a person's approval. You approve where your blueprint says you should. The gates handle the rest, because anyone who has to approve everything eventually starts approving without reading.
-
Gates have to earn their place, too. For each gate, you need to know what it catches, what it costs and what slips through. A defect that every gate missed becomes a check. If a gate hasn't caught anything in a while, test whether it still detects the defect and look at what it costs. Use that evidence to decide whether to keep, relax or retire it.
Each change has an author, the person responsible for it. You remain accountable for the work you ask AI to do.
Risk
Risk is the harm a change could do to your product. I use a traffic light, with each color representing a different level of scrutiny.
| Risk | Example |
|---|---|
| Green (low) | Fix a typo |
| Yellow (medium) | Add something new |
| Red (high) | Touch sensitive data or an operation that can't be undone |
You or your team decide what each level requires and write it in the blueprint. Higher risk always calls for more scrutiny.
A change is green only if the things it touches are marked green. If it touches something you haven't classified, an agent other than the builder proposes the level and asks you if it's unsure. An agent can raise a change's risk level. Only a person can lower it, and only as far as the blueprint allows. Lowering that minimum means returning to Prepare and approving a change to the blueprint.
What can't be undone is never green. A red change needs a proven way to undo it before it ships. If there is none, a person decides whether to proceed knowing there's no way back.
The five moments
-
Prepare. Decide which gates your change needs, put them in the blueprint and build them with your agents' help. Set up just the gates this change needs. Before trusting a gate, deliberately try to get a bad result through it.
-
Brief. Tell the agent what you want and, above all, write down what must be true when it's done. That's what the gate will check. Estimate the risk level, too, because that determines how much evidence the change needs.
-
Execute. The agent does the work and goes through the gates. If its work falls short, saying "done" won't open the gate. It tries again or stops and asks you. At the end, reassess the risk against what the agent actually touched. If the risk rose, the change has to pass the checks for its new level.
-
Close. Passing the gates alone can't tell you whether a change helped. Once it reaches the people it was meant for, look at the outcome and give your verdict: yes, not yet or no. Maintenance with no promised outcome can close on its own after the agreed time in use if the log shows no incidents.
-
Adjust. When a defect slips through, harden the gate that missed it by adding a check that will catch it next time. If a gate keeps holding everything up and hasn't caught anything in a long time, relax it or retire it. Both decisions change the blueprint.
There are two paths to follow.
- Each change. You brief the change and it goes through Execute. Once in use, it awaits closure. While you wait to see whether it helped, you can brief the next change.
- The gates. Return to Prepare when a change brings a risk you haven't covered, or when Adjust shows you that a gate missed something or costs more than its protection is worth.
These moments needn't mean five meetings or five documents.
The core
You can adapt almost everything in GDD to your project. The core applies whatever the tools or configuration. You can expect it of anyone who says they use GDD.
- The builder can't change the blueprint or the checks that judge its work. Another agent can help write them. Changing the blueprint takes your approval.
- The potential harm is bounded. A person confirms anything that can't be undone.
- Some decisions belong to a person. A person approves changes to the blueprint, decides whether to relax or retire a check, and says whether a change already in use helped.
- Work has limits and leaves a trail. For each change, agree on a budget and set limits on attempts and time. The log says who did what, which gate judged the change and how much spending could be measured. The budget is a hard cap only if you can cut off total spending. With partial figures, the limits you can rely on are attempts and time.
How to tell whether a gate is valid
Before you rely on a gate, ask four questions. Each one needs a yes.
- Did you agree on what the change had to prove before work started?
- Can it judge the change independently of what the agent says?
- Are the criteria, the run that counts and the evidence that opens the gate all beyond the builder's reach?
- Have you seen it reject a bad case for the expected reason and let a valid one through?
Look at the permissions the builder actually has. If it can change what judges its work, replace the result or approve its own work, the gate is still within reach even if it runs on another machine.
What GDD isn't
- Specifications matter. They give the agent context. A rule counts once something beyond the builder's reach checks it. The gate determines whether work can proceed.
- How you come up with a product idea is up to you. GDD starts when it's time to build it.
- GDD tells you what makes a gate valid. You decide which gates you need and what to build them with.
- You read the things that need your judgment.
- If almost everything comes out red, review the harm each zone could cause and keep the red rating where it's needed. If a gate stops pulling its weight, retire it. If you start dreading every change, something in the process needs to go.
- Even if a change passes all its gates, it can still be wrong or unhelpful. That's why you harden gates, keep a way back, and ask someone to look before closing any change that promised something to the people using it.
- GDD started in software, where it has been used so far. Its principles can apply elsewhere.
How it is measured
A method that asks agents for evidence owes you the same. It needs to show that it reduces your workload, catches what matters, earns its cost and scales. If it can't show that, simplify it.
The same evidence tells you where your blueprint could improve. It also gives you a way to compare GDD with how you worked before and with other ways of working.
This version draws on my experience and what other teams have published. GDD's own results will come in a future version.
Where it comes from
GDD gives a name to practices that have worked for me and for others. It offers a shared language, a way to tell whether a gate is valid, and a path from assessing risk to adjusting the gates.
The method describes how to apply it. If a tool or its documentation contradicts the manifesto, the manifesto takes precedence.