The method of Gate-Driven Development

Marcela Gotta. 1.0 · draft for review. November 29, 2026.

Using GDD means giving each role the right work and going through five moments. You decide which gates you need and what to build them with.

Who does what

Role What they do What they can't do
You or your team Design the gates. You decide which ones you need, build them with your agents' help, watch how they perform and adjust them. You give approval where it's needed and answer for the outcome Delegate that responsibility
The orchestrator Takes the change request, assigns the work and applies your blueprint Skip a gate or change the blueprint
The builder The agent that makes the change and goes through the gates Change the blueprint, the checks that judge its work or its own instructions
Whoever writes the cases Another agent or a person. Writes down what each check will look for in this change Build the change
The reviewer Another agent, starting with clean context. Reviews the change against what has to pass and, where the risk calls for it, tries it out and attempts to make it fail Review its own work or approve on a person's behalf

A reviewer's verdict can never stand in for a person's approval.

Prepare: the blueprint and the gates

The blueprint

Start with what stays the same from one change to the next. What is the product for, and what must never happen in it? Then set out four things.

  • Which parts are sensitive. Each part, with its risk level, is a zone. In a team, each zone also names the person responsible for it. That person has the authority to accept its risks. Ask for their approval when the blueprint calls for it.
  • Which gates you need, the checks for each gate, and the context the agent takes into it.
  • What each risk level requires.
  • When you can relax a check and what would make you retire a gate. Decide that here, before any particular change is underway.

You don't need to write the whole blueprint on day one. Identify high-risk work and decide what you'll require of it at the start. Green and yellow can wait until the first change that touches them. An agent can propose an update, but the blueprint only changes with your approval.

What each level requires

The requirements are yours to set. In some projects a green change ships without anyone reviewing it. In others even green waits for approval. The one constant is that higher risk calls for more scrutiny. If you choose, a green change can ship with just its machine checks, without a reviewer, as long as it stays within its zones and leaves everything that judges it untouched.

The checks

Define the checks in the blueprint. For each change, write just its cases, the things the checks need to look for this time.

Each part has its own checks. The blueprint says which part of the project each check examines. The check runs only when a change touches that part. If the change touches two parts, it goes through both sets of checks. What a change touches determines which checks apply. Its risk level determines how demanding each check needs to be.

Type What it is How you know it works
Machine An automated test It rejects a bad case for the expected reason and accepts the valid one
Reviewer Another agent that reviews the change and tries it out when necessary It catches known or deliberately planted defects and accepts examples that meet the requirements
Person Your approval You can send back a case that breaks your agreement and approve one that meets it. How long you took to reply tells you little about how carefully you read it

Which gates to use and who builds them

You choose the gates for your product. Start with its sensitive parts. For each thing that could go wrong, what would you need to see demonstrated before work could continue? The answer depends on the product, so the method has no set list.

A person builds the gates with an agent's help, or a team builds them with its agents. The decision about the gates stays with you.

You might use tools your industry already trusts or tools built for your product and the way you work. Either can serve as a gate if you can answer yes to the manifesto's four questions.

Before you trust a gate, deliberately try to get a bad result through it. This is the part of the method that takes the most care. For a rule that must continue to hold, keep a valid case and introduce a defect in a copy. The gate should accept the original and reject the copy because of that defect. When a check calls for judgment, as a writing review does, agree in advance on what to look for and choose both sound examples and examples with a known defect.

You can build the first change and its gates in parallel. Decide the criteria in advance and give the two jobs to different people or agents. If a gate doesn't have anything real to judge yet, use the first change to try it before shipping. Red changes and work covered by a regulatory requirement wait until the gate has been tested. For other new risks, you can agree on a temporary check during Brief.

How far beyond the builder's reach is a gate?

To answer the third question, look at the builder's permissions. Can it change the criteria, the run that counts, the result on file or the approval? Check from the builder's own account. There are three degrees of protection. Each relies less on the agent following instructions than the one before it.

Degree How it works What it protects
Rule You ask the agent to follow the rule and inspect what it touched This isn't a gate yet. Your inspection provides the protection. Nothing prevents the agent from breaking the rule
Platform The platform enforces permissions. The builder has its own identity and can't reach what's protected This gives you much of the protection. An administrator can still loosen the permissions
Engine A program beyond the builder's reach enforces the blueprint and tracks the whole change It guarantees the rules it enforces and for which the evidence remains protected

Your blueprint says which degree you have and what the builder can still reach. At all three degrees, the agent must never judge its own work. At Rule, you can't leave the agent to work and walk away. Your inspection is what protects the change.

Brief: from the idea to what will be checked

The idea can come in any form, including a specification, a design or a conversation. All of that is context and stays context. In Brief you use it to write down what must be true.

  1. The rules for the things the change touches. What must always hold, and what must never be possible? Read the existing rules and write only those that are missing or changing.
  2. A few scenarios for this change. Each describes a specific situation and the outcome it requires.
  3. Three lines if the change promises something to the people using the product. What outcome do you expect, what signal would show it, and where will you look?

Every rule says what checks it. A rule with nothing to check it remains an open question.

