Chapter 1 argued that enterprise modernization with generative AI fails for the same reason the waterfall failed: the distance between making a mistake and finding it is too large. Chapter 2 showed why the obvious fix — running agents in tight micro-loops — collapses against three walls the model cannot see. Chapter 3 turned the requirements into an architecture with three pillars: an independent judge, a feedback-to-schema engine, and contract-bound micro-contexts.

This final chapter turns that architecture into an operating rhythm: what a single sixty-minute iteration actually looks like, why it behaves like a queue rather than a checklist, and what happens to the senior engineer when the main artifact is no longer code.

One iteration, end to end

The unit of work is not a sprint, a story point, or a pull request. It is a bounded iteration with a fixed budget of one hour, four phases, and one rule that overrides every other: a change is either verified or it is not done.

 0m         10m                 30m             45m        60m
 +----------+-------------------+---------------+----------+
 | Phase 1  |      Phase 2      |    Phase 3    | Phase 4  |
 | contract | constrained       | deterministic | asset    |
 | compile  | synthesis +       | verification  | crystal- |
 |          | sandbox mutation  | (multi-stage) | lization |
 +----------+-------------------+---------------+----------+
   human        N parallel          the judge      schema +
   edits the    workers in          runs the       merge
   contract     isolated sandboxes  gates          (micro-PR)
The four phases of one sixty-minute iteration, with the time budget, the activity, and the actor in each phase.

The four phases read as inputs, transformation, and evidence. Phase 1 produces a contract and a decomposed scope. Phase 2 produces candidate changes and the artifacts needed to judge them. Phase 3 produces a verdict. Phase 4 turns the verdict into merged code and a permanent constraint.

The four phases of one sixty-minute iteration
Phase Time budget Input → output Who acts
Phase 1: Contract compilation 00–10m Contract → decomposed scope and parallel plan The human edits the contract
Phase 2: Constrained synthesis and sandboxed mutation 10–30m Contract → candidate diffs with artifacts N parallel workers in isolated sandboxes
Phase 3: Multi-stage deterministic verification 30–45m Candidates → binary verdict backed by evidence The judge runs the gates
Phase 4: Asset crystallization and merge 45–60m Verdict → merged micro-PR and permanent rule Schema engine: merge + crystallization

The percentages are not fixed. On a hard iteration, verification may take half the hour and merge is seconds. On a trivial one, synthesis is five minutes and the judge runs in two. What is fixed is the order and the independence: the thing that writes is never the thing that judges, and the thing that judges never forgets.

Phase 1: Contract compilation (00–10m)

The iteration starts with a human, and only one: an architect or lead engineer who owns the contract. This is the most valuable ten minutes in the hour, and the only part that is not parallelizable.

The contract is not a ticket description. It is a specification a machine can compile and a judge can enforce. It names:

  • the interfaces that change, with signatures and types;
  • the invariants, pre-conditions and post-conditions that must hold before and after the change;
  • the write-set, the exact files and modules the change may touch;
  • the budgets: latency, memory, cost, transaction duration;
  • the non-goals, so that "while I was here" work is out of scope;
  • the gate tier, which determines how much verification this change must survive.

From that, an automated toolchain does the work a delivery manager used to do by hand. It slices the contract into isolated micro-tasks, assigns each a write-set and a read-set, detects where the tasks conflict, and decides what can run in parallel. Ten disjoint tasks become ten workers. Two tasks that both need to edit the same module become one task, or they wait for the next iteration.

The output of Phase 1 is not code. It is a plan that the rest of the hour can execute without a human in the loop, and a contract that a machine can hold the result against.

This is also where the iteration is most likely to fail, and that is a feature. An ambiguous contract fails in Phase 1, in ten minutes, in front of the person best able to fix it. The same ambiguity discovered in Phase 3 costs half an hour and a wasted synthesis run. Most of the leverage in the whole pipeline is spent here.

Phase 2: Constrained synthesis and sandboxed mutation (10–30m)

Twenty minutes of parallel generation, with two hard fences around it.

The first fence is the sandbox. Each worker runs in an isolated environment with a filesystem view limited to its write-set and read-set. The generator can read the judge and cannot write to it: the verification harness is mounted read-only at a pinned version. It can run the tests; it cannot edit them, skip them, or delete them. This is Pillar I made physical instead of promised.

The second fence is the contract itself. The worker is not given "make the refund flow more robust." It is given an interface, a set of invariants, and a test harness that already encodes what success means. Its search space is bounded by construction, which is the only reliable defence against contextual drift.

Inside those fences, the workers do two things at once:

  1. Synthesize against the contract harness: real tests that existed before the code did, not tests written after it to match it.
  2. Mutate the candidate: seed small faults into the implementation and confirm the harness catches them. A change whose tests survive their own mutations is not verified, it is merely green. Mutation here is cheap because it runs on a diff in a sandbox, not on the whole repository.

The output is a set of candidate diffs, each with its artifacts: the test run, the mutation score, the coverage delta, and a manifest of everything it touched. A worker that cannot satisfy the harness within its budget does not guess. It returns a failure with the evidence, and that failure is more useful than a fabricated pass.

