Concept 02 · Chapters 8 and 12, principles 4 and 8
No change approves itself.
Whatever produces a result must not have sole control over the criteria, the evidence or the decision that accepts it. Acceptance comes from something the producer cannot steer, is tied to one exact result, and carries what it rests on.
01 · Why it matters
The change that double-booked a clinic had twenty-three tests, and all twenty-three passed.
- An agent built a small feature in an evening: add a walk-in patient without leaving the day view. To know whether a clinician was free, it looked that up in the rota.
- It wrote twenty-three tests of its own work. Every test passed. The summary on the pull request said so in green.
- Lucía reviewed it with forty other changes waiting. She read the summary, saw the twenty-three tests, opened two of them, and approved.
- On Saturday the app allowed a walk-in into a slot that was taken. Saturday clinics keep their rota in a separate table. The agent had not known.
- The tests checked that the code did what the agent thought it should. They could not check whether what the agent thought was true.
pp. 115–116.
Marlow is a fictional organization used in the book to illustrate the method. Its numbers are illustrative.
02 · The assurance boundary
The builder produces. It does not control what accepts its work.
- The builder produces the change and tests its own work: useful, and not a verdict. Its tests are evidence the judge reads.
- Out of the builder’s reach: the criteria, the evaluation, the evidence, the decision, the path to release. A team can pass four and fail the fifth.
- An agent that starts a second agent to judge it, and gives it its instructions and its summary, has two identities and one controlling mind.
- Asking for a judgment is different. The harness sets up the judge, gives it its instructions and inputs, and keeps the verdict where the builder cannot touch it.
- A return says which statement failed. There is no second path to release.
Figure 8.1, pp. 118–119.
03 · The Saturday change, replayed
A scenario that took two minutes.
- Daniel writes the intent. Statement 3: “A walk-in cannot be added to a slot where the clinician already has a confirmed appointment.”
- Lucía writes the scenarios, because scheduling is hers. One is held back: a walk-in on a Saturday into a taken slot. She did not need to read any code. She only needed to know the clinic.
- The builder does exactly what it did in October: it checks the weekday rota, writes twenty-three tests and sees them pass.
- The judge runs every scenario. 11 run, 10 passed, 1 failed. Verdict: return. The builder’s tests: none exercises a Saturday clinic.
- The return says what went wrong and on which kind of day, not the scenario’s wording. The builder finds the separate rota table and fixes the lookup. The second attempt passes. The cost was forty minutes of agent time.
- The change reaches Lucía’s gate with an evidence pack, not a summary written by the builder. She spends twenty minutes on the decision.
pp. 121–122.
Marlow is a fictional organization used in the book to illustrate the method. Its numbers are illustrative.
04 · The verdict
A verdict is bound to the exact result judged and to the intent version.
- A verdict has one of two conclusions, pass or return. For a source change the exact result is one commit: the exact change.
- The holiday block-out feature passed. While it waited at the gate, the builder pushed a fix: four lines. The tool went on showing the green tick, which belonged to the earlier commit.
- The gatekeeper approved, and the new commit was released. Nobody had judged the four lines, and nobody knew that nobody had.
- The team made two changes. The release step refuses any exact change that has no passing verdict of its own.
- And a builder’s ability to alter a change ends when it submits it. To change anything afterwards it opens a new attempt, which is judged afresh.
p. 123.
Marlow is a fictional organization used in the book to illustrate the method. Its numbers are illustrative.
05 · Judging the judge
A judge errs in each direction, so the judge is tested in both.
- An independent judge can still be wrong. A judge that passes everything looks, on a chart, exactly like a team doing excellent work.
- Planted faults look for false acceptance. Once a month Tom plants one fault in copies of ten changes that passed, and submits them through the normal path. The judge is told nothing.
- November: 10 planted, 7 caught. December: 9. January: 9. Every miss was traced to its cause.
- Reading returns looks for false rejection. In January Tom read twenty returns. Seventeen were real faults.
- Ten of ten is good evidence about those ten faults and faults like them. It is not a detection rate for defects in general.
Figure 8.2, pp. 125–126.
Marlow is a fictional organization used in the book to illustrate the method. Its numbers are illustrative.
06 · Principle 8
An agent saying that something happened does not establish that it happened.
- At 19:25 on 14 April the record said a resend of 380 reminders had been tried 1,140 times, and had failed 1,140 times.
- The delivery company was slow. The means waited ten seconds for each answer, received none, wrote down a failure, and tried again. The agent in charge read the record, as it should have, and drew the conclusion it appeared to support.
- Reconciliation finished at 21:30: 861 of the 1,140 attempts had been delivered. Patients had received two and three copies of the same reminder. A timeout is an observation. “Failed” is a classification. “Not delivered” is a claim about an effect in the world.
- For any claim there are three findings: established, established otherwise, unknown. A dashboard should show unknown as unknown.
- Nine attempts stayed unknown. Marlow’s record says nine, and it does not say zero.
pp. 181–183.
Marlow is a fictional organization used in the book to illustrate the method. Its numbers are illustrative.