The first part was about the three roles. From this part and through the next five, we follow the workflow step by step, from idea to master. First the whole picture, then the first step, which is the only one where I do any real work.
The human comes with an idea. A session questions me until there is an epic with a design. A planner session splits the epic into ordered stories, and the runner picks the next one and has it refined into at most five tasks. Each task gets a spec session and an implementation session, and the runner runs a gate between them and after them. When every task in a story is green, a session reviews the whole story and merges it into the epic branch, and the runner builds the epic branch after the merge. An inspector session assesses whether the epic is done. If it is not, the next story starts. If it is, the runner merges it up, and finally I merge to master.
Notice two things. Every time the work goes from one session to the next, it goes down through the runner's row. No session starts the next one. And between idea and master my row is almost empty. I follow along in Teams and step in only when something is blocked.
The rest of the series zooms in on each step: spec and gate in #3, the handoff between the sessions in #4, review and inspection in #5, the merge chain in #6 and what happens when something goes wrong in #7.
The first step is a grill interview. It builds on Matt Pocock's grill-me skill (github.com/mattpocock/skills). A session asks questions until every branch of the decision tree is resolved: who is the user, what happens in the failure case, what is out of scope, what do we do with what already exists. It asks one question at a time and gives its own recommendation with it. If a question can be answered by reading the code, it reads the code instead of asking me. It does not let go of a branch until it has an answer.
This is where my decisions actually get made, and that is why this is where I spend my time. Everything after this step runs without me. If the design is unclear, the lack of clarity does not shrink because ten sessions keep working on it. It becomes code.
The interview for our example, access per data type, had 17 questions. Before the first question, the session made an inventory the same day: which data types exist, which roles give access to them today, and what the actual assignments look like in the development database. The document itself states which commit and which database it was measured against. A design that is not anchored in a measurement is an opinion about what the code looks like.
The result is a design document with numbered sections: the model, the roles, the catalogue, the assignment, the migration, the order and a section titled "What enforces it". Every decision has a rationale, and the rejected alternatives are there too, so the next session does not propose them again. If there is UI, mockups come with it, so the screens can be checked later.
The document starts as a draft in the state repo and lands in the product repo together with the epic. From then on it is the contract for everything that follows. Every session that refines, specifies or reviews is pointed to the sections its work rests on. A tool keeps the document honest against the code: if a binding document mentions a class that no longer exists, the test suite goes red. That tool comes in #8.
The most important thing about the contract is how it is changed. A decision is not rewritten. It gets a stamp: AMENDED with a date and a reference to what changed it, or SUPERSEDED with a date and a reference to the section that replaces it. That way you can always see that the decision was different, when it was changed and why.
In our example the document was created on 4 November. Two weeks later it has 41 AMENDED stamps and two SUPERSEDED. The six newest come from new deliverables that build on the design. Of the 35 from the deliverable's own two weeks, three come from me. The rest come from the work:
That is how it should be. A design that is never corrected has not met reality.
The epic is the design's goal in short form: a goal of a couple of lines, a Definition of Done, scope in and out, and constraints. Each item in the Definition of Done has a type, because that determines how it can be checked:
Access per data type first became two epics: one for backend, roles and statistics, and one for profiles, catalogue and assignment. They became five before the deliverable was finished. Why comes shortly.
A planner session gets the epic, the design and an extract of the code map for the current code on the epic branch. It writes an ordered list of story stubs: title, type, area, order and a short description. The runner creates the stubs. The first epic in our example got four, the second eight.
A stub is not a story. Only the next one is refined, and only when the previous one has been built. That is deliberate. The plan builds on the code that actually exists on the epic branch, not on the code the planner imagined. If you plan ten stories ahead, the last seven are written against a codebase that does not exist when they are to be built.
Refine is analysis and a split into at most five tasks. Each task gets a spec marker, a list of the files it is expected to touch, and the markers the runner will need later: whether it changes UI and must be verified in a browser, and whether it touches an API that requires a full-stack test. The runner checks the result before the story becomes ready: the format, the number of tasks, that each task has a spec marker, and that the file lists do not overlap with stories running at the same time. If the check fails, the refine is corrected.
Refine also chooses an agent profile, and the choice has to be justified. A typical justification from the example: a destructive data migration on the permission tables, where a wrong mapping removes or widens real users' permissions. That story ran on the strong profile. In access per data type, 25 of 32 stories did, because almost everything touched a permission boundary.
There are no open questions in a refined story. There is no one to ask them. An unsupervised session decides for itself within the design and writes the decision down, or it blocks the story.
When a story has been merged into the epic branch, an inspector session runs. It gets the epic, the evidence from the completed stories, the code map for the current code and the remaining stubs. It has four answers:
The second epic in the example was inspected eleven times. Eight times it was on track, twice the inspector proposed an adjustment, and the eleventh time it was done. The second adjustment is the one that shows what a Definition of Done is for. All nine stories were done and merged. Even so, the inspector did not answer "done". Item 5 said that the migration had to give users at least the same effective rights as before, and that was not met for all data types, because the handler the analysis had found required permissions that the new profiles did not yet carry. The inspector proposed two more stories, each giving one group of data types the permissions they lacked. Without that item, the epic would have been done according to the plan and wrong in production.
The fourth epic was inspected as blocked once. A story had been merged, but a test failed afterwards because one line was missing. The inspector chose not to adjust the plan, because the fault belonged to the story and not to the epic. The epic waited while the story was resolved through its own blocked lane.
The approvals were originally mine. The plan was that I would approve the stubs before the work started, and every proposed adjustment. Today both are automatic. The runner approves deterministically, and there is a brake that can switch that off again. I read the design before and the result afterwards, and those have turned out to be the two places where my attention makes a difference.
The example has a third place. On 9 November I saw the first version of the access management in Portal. It worked, it was tested, and it was on master. But a user's access could be edited in two places: from the user's own card and from a matrix under the configuration, with the users on the left and the selected user's profiles on the right. I decided that access is configured in one place, as a user list with one column per group, and that the action on the user's card should go.
The same day the decision was written into the design as new sections. The old section got a SUPERSEDED with a date and a reference to the new ones, and a new epic was created. It went through the same steps as the others: stories, gates, review, inspection in the browser, a fix epic for what the inspection found, and a new inspection that confirmed the fixes. It all happened on 9 November. The runner merged it up the same evening at 23:43, and it was on master the next morning.
That is not a break with the process. It is the process. A design is a contract, and a contract can be changed. But only by a decision that has a date, a reason and a place in the document, so the next session does not build on the old one.
The quality of the first step determines the quality of the rest. That is why this is where the human spends their time, and that is why this is where everything is written down: measured, numbered, justified and stamped when it changes. It is the most expensive hour in the whole process, and the cheapest. A mistake in the design only gets more expensive with every story that builds on it. The plan only reaches one story ahead, and after each story an inspector compares the result with the goal, not with the plan.
The next part is about the step where an AI cannot move the finish line (#3).
Numbers as of 19 November 2026.
—
The code is written by AI. So is the text. The decisions are mine.