Two workers may produce valid but different implementations. That is expected. The judge in Phase 3 selects on evidence, not on style, and the losing diff is discarded rather than merged.

Phase 3: Multi-stage deterministic verification (30–45m)

The judge runs the change through gates, and every gate returns a binary verdict. No gate is another model's opinion. A model may comment, warn, or suggest; it may not be the thing that lets a change through.

The gates run in order, cheapest and most fundamental first, so that a doomed change fails fast:

  • Structural: it compiles, the types check, the diff stays inside the write-set, the API surface matches the contract exactly.
  • Security and policy: secret scanning, banned APIs, licence checks, dependency direction, static analysis for the classes of bug the organisation has decided never to ship again.
  • Contract compliance: the pre-conditions and post-conditions hold, property tests pass, and the holdout tests the generator never saw also pass.
  • Real integration: the change runs in a container that resembles production, against real-equivalent dependencies, with the migration applied and rolled back.
  • Blast radius: a dependency analysis of what the diff can reach, so the judge knows how wide the consequence is before it approves.
  • Budgets: latency, memory and cost budgets measured, not asserted.

The tier from Phase 1 decides which of these run. A typo fix runs tier 0 and finishes in seconds. A change to a payment path runs the full stack.

The critical property is not that the gates are thorough. It is that their verdict is evidence. A compiler that refuses to build is evidence. A mutation score below the floor is evidence. A holdout test failing is evidence. "A reviewer model said it looks good" is an opinion, and opinions do not gate.

When a gate fails, the failure is routed, not overwritten. A bounded number of repair attempts may run, still inside the sandbox, still against the unchanged judge. After that the iteration escalates to the human, carrying the full evidence trail. What it never does is relax the gate to make the change pass.

Phase 4: Asset crystallization and merge (45–60m)

The last fifteen minutes do two jobs, and the second one is why the pipeline improves instead of merely running.

The first job is merge. The verified diff becomes a micro-PR, small enough to review as a contract delta rather than as source code, and it lands. Deployment is a consequence of a passed gate, not a separate ceremony with its own failure modes.

The second job is crystallization: turning what was learned into permanent machinery. This is Pillar II at work. The iteration extracts from its own telemetry:

  • failure signatures that recur, converted into regression or property tests;
  • patterns the judge had to catch by hand, promoted into linter rules or type constraints;
  • the boundary that was violated, tightened so the violation becomes unrepresentable;
  • the rule that fired too often, measured and either fixed or retired.

A micro-sprint that fixes a bug but leaves no rule behind has paid for a lesson it will buy again. A sprint that converts one correction into one enforced constraint makes every future sprint slightly cheaper. Over a quarter, the difference between those two habits is the difference between a team that uses agents and a system that improves itself.

A concrete iteration

Consider a payments service. The contract: refunds must be idempotent under client retries.

00–10. The architect writes the contract. The refund endpoint accepts an Idempotency-Key header. Post-condition: two requests with the same key and body return the same refund, and the ledger is written once. Budget: p99 under 300ms. Write-set: the refund handler, the idempotency store adapter, one migration. Read-set: the ledger client, the retry client. Gate tier: 2. The toolchain slices this into three tasks. It notices that the migration and the handler both touch the schema, so they are serialized; the adapter task runs in parallel.

10–30. Two workers synthesize. One implements the key store and the handler change; the second writes the property test (same key, same result; different key, different refund) and the migration. Both mutate their tests to confirm the tests bite. One worker's first attempt passes the happy path but fails the concurrent-retry property; it repairs inside the sandbox and returns a passing diff with a mutation score of 0.86.

30–45. The judge runs tier 2: types, contract tests, property tests including the concurrency case, the holdout test the workers never saw, a migration up-and-down in a production-like container, and a blast-radius check that shows the change can reach the ledger writer but not the settlement batch. The latency budget is measured at 210ms p99. Everything passes. One policy check fires: the migration lacks a down-migration guard, a rule added after a past incident. The worker adds it in a bounded repair and re-verifies.

45–60. The micro-PR merges. The schema engine crystallizes one rule that outlives the task: every state-changing endpoint must declare an idempotency strategy, enforced by a contract-test template and a linter rule. The next refund-like change starts with that constraint already in place, and the class of bug that prompted this iteration is now much harder to reintroduce.

Total wall-clock: fifty-eight minutes, most of it spent waiting on gates that either passed or did not. No standup. No estimation meeting. No review of two hundred lines of generated code.

The iteration as a queue, not a checklist

The mistake most teams make when they adopt this is to read the four phases as a process to be scheduled. They are not. Once contracts arrive continuously and iterations run in parallel, the system is a queue, and the behaviour is governed by queueing theory, not by project management.

The arrivals are contracts: an architect can author a finite number of them per day. The service is verification: the gates, and how fast they can run. The work-in-progress is the set of iterations currently between contract and merge.

 contracts          bounded WIP           verification        merged
 (arrivals, λ) ──▶ [ in flight, ≤ N ] ──▶ (service, μ) ──▶ (done)
                    Kanban limit            the judge
