Baptiste BouaultAI engineer, CTOFR Français

The bay at dusk: the case study's instrument on its float.

S5AI startup, CTO role

Agent-driven delivery under human control

The method I wrote to deliver the systems of case studies S3 and S4: coding agents build and check changes to applications in production at clients, under my rules, and the red lines wait for my approval.

In service since July 2026 (as of 17 November 2026).

At a glance

What it is
My method for evolving software already used by clients with coding agents: some write the changes, others check them, and I make the calls on trade-offs and red lines.
For whom
The two audit firms of case study S3 and the restaurant group of case study S4.
What it changes
Users' requests are handled continuously: 38 successful releases in four weeks on one of the projects. Every change arrives checked and can be undone, and sensitive actions wait for a person's approval.
My role
I wrote the method's rules and I make the calls; at one of the firms, I launch every production release myself.
InterfacesThe model proposesThe code decidesClient systems
The machine layers this system touches are drawn in heavy line.

Problem and stakes

A small team faces a steady flow of requests on applications that are critical to the client, such as an audit platform in the middle of the season.

What is at stake: delivering fast without regressions, without exposing client data, without calling paid services during tests, and without an agent acting alone on anything sensitive. Agents make mistakes: their errors must be found before production, and by someone other than themselves.

Context and constraints

Status
In service since July 2026 (as of 17 November 2026). At an audit firm since July 2026 and at a restaurant group since October 2026; at a second firm from October to November 2026.
Setting
AI startup, CTO role
Layers
The model proposes, The code decides, Client systems

Constraints

Architecture

The lock: a canal section with three gates, a handwheel on its post, small floats passing from one reach to the next.

FigureThe lock

Every change passes the checks before production

The five steps

  1. The request arrives as a ticket.
  2. Agents write the change and its tests.
  3. Other agents, working independently, try to break it.
  4. Automatic checks decide whether it passes.
  5. Into production, rollback ready.

Principle figure: it shows the role of each part, not the client's rules.

DiagramWho does what in a delivery

InterfacesThe model proposesThe code decidesClient systems
  1. Interfaces

    Users' requests, as tickets; no agent has direct access to users.

  2. The model proposes

    An orchestrator shares out the work; agents write the changes with their tests; others, independent, try to break them.

  3. The code decides

    Automatic checks decide whether a change passes: full test suite, dry run, checks before and after release, rollback ready.

  4. Client systems

    The client's production, touched only through the controlled release circuit; sensitive actions wait for a person's approval.

  5. Where a person decides

    Directives, trade-offs, approval of sensitive actions; at one of the firms, launch of every production release and checks in the browser.

How to read From top to bottom, the layers of the machine the method touches; the bottom line says where the person decides. No agent has an interface with the client's users.

Legend

  • Interfaces
  • The model proposes
  • The code decides
  • Client systems
  • human decision
  • layer not touched

Diagram of principle: the layers and their responsibilities. The real rules, thresholds, instructions and sequences stay with the client.

Technologies

Coding agents built on language models, Python, version control, automated tests, a scripted browser for screen checks

My role

The method and its rules are mine, written in the project folders: an independent checker is mandatory before production, the number of agents is limited, some time windows are test-free, and working around a command refused by the system is forbidden. At one of the firms, I carry out production releases and do the browser checks.

What I contributed

Decisions

  1. ChosenA checker independent of the author, and an adversarial review.

    RejectedLetting the author check their own work.

    EvidenceAfter a first passing verdict, an adversarial review still found real defects, one of them blocking.

  2. ChosenProduction releases go through a script that checks before and after and rolls back on failure; at one of the firms, only the person starts it.

    RejectedLetting the agent deploy.

    EvidenceOn one of the projects, over the measured period: 1 automatic rollback, 2 refusals by the prior checks and 42 dry runs, alongside the successful releases.

  3. ChosenA separate workspace for each change, and each change behind a switch, off by default.

    RejectedSeveral agents in the same workspace.

    EvidenceTried: the agents' final steps blocked one another.

  4. Chosen"Done" only after proof on a real operation.

    RejectedCounting "deployed" or "tests green" as success.

    EvidenceIn September 2026, pages were failing on the pre-production environment while every test passed.

What this shows

Have agents work on production systems without handing them control: they build and check, the person sets the rules and keeps the sensitive decisions.

What broke

closed incidents, dated to the month, told through their lesson

  1. September 2026Green tests, but pages failing in pre-production: the test loader could not see an import defect. Since then, a guard test and a check in a real browser come before every release.
  2. November 2026Sub-agents ran on a smaller model than intended, because of an environment setting. Since then, the model is set on every call and checked in the traces.

Measurements

measurements and counts, with how they were measured

38

successful releases on one of the projects, over four weeks, with 1 automatic rollback and 42 dry runs

measured in production

15

real defects found by an adversarial review, after a first passing verdict on 8 items

documented by the project

Measurement modes

Limits

What stays private

What this case study does not show, and will not show: