How I build

AI agents write the code. A process I built checks it before production.

I work with AI agents because they are fast. I don't take them at their word, because they can be confidently wrong. Below I show what stops them and at what scale: in numbers counted on the code of this site and on the code of Aelo, the SaaS platform where I am CTO and co-founder.

284

closed phases of work on Aelo

1,030

agent claims refuted by the skeptic in Aelo

16,197

test cases in Aelo

Software development lifecycle (SDLC)

From plan to deployment: the path of a code change

Step by step: a concern, the safeguard, and a number that shows the scale. I don't promise a watertight process: the guardrails catch typical attempts, and I close off the bypasses that reviews turn up in later rounds.

  1. 01

    Plan with acceptance criteria

    2,281

    acceptance criteria in closed Aelo phases

    Concern

    “The agent builds something other than what was ordered.”

    Safeguard

    Before any code exists, the phase gets acceptance criteria that can be checked with a command. A plan without such criteria is stopped by a gate, an automatic check of the project's state.

  2. 02

    Skeptic

    1,030

    refuted claims in Aelo skeptic reports

    Concern

    “The agent states something false in a confident tone.”

    Safeguard

    A separate agent session, read-only by design, tries to refute the claims of the plan. Typical attempts to write code before its verdict are stopped by a guardrail.

  3. 03

    Execution

    35

    automatic checks on agent actions in BlueCode

    Concern

    “The agent bypasses the rules when I'm not looking.”

    Safeguard

    The most important rules are not a request in the agent's prompt but automatic guardrails that check its moves while it works. Typical bypass attempts are detected.

  4. 04

    Review

    6

    specialized AI reviewers

    Concern

    “The code moves on without a review.”

    Safeguard

    The change is read by AI reviewers who did not write it, chosen for what it touches: security, backend, frontend, tests, design or infrastructure. Typical attempts to submit a change for merging without the skeptic's verdict are stopped by a guardrail.

  5. 05

    Tests and gates

    16,197

    test cases in Aelo

    Concern

    “What worked yesterday will break tomorrow.”

    Safeguard

    Recording a change in the project history requires a green run of tests and gates on that same code. Typical attempts to skip this requirement are stopped by a guardrail.

  6. 06

    Live check

    6

    screen widths in the page layout test

    Concern

    “Tests pass, but it doesn't work in the browser.”

    Safeguard

    Correct code is not enough. The change is clicked through in a browser, and an automated test checks the page layout at widths from a phone to a large monitor.

  7. 07

    Deployment

    793

    checks in the test suite for the guardrail on code-history operations

    Concern

    “The agent overwrites the code history or ships a change to production on its own.”

    Safeguard

    Typical attempts to overwrite history and push code to the production branch are stopped by a guardrail. I approve merging and deployment.

Along the whole path

Risks guarded by the whole process, not by a single step

“A password or key leaks along with the code.”

I keep passwords and keys out of the code history, and the project documentation lists only their names, never their values.

“The agent does more than the task asked for.”

The agent works on one phase that I point it to, and has assigned directories it may write to. Writing outside them through the file editor is stopped by a guardrail.

Division of roles

Planning, building and assessing in three separate roles

An agent that checks its own work agrees with itself. That is why the roles are split between separate sessions.

  • Planner

    Breaks the work into phases and writes the acceptance criteria. Talks to me and records my decisions.

  • Builder

    Writes the code of one phase in the assigned directories. Hands over the result with a measurement, not with an assurance.

  • Skeptic

    Reads the plan and the code, looking for claims that can be refuted. Its job is to read and write its own reports, not to fix someone else's work.

Human in the loop

What I do, not the agent

I don't hand these decisions to a machine. An agent can prepare them, I approve them.

  • Deployment to production

    It goes ahead with my approval, after review and green tests.

  • A change entering the production version

    A change is meant to enter through a pull request with the skeptic's verdict. Typical attempts to open one without a verdict are stopped by a guardrail. Before approving, I read the verdict and the parts that carry risk.

  • Business decisions

    Scope, price and priorities are a conversation with me, not the output of an agent.

  • Starting the working environment

    I start the servers on which a change is checked before deployment. The agent asks for a start, and typical attempts to start them on its own are stopped by a guardrail.