The iteration pipeline as a queue: contract arrivals, bounded work in progress, verification as the service, and merged work as completion.

Three consequences follow directly, and each one is counterintuitive until it has been experienced in practice.

Throughput is capped by verification, full stop. Adding generation capacity does nothing once synthesis is faster than the judge. The only way to ship more per hour is to make verification faster or to make fewer changes need the expensive gates. Tiering the gates is a throughput decision, not a quality decision.

Running the judge at 100% utilisation will not maximise throughput. This is the oldest result in queueing theory and the one teams resist hardest. When service times vary, a system near full utilisation accumulates a queue that grows without bound. A judge with spare capacity is not idle waste; it is what keeps cycle time stable. Teams that "optimize" the pipeline by loading the judge to 100% discover that their average iteration time explodes while utilisation looks perfect.

A WIP limit is a design choice, not a staffing choice. Bounding iterations in flight keeps the queue shallow and cycle time predictable, and it forces the contract to be the constraint instead of the sandbox count. When work backs up, the correct response is to slow arrivals, not to start more.

The death of human estimation

Estimation existed because the cost of a change was dominated by human effort, and human effort is variable and hard to predict. Story points, velocity and burndown charts were all machinery for forecasting that variability.

In a micro-pipeline, the cycle time of a change is not primarily human effort. It is the sum of a small contract-authoring time, a synthesis time that is roughly constant, and a verification time set by the gate tier and the queue. Two of those three are properties of the system, not of the task.

So estimation changes shape. The question "how long will this take a person?" is replaced by:

  • what tier does this contract require, and what is that tier's current service time?
  • how deep is the queue, and how long will this wait before it starts?
  • is the contract stable enough to enter, or will it churn and be re-synthesized?

Those are answerable from telemetry the pipeline already produces. The forecast stops being a negotiation and becomes a measurement. That is not a small change. It removes one of the largest sources of friction and politics in software organisations, and it replaces it with the requirement that the system be instrumented well enough to measure.

What the senior engineer becomes

The role that disappears is the one whose output is source code. The role that appears is the one whose output is the invariants that govern machine generation.

Chapter 3 named this shift; here is what it means in weekly practice.

The senior engineer's primary artifacts become:

  • contracts: the interfaces, guarantees, budgets and boundaries that define what a class of changes must satisfy;
  • harnesses: the test suites, property tests, holdouts and mutation floors that decide whether a change is acceptable;
  • schemas: the types, lint rules, dependency constraints and negative tests that make whole categories of mistake unrepresentable;
  • the non-goals, written down so that "improvements" stay out of scope.

This is not less demanding than writing code. It is more demanding in a specific way: an invariant must be true, and true in a form a machine can check. Code that works is a low bar. A contract that is complete, minimal, and enforced is a high one, and the pipeline punishes an incomplete contract in the first ten minutes.

The skills that transfer are the ones that were always senior: knowing where the boundaries belong, which invariants actually matter to the business, and which shortcuts are load-bearing. The skills that atrophy are the ones that were never the point: remembering syntax, and being fast at typing.

What this still does not fix

A blueprint that claims to solve everything should not be trusted. This one has honest limits.

Someone still has to choose the boundaries. The pipeline cannot decide that refunds belong in the payments domain and not the orders domain. That is a judgement about the business, and it stays human.

A contract can still be underspecified. A machine will satisfy the letter of a weak contract exactly as it will satisfy a weak test. The defences, mutation and holdouts and review, reduce the failure rate. They do not reach zero.

Verification is a real cost. A production-like container, a mutation run and a holdout suite are not free, and the economics only work if the tiering is honest. A team that declares everything tier 3 gets no benefit from the speed of synthesis.

The organisation can re-couple the judge. This is the failure mode that kills the whole thing, and it is social, not technical. If the team that owns the gates also owns the release date, there will be a week when the gate is loosened. Independence has to be structural: separate ownership, separate budget, an escalation path that does not run through the release manager.

The real future of agile

The promise agile actually made is worth restating one final time:

It was never stand-ups, story points, or burndown charts. Those were the visible rituals of an idea: that software should be built in small increments, verified as it goes, and changed without fear because the cost of being wrong was kept low. Every ritual was an approximation of that idea, tuned for a world where humans wrote the code and the speed of writing set the pace.

That world is ending, and most organisations are responding by keeping the rituals and adding a generator, which changes the pace of writing and nothing else. They get more code and the same process, and they find that the failures get bigger, not smaller.

The alternative is the one this series has described. Shrink the verification feedback radius until a mistake is found minutes after it is made, in a slice small enough to understand. Put a judge between generation and truth that the generator cannot argue with. Turn every correction into a constraint so the system learns even though the model does not. Bound each iteration by a contract so that speed never outruns comprehension.

None of that is a model capability. Every piece of it is architecture and discipline, available today, with the models we already have. The organisations that build it will get what agile originally promised and never quite delivered at scale: change that is rapid, fearless, and verified. The ones that keep pasting generators into ceremonies will get the modern waterfall again, one ticket at a time.