With this in place, estimate the risk using the blueprint and approve the brief if the blueprint requires it. Then someone other than the builder writes the cases and keeps them beyond the builder's reach. For a new behavior, the check shows that what you asked for is missing. For a behavior you want to preserve, start with a working case and introduce a defect to see whether the check catches it. If you haven't yet seen the valid case pass, say so and finish testing the gate before relying on it to ship.

Three situations call for a decision during Brief.

  • The request includes more than one feature. Before building, the agent proposes splitting the request. You decide. Each part must give the people using the product something of value on its own, so each can ship and close separately. You can split one large feature the same way. Start with the basics people can already use and add the rest later. A piece that serves nobody on its own doesn't qualify. The final part also includes a scenario that exercises all the parts together.
  • The change introduces a risk that no gate covers. Return to Prepare. If the risk is red or a regulation covers it, the change must wait for its gate before it can ship. In other cases, you can approve an independent temporary check. Write in the brief which risk it covers, who will perform it, what result allows the change to ship, and who will take care of the permanent gate. If the temporary check can't run or fails, the change waits.
  • You're unsure whether the change is worth building. Before you brief it, the agent can investigate for an agreed time without building anything. It tells you what it found and whether the work looks worthwhile, needs more information or doesn't justify proceeding. You decide whether to drop it, and your decision and reason go in the log.

Execute: going through the gates

The agent does the work and goes through the gates one by one.

  • If it gets stuck, it stops and asks. Agree on a budget for each change alongside the limits on attempts and time set out in the blueprint. If you can measure and cut off total spending, the budget serves as a hard cap. If some usage goes unreported, leave that amount unknown and enforce the limits on attempts and time. Once a limit is reached, the agent can't start another round.
  • Review the risk again at the end. Look at what the change actually touched. If that raises its risk level, the change returns to Brief. It needs cases for its new level and has to pass them.
  • A check that should have run and didn't can't count as a pass. Each check has one of four outcomes: passed, failed, didn't run or didn't apply. The gate opens when every blocking check that applies to this change has passed. A check that only reports leaves its findings for the reviewer.
  • Passing all the gates doesn't finish the job. The change has been built. It still has to close.

Close: seeing whether it helped

Integration means the change is now part of the product. To judge whether it helped, start from when it reached the people or the process it was meant for. A feature that has been integrated but is still switched off is still waiting. Once the change is in use, look at the outcome against what you wrote in the brief. The agent gathers evidence from a source where the builder can't fabricate it. You, or whoever is responsible for the product on your team, give the verdict: yes, not yet or no.

  • A promised outcome doesn't expire. Until someone looks, the change stays visible and waits. It won't close on its own, be canceled or hold up the next change.
  • A no also closes the change. Any follow-up work gets a new brief.
  • A change that promises no outcome closes on its own. The blueprint says which maintenance work qualifies and how long it must be in use. A typo fix, for example, can close after that time if no incidents have been logged. If someone reports a defect or the change has been undone, it goes back to the person responsible.

Adjust: what you know about each gate

The log says what each gate rejected, how long it took, how often it sent a change back and what slipped through. To track what slipped through, every fix names the change it corrects.

Based on that evidence, you can adjust the gates in three ways.

  • Harden. Turn a defect that slipped through into a check. If a reviewer also missed it, add it to the reviewer's exam. If it slipped through because nobody had written down the requirement, add the rule along with the check that covers it.
  • Relax or retire. If a gate hasn't caught anything in a while, give it a known bad case and see what would reject that case if you removed the gate. Weigh its cost and the protection it still provides, then decide whether to relax or retire it. The product rule still holds and needs a way to check it. If the rule itself no longer makes sense, changing it is a separate decision for you.
  • Explore. Explore a zone deliberately, without a script, to find missing gates before a defect slips through.

When the numbers call for a review

Put the figures that trigger an adjustment proposal in the blueprint ahead of time so you don't have to remember to check. For instance, how many times in a row has a check run without rejecting anything? How many briefs have you approved in a row without correcting anything? A proposal changes nothing on its own, and it can never recommend weakening the protections for the highest-risk work.

The states of a check

  • Blocks. The usual state. If the check fails, the change can't proceed.
  • Reports. The check runs and logs its findings without stopping the change. A new check can start this way.
  • In quarantine. A check that gives different results for the same thing temporarily stops blocking changes under a rule you have approved.

On red, every check blocks.

Every adjustment changes the blueprint, so it goes back to Prepare for your approval.

How it is measured

GDD has four things to demonstrate in your project.

What to measure The question How to measure it
Workload Does it save you work? Your minutes of active work per change and the questions you receive. Count the time each change spends waiting for your reply separately
What the gates catch Do they catch what matters? Which check fails at each gate, how many changes pass on the first try and what slips through
Cost Is it worth the cost? How long each check takes, how much spending you can measure for each role and which costs are missing
Scale Does it hold up as the project grows? The same measures, broken down by risk level

If a question arrives overnight, the hours before you read it count as waiting. Your active minutes are the ones you spend reviewing it and replying. If the environment reports spending for only some agents, you have a partial total.

Read the figures together. If your workload falls while more defects slip through, some of the work has just moved elsewhere.

Compare the same project before and after adopting GDD. Measure how you worked before you started and put that baseline in the blueprint. Decide ahead of time what would lead you to simplify. If GDD doesn't justify its cost, remove what you can do without.

The data stays in your project.