Numbers

BlueCode and Aelo side by side

BlueCode is the young repository of this site. Aelo is the SaaS platform where this process matured. Numbers counted by a command on the state of the repositories as of: Nov 22, 2026 (automatic checks on agent actions in BlueCode: state of my tool as of Nov 22, 2026)

BlueCodeAelo
Closed phases13284
Acceptance criteria in closed phases1292,281
Skeptic reports29533
Refuted claims741,030
Test cases11716,197
Automatic checks on agent actions4750
Checks with their own test4241
Process gates2562

My tool

This process in one tool that already works

I gathered the rules from this page into one tool, which I developed over months of working with AI agents. Below you can see who performs which step and how many gates stand at each transition. The content of the rules themselves stays with me.

Plannerwrites the plan and closes the phase
Skepticonly reads and assesses
Builderwrites the code of one phase
1 gateonly this role writes the plan
1 gateaudit rounds are limited
0fixes go back to the planner
4 gatesno verdict, no phase start
1 gatean explicit command closes the phase
2 gatesrecorded only after green tests

step 1

Plan

acceptance criteria

step 2

Audit

an attempt to refute the plan

step 3

Execution

code in assigned directories

step 4

Closing

chronicle and lessons

end

Recorded in the code history

I approve the deployment

  1. 1. PlanPlanner1 gateonly the planner writes the plan
  2. 2. AuditSkeptic1 gateaudit rounds are limitedFixes go back to the planner.
  3. 3. ExecutionBuilder4 gatesno verdict, no phase start
  4. 4. ClosingPlanner1 gatean explicit command closes the phase
  5. Recorded in code history and deployedMe2 gatesrecorded only after green tests
Gate
A check that stops the move to the next step until its condition is met. It is not a request in the agent's prompt. A guardrail is the counterpart that checks a single action while the agent works.
Role
I assign it to an agent session at start. The role decides which steps the session may perform and where it may write.
What the graph does not show
The content of the rules and how the gates recognize a bypass attempt. On a call I will show more.

Configuration state as read by the command on Nov 22, 2026

What works today

  • worksEvery agent session gets a role at start, and a guardrail rejects any action outside the role and says why.
  • worksA session started by another session does not get a broader role than the one that started it.
  • worksWhen an agent cites my approval, the exact words of that approval must have been typed in the same session. The tool does not check who typed them.
  • works27 guardrails that record refusals in a log.
  • worksAfter every version change, the tool reminds me of a test run that checks whether the guardrails still refuse.
  • worksAt session start, the agent receives the latest lessons from previous work.
  • worksA guardrail that cannot start stops the action. Verified for a broken configuration.

For CTOs

Details for the technical team

No file names and no code. On a call I will show more.

How sessions are separated

I assign a role to a session at start. The role determines which commands the session may run and which directories it may write to. Typical attempts to call a command from the wrong role, or to write outside the assigned directories through the file editor, are stopped by a guardrail.

How a guardrail differs from a gate

A guardrail works while the agent is working, on a single action. A gate checks the state of the repository before changes are recorded. There are 25 process gates in BlueCode and 62 in Aelo.

Who tests the guardrails

Every check of my tool has its own set of cases, run by a command. In BlueCode, 35 of 35 checks have such a test. The claims on this page about what gets stopped rest on guardrails with a test or on gates.

What the guardrails do not catch

A guardrail recognizes typical forms of a forbidden action. An unusual way of writing the same action can get through. That is why I write “typical attempts” and don't promise a watertight process. There were 7 independent reviews looking for bypasses. I close their findings in later versions of the tool. The limitations I leave in place on purpose have a documented second layer that holds them.

Where the numbers come from

The numbers on this page were counted by a command on a saved state of the repository, with the date of the measurement. I will show the table of commands on a call.

I build a solution for your company with the same discipline. See how I design it

Contact

Want the speed of agents with the risk under control?

Tell me what you want to build or which process you want to hand to agents. I will tell you how I would structure the work so it moves fast and only what has been verified reaches production.

Message me

I reply within one business day. The first call is free.