Engineering with AI
Working with AI without a method is a gamble.
01 Definition
AI prepares Separates the problem from the solution the request came with, and classifies the data.
A person decides Product approves the definition.
02 Building
AI prepares Writes the change and checks it against the team's rules.
A person decides Whoever builds it understands it, fixes it and opens the merge request.
03 Review
AI prepares Summarises the change, its risks and the rules that apply.
A person decides Someone else approves it, never the person who wrote it.
04 Production
AI prepares Gets the deploy ready, along with the plan to roll back.
A person decides A person decides to go to production and takes responsibility.
05 Learning
AI prepares Turns what was corrected into a rule, with its origin.
A person decides The team approves it and it applies from the following changes on.
More and more software teams work with AI assistants such as Claude Code or GitHub Copilot, and from the first day the work moves faster. What is almost never there is a shared way of using them that the whole team has agreed on. Each developer writes their own instructions to the assistant and works in their own conversation. If they discover something useful there, such as a team convention or a mistake worth not repeating, it stays only in that conversation. When they close it, it is lost, and the rest of the team never finds out.
Over time, that lack of agreement starts to take its toll. The quality of the code depends on who used the assistant that day, the context they gave it and how they asked. Issues the team had already settled in a code review are argued over again in the next change, because nobody wrote the decision down. Security is only checked at the end, when the code is finished and fixing it costs more. And if someone asks which standard was applied to a change or who approved it, nobody knows what to say.
The risk of vibecoding
A way of working with AI known as vibecoding has become popular. The idea is to ask the assistant to build something, check that it works and move on, without taking the time to review the code it wrote. For a prototype that may be enough. But in a product that handles money or personal data it is a risky bet, because the assistant writes with the same confidence when it is right as when it is wrong. If nobody reviews its work with technical judgement, the error reaches production and, in the long run, ends up affecting users.
That is why an engineering team always needs someone who reviews what is about to ship, notices when something is not right and takes responsibility for the result. That responsibility cannot be handed over to a tool, however good it is.
The idea behind GATE
To bring order to this work I wrote GATE, an open framework. Put simply, it is a set of stages, roles and rules that any company can take and adapt to its own situation. GATE organises work with AI into stages that run from the moment someone raises a need until the change reaches production, and for each one it defines what comes in, what goes out and who has to approve it before moving on.
The assistant reads the code and the data, drafts proposals and checks what it claims by comparing it with the original source. The person reviews that work and decides whether to accept or reject it. No change to a system the team shares, such as the code repository or a database, happens without a person authorising it, and that person is the one who takes responsibility for the result.
GATE also aims for the team to learn from its own work. When a code review settles something, for example which validation a form must never lack, that decision is written down as a team rule, together with the case that gave rise to it. The same happens with the root cause of every production incident. From the following changes on, the assistant checks the code against those rules. That way the team does not reopen what it has already settled.
On this base, each company builds its own SDLC, that is, its complete software development life cycle, fitted to its products, its team and the AI assistant it prefers.
The changes I expect
The first thing I expect to gain is time. A development team loses a lot of time to mechanical work, such as writing tickets, rebuilding the context of a topic before picking it up again or putting together the timeline of an incident. If AI takes those tasks on, people are left with more hours to think and decide.
The second benefit takes longer to show. If every code review leaves written rules and every incident leaves its root cause documented, the team should trip over the same stone less often. Someone who has just joined should get up to speed faster, because they find in writing how the team works. And for any change it should be possible to know what was asked for and who approved it.
I say «should» on purpose, because I cannot prove it yet. Some parts of GATE already work day to day and others do not, and I do not yet have measured results to show.
Who decides
Bringing order to work with AI means deciding in advance how far the assistant can go on its own and at which moments it has to stop so that a person decides. GATE calls those moments checkpoints. It also separates some roles. Nobody reviews their own change or approves a design they proposed, and whoever builds a feature is not the one who confirms it does what the business needed. In a small team, with an assistant able to produce a lot of code in little time, it is easy to go wrong very fast, and this separation helps catch mistakes before they reach production.
The deploy, which is publishing a change to production, is a good example. The assistant can get everything ready, but a person makes the decision to publish, and that person takes responsibility for what happens next.
Judgement still belongs to people
AI amplifies whoever uses it, for better and for worse. In the hands of someone without technical judgement, it multiplies the confusion and produces more bad code in less time. In the hands of someone who knows what to ask for and which parts of the system cannot fail, it makes it possible to achieve far more than a few years ago. A method that writes down what the team learns helps that judgement stop depending on a few people and puts it within everyone's reach.
Assistants will keep improving and will be able to take on longer tasks with less supervision. It makes sense to give them more autonomy, as long as that decision is made by looking at the evidence, such as how many mistakes they make and of what kind, and not only because it saves time.
GATE is public and anyone can use it. If you try it with your team, I would love to hear how it went, both where it got hard and whether you saw the results of each development cycle improve.
Follow the journal RSS