Lesson 7 of 7 · 4 min 9 sec

Rehearse the Feature

Chapters

  1. Four cases with known endings
  2. The case with no ending yet
  3. The brief
Transcript
Download transcript

Four cases with known endings

A design is ready when it has been rehearsed. For every command we write three things: what the client sees, what the school changed, what the registry changed. We already ran one. Mira got ticket seven, then carded. The school wrote two blocks. The registry wrote one. Nine-twenty. Ode asks for a card. Ode is a student, so the door opens. But Ode scored fifty-five, and the roll will not open an award for someone who has not passed. Ode sees the reason at once. No ticket. No block. Nothing reaches the workflow or the registry. Nine-forty. Pau finished the evening class, course fifteen. Ticket eight, block one-twenty. The choice reads the course: uncarded. The workflow closes locally, block one-twenty-one, and Pau reads completed. The channel never lit. Same door, same workflow, a different route. At ten the board suspends Harbour School. That is the board's door and the registry's block forty-two. Five minutes later Kit asks for a card. The school does not know about the suspension, and it does not need to. Ticket nine, block one-twenty-two. The request crosses. The registry's standing reducer refuses, so no card and no block. The answer comes back: rejected, school suspended. That is a known no. The workflow takes the refuse route, the roll records block one-twenty-three, and Kit is back to passed. Kit reads the reason, and may ask again.

The case with no ending yet

Eleven-thirty. The board has reinstated the school. Sol asks for a card. Ticket ten, block one-twenty-four. The request crosses and the registry stores it. Then it issues card forty-four, block forty-four. And its answer does not arrive. Thirty seconds. The timeout fires. Look at what each party knows. The registry knows there is a card. The school knows only that it asked. Sol reads pending. The roll still says awarding, and open awards is one. Nothing is written, because nothing is known. The school does not refuse Sol, and it does not ask again. The amber stays. Two o'clock. The dean comes through the reconcile door. The school asks the registry its one question: is there a card for Harbour's award ten? The registry answers from its own record: card forty-four, block forty-four. That is evidence. The blocked step is settled as issued, and Close runs. Block one-twenty-five. Sol reads carded. If the old answer turns up now, it is ignored.

The brief

Read the sheet down the client column. A refusal: a reason, straight away. A success: a ticket, then a card. An unknown: a ticket, then pending, for as long as it takes. The client is never told a guess. Now read it across. Every change sits with its owner, and every card on the roll points at a block in the registry. This is what you hand over. Two actors and why. An owner for every fact. A door table for each actor. The actions each log records. One workflow, drawn, with evidence on every edge. One remote contract. And this sheet, as tests. Facts, actors, owners, doors, history, flow, proof. That is how to think before anyone builds.