← All posts

12 November 2026

Our AI Delegation Model

Who decides, who coordinates, who builds and who tests when most of the code is written by AI agents. Work flows down as specs, evidence flows back up, and nothing reaches main without the gate and a human OK.

Raoul Mackle, with Claude CodeTools: Claude · Codex · OpenCode · Jenkins

On one of our larger projects, a distributed systems platform, most of the code is now written by AI agents. Several of them run at once, across repositories and operating systems. Without clear lines of authority that turns into noise quickly: two agents fixing the same bug, a test quietly relaxed so it passes, or a session asking a human to approve something another session already refused.

So we wrote the model down. Work flows down the chain as specs and briefs. Evidence flows back up. Nothing reaches the main branch without passing the gate and getting a human OK.

The chain of command

Each tier has one job. The labels on the left say what that tier is for; the cards say who sits in it and what they do.

Decides

final say

Raoul operator

  • Product and architecture direction
  • Sign-off on SDK, wire-format, public header and FFI changes
  • The OK to push to main
  • Anything needing admin rights, sudo or a system setting

questions route through the coordinator

Coordinates

one integrator

Coordinator Claude

  • Drift check first, then writes the spec or brief
  • Routes each task to the right agent
  • Reviews every result and sends back anything weakened or invented
  • Bundles, runs the gate, and pushes with the operator's OK
  • Answers other sessions so they don't ask the operator directly

Keeps its own output short and delegates the coding.

specs out · evidence back

Advises

independent eyes

Deep reviewer design review

  • Adversarial review of designs and fixes
  • Design notes for the filesystem layer
  • Recently caught a temp-file cleanup trap and a gap in hot reload

Fable 5.2 advisor

  • Reviews plans and specs before they are built
  • Revised two specs when they turned out to conflict
  • An advisor only, never a builder

briefs

Builds

writes the code

Codex main builder

  • Core and module features, ports, fixes and merge resolution
  • Offline sandbox with no network and no git; the coordinator commits
  • Every change ships with tests, planted bugs and a baseline

Never: invented approvals, relaxed checkers, or public header edits without sign-off.

OpenCode · Qwen 3.8 long-haul builder

  • Slow, mechanical, single-task work: one test or one script per brief
  • Runs on our own GPU, so it uses no Claude capacity
  • Currently building a CI precheck runner, then a multi-target task one target at a time

Never: security or consensus code.

Claude lanes Sonnet

  • Isolated worktree lanes for a single ticket, when a Claude session is the best fit
  • Same evidence rules as every other builder

branches to build and test

Tests on platform

owns a device or app

Windows tester Windows

  • MSVC builds, NTFS and ReFS runs, Windows baseline results

Mac tester macOS

  • Mac builds, fenced tests only, and review of Windows-specific code

Fleet agent rollout

  • Host rollouts, the MCP pilot and hardware checks

Application agent app layer

  • An application built on the platform, a real-node test harness and wire-format diffs

Product agents apps

  • The Flutter app and related products

bundle

Ships

Jenkins

Main CI Linux

  • Full test suite, sanitizers and packages

Platform CI advisory

  • Intel Mac, ARM Mac and Windows agents running offline unit tests

How one change travels

A change takes these eight steps, in this order.

  1. STEP 1

    Spec

    Coordinator, drift-checked

  2. STEP 2

    Advise

    Fable or the deep reviewer

  3. STEP 3

    Build

    Codex or Qwen

  4. STEP 4

    Review

    Codex review + coordinator

  5. STEP 5

    Platform test

    Windows and Mac testers

  6. STEP 6

    Bundle + gate

    Isolated runner, prechecks

  7. STEP 7

    Operator OK

    Push to main

  8. STEP 8

    CI + rollout

    One build, then rollout

What gets sent back

Anything that fails review goes back to the builder with the reason: a test made to pass, an invented approval, a checker relaxed. Nothing is pushed in drips. It is one bundle, one gate, one CI build.

Who decides what

Most decisions stay as low in the chain as they safely can. The ones that are expensive to undo come to a person.

DecisionWhoExample
How to implement inside an agreed specBuilderCodex choosing how to reopen a file on Windows
Design fixes, merge rulings, rejecting weakened workCoordinatorNaming crash-recovery temp files with an instance token instead of a process id
SDK, wire format, public headers, versions and flag daysRaoulSettling what the Windows build reports for now, with the full fix scheduled for later
Pushes to main, admin and system changesRaoulA Windows Application Verifier run on the test machine

Rules every lane follows

No shortcuts

Take the option that stays true to the architecture, and drift-check before proposing.

No tests on the host network

Tests run on an isolated runner, a dev cluster or CI. Never from the main checkout.

Evidence, not claims

A test that fails without the fix, planted bugs, a baseline row, and the commit it ran on.

Peers can't grant approval

An action blocked in one session is never done by another on its behalf.

No version churn

Before v1, changes land on coordinated flag days, with the whole lab on one build.

Mind the shared machine

Agent workloads are resource-capped, and only a couple of heavy jobs run at once.

Why it works

  • One coordinator owns integration, so agents never race each other to main.
  • Advisors only advise and builders only build. Nothing is accepted on its builder's word: the coordinator reviews every result.
  • Every claim arrives with evidence: a test that fails without the fix, planted bugs, a baseline and the commit it ran on.
  • A refusal in one session stays a refusal. Another agent can't approve it on someone's behalf.
  • The decisions that are hard to reverse, like interface changes and pushes to main, always stop at a human.