Crew Cards: Rehearse the Feature
Design problem and decision
- Design problem The design now has actors, owners, doors, two logs, a workflow and a remote contract. Each was drawn alone. Nobody has yet run the feature through all of them, including the cases that go wrong.
- Architect's decision Which commands prove the design, and for each one: what does the client see, what changes in the school, and what changes in the registry?
- Outcome The viewer can rehearse a feature on the lanes with five commands, tell a refusal from a known failure from an unknown, keep an unknown open until the owner's record settles it, and hand over a brief with acceptance checks.
- Starting point Lesson 6 left the design complete. The day is at 09:01: school tip
119, registry tip041, open awards 0, ticket 7Carded{41}. - Handoff The course ends here. The brief is ready for a developer team or an AI.
- Pacing Six minutes.
Worked design
Crew Cards is illustrative. Every trace is a design sketch and every check is expected and not run.
The rehearsal
| # | Time | Caller and command | Client sees | School changed | Registry changed |
|---|---|---|---|---|---|
| 1 | 09:00 | mira · request_card(12) |
Ticket 7, then Carded{41} |
118 OpenAward(7, 340, 12), 119 CloseAward(7, 41) |
041 Issue(harbour, 7, 340, 12) |
| 2 | 09:20 | ode · request_card(12) |
Refused(NotPassed) |
nothing | nothing |
| 3 | 09:40 | pau · request_card(15) |
Ticket 8, then Completed |
120 OpenAward(8, 342, 15), 121 CloseAward(8) |
nothing |
| — | 10:00 | board · suspend(harbour) |
Ok |
nothing | 042 Suspend(harbour) |
| 4 | 10:05 | kit · request_card(12) |
Ticket 9, then Refused(SchoolSuspended) |
122 OpenAward(9, 343, 12), 123 RefuseAward(9, SchoolSuspended) |
nothing |
| — | 11:00 | board · reinstate(harbour) |
Ok |
nothing | 043 Reinstate(harbour) |
| 5 | 11:30 | sol · request_card(12) |
Ticket 10, then Pending |
124 OpenAward(10, 344, 12) |
044 Issue(harbour, 10, 344, 12) |
| 5 | 11:30:30 | timeout | Pending |
nothing. open awards stays 1. | nothing |
| 5 | 14:00 | dean · reconcile_award(10) |
Sol reads Carded{44} |
125 CloseAward(10, 44) |
nothing |
Values that move
| After | open awards | 12 · roll status | Registry issued, valid |
|---|---|---|---|
| row 1 | 0 | 340 Carded{41} |
6, 32 |
| row 2 | 0 | 341 NotPassed{55} |
6, 32 |
| row 3 | 0 | 342·15 Completed |
6, 32 |
| row 4 | 0 | 343 Passed{74} |
6, 32. harbour Suspended until 11:00. |
| row 5 at 11:30 | 1 | 344 Awarding{10} |
7, 33 |
| row 5 at 14:00 | 0 | 344 Carded{44} |
7, 33 |
End of day: school tip 125, registry tip 044, cards 41 and 44 valid.
Invariants, checked after every row
| Light | Invariant |
|---|---|
card has a block |
Every Carded{card} on the roll names a registry block that issued that card to that student and course, for this school. |
open = pending |
open awards equals the number of tickets whose status is Pending. |
one card per award |
The registry holds at most one Issue block for each school award. |
no guess |
No award is refused, and no second request is sent, while its remote outcome is unknown. |
The story in one pass
Put a sheet beside the lanes. Run five commands down them and write three things for each: what the client saw, what the school changed, what the registry changed. A refusal that changes nothing. A success that leaves three blocks. A route that never leaves the school. A known no that the school records and recovers from. And an unknown that stays amber for two and a half hours until the registry's own record turns it green. End on the brief.
Views and visual objects
Use the shared visual language. This film reuses ScenarioSheet and BriefCard from the architecture films and introduces nothing new.
| View | Framing and anchor |
|---|---|
lanes |
As in lesson 5, shifted right to make room. The ScenarioSheet takes the left quarter with columns command, client sees, school, registry. Four invariant lights sit under the sheet. The caller lane shows the current caller's badge. A small time tag sits above the lanes. A design sketch tab sits on the lanes. |
leg |
As in lesson 6. Used once, for the unknown. |
brief |
The BriefCard centered, with the map small behind it. |
Scene known — Four cases with known endings
Already on screen The lanes view with the success run from lesson 5. Time tag 09:01.
Beat sheet_and_success — Three columns for every command
View and focus lanes. Focus on the ScenarioSheet.
Narration
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.
Cue and animation On “rehearsed”, the lanes shift right and the ScenarioSheet slides in with its headers. On “three things”, the three right-hand column headers pulse. On “We already ran one”, row 1 fills from the lanes: Ticket 7 → Carded{41}, 118, 119, 041. On “The registry wrote one”, the four invariant lights draw and turn green.
Leaves with Sheet row 1 filled. Four green lights. School tip 119, registry tip 041.
Beat refusal — A refusal changes nothing
View and focus lanes. Time tag 09:20.
Narration
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.
Cue and animation On “Ode asks”, the caller badge changes to ode and the pill request_card(12) enters the door lane. On “the door opens”, a solid arrow crosses to the roll lane carrying OpenAward. On “will not open an award”, the roll reducer shows a cross beside 341·12 NotPassed{55} and the chain stays still. On “sees the reason”, a neutral OutcomeCard Refused(NotPassed) returns. On “Nothing reaches”, the workflow, channel and registry lanes stay dark. Row 2 fills: Refused(NotPassed), nothing, nothing.
Leaves with Row 2 filled. Tips unchanged. Lights green.
Beat local_route — The route that stays home
View and focus lanes. Time tag 09:40.
Narration
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.
Cue and animation On “Pau finished”, the caller badge changes to pau and request_card(15) enters. On “Ticket eight”, block 120 OpenAward(8, 342, 15) forges, open awards shows +1, and Ticket 8 returns. On “uncarded”, Route lights and hands down to CloseLocal, while IssueCard stays dim. On “block one-twenty-one”, block 121 CloseAward(8) forges and open awards shows −1. On “The channel never lit”, the channel and registry lanes pulse once, dark. Row 3 fills: Ticket 8 → Completed, 120, 121, nothing.
Leaves with Row 3 filled. School tip 121, registry tip 041.
Beat known_no — A no with a reason
View and focus lanes. Time tag 10:00, then 10:05.
Narration
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.
Cue and animation On “the board suspends”, board sends suspend(harbour) through its locked door and block 042 Suspend(harbour) forges in the registry lane. The time tag changes to 10:05. On “Kit asks”, the caller badge changes to kit, block 122 OpenAward(9, 343, 12) forges, open awards shows +1, and Ticket 9 returns. On “The request crosses”, the dashed arrow crosses the channel lane. On “refuses”, the standing reducer shows a cross beside harbour Suspended and the registry chain stays at 042. On “rejected, school suspended”, a neutral result Rejected(SchoolSuspended) returns. On “the refuse route”, the catch edge lights and Refuse runs. On “block one-twenty-three”, block 123 RefuseAward(9, SchoolSuspended) forges, open awards shows −1, and the row reads 343·12 Passed{74}. Row 4 fills: Ticket 9 → Refused(SchoolSuspended), 122, 123, nothing.
Hold PauseAndExplain pointing at rows 2 and 4 on the sheet. The balloon reads:
Two different noes
row 2 refused at home no ticket, no blocks
row 4 refused far away a ticket, two blocks, back to Passed
Both are known. Both name a reason.
Leaves with Row 4 filled. School tip 123, registry tip 042. Lights green.
Scene unknown — The case with no ending yet
Already on screen The lanes view. The time tag moves to 11:00: board sends reinstate(harbour) and registry block 043 forges without narration.
Beat no_answer — Stored, then silence
View and focus lanes, then leg. Time tag 11:30.
Narration
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.
Cue and animation On “Sol asks”, the caller badge changes to sol, block 124 OpenAward(10, 344, 12) forges, open awards shows +1, and Ticket 10 returns. On “the registry stores it”, the camera moves to leg, the request settles in the registry inbox, the ACK returns and the CertaintyStrip lights stored. On “issues card forty-four”, block 044 Issue(harbour, 10, 344, 12) forges at the registry end, issued goes 6 to 7 and valid 32 to 33, each with a green +1. On “does not arrive”, the result card enters the registry's outbox and stops there, dimmed. On “The timeout fires”, the clock on IssueCard runs out and the strip lights unknown in amber.
Leaves with Registry tip 044. School tip 124. Strip at unknown.
Beat hold_open — What everyone can see
View and focus leg to lanes. Time tag 11:30:30.
Narration
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.
Cue and animation On “The registry knows”, block 044 pulses. On “The school knows only”, the stop marker under IssueCard lights amber: blocked · unresolved. On “Sol reads pending”, the camera returns to lanes, award_status(10) goes in through the hollow door and Pending returns. On “open awards is one”, the open awards 1 leaf pulses. On “does not refuse Sol”, the Refuse node shows a faint outline and stays dark. On “does not ask again”, the school's outbox pulses once, empty. Row 5 fills in part: Ticket 10 → Pending, 124, 044, with an amber marker at the row's edge.
Hold PauseAndExplain pointing at the amber marker on row 5. The balloon reads:
The registry is ahead of the school.
That is allowed.
The school is never ahead of the registry.
Leaves with Row 5 half filled and amber. All four lights green. The time tag advances slowly to 14:00 with the amber marker unchanged.
Beat settle — The owner's record settles it
View and focus lanes. Time tag 14:00.
Narration
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.
Cue and animation On “The dean comes through”, the caller badge changes to dean and reconcile_award(10) enters the locked door. On “its one question”, a thin dashed read arrow crosses the channel lane to the card.for_award door. On “from its own record”, a thin read line touches selector card and block 044, and Issued{card 44, block 44} returns. On “settled as issued”, the stop marker turns green and clears, and Close lights. On “Block one-twenty-five”, block 125 CloseAward(10, 44) forges, open awards goes 1 to 0 with a red −1, and the row reads 344·12 Carded{44}. On “Sol reads carded”, row 5 completes: Ticket 10 → Pending → Carded{44}, 124, 125, 044, and its amber marker turns green. On “it is ignored”, the dimmed result card from the registry's outbox arrives at IssueCard and fades at the rim of the node.
Leaves with Sheet complete, five rows. School tip 125, registry tip 044, open awards 0. Four green lights.
Scene handover — The brief
Already on screen The complete sheet and lanes.
Beat compare — Three kinds of ending
View and focus lanes. Focus on the sheet.
Narration
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.
Cue and animation On “down the client column”, that column highlights top to bottom. On “A refusal”, rows 2 and 4 pulse. On “A success”, rows 1 and 3 pulse. On “An unknown”, row 5 pulses. On “read it across”, the school and registry columns highlight. On “points at a block”, dotted references draw from 41 in block 119 to registry block 041, and from 44 in block 125 to registry block 044.
Leaves with The sheet with two dotted references across the lanes.
Beat brief — What you hand over
View and focus brief.
Narration
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.
Cue and animation On “what you hand over”, the lanes shrink back into the map, and the BriefCard draws at center. On each named item, one line writes on the card: actors, owners, doors, history, workflow, remote contract, rehearsal. On “Facts, actors, owners”, the seven method steps light one by one down the card's margin. On “before anyone builds”, the card settles and the map behind it shows both canisters at their end-of-day tips, 125 and 044.
Leaves with The BriefCard over the map.
Brief to hand over
Illustrative. This is the complete brief for the award feature. Earlier lessons hold the briefs for actors, modules, doors, logs, the graph and the remote contract.
Feature. A student who passed a course requests a card. They receive a ticket at once. The ticket's status becomes
Carded{card},CompletedorRefused(reason), and isPendinguntil one of those is known.Ownership. The school's roll owns the award's status. The registry owns the card. The school instructs. The registry decides.
Known endings. A refusal at the school changes nothing. A rejection by the registry is recorded on the roll with its reason and returns the student to
Passed.Unknown. With no terminal result, the award stays open and
Pending. Use the original result or an authenticated issuance receipt for that award fromcard.for_award. Only the dean may start a reconcile.Tests. Implement the rehearsal sheet as a simulation over both actors. Also run it once on a real two-canister deployment, because the unknown case depends on awaits and delivery that a single-process test does not reproduce.
Acceptance checks, expected and not run
| # | Given | Command or event | Client sees | Then |
|---|---|---|---|---|
| 1 | 09:00 state | mira · request_card(12) |
Ticket 7, later Carded{41} |
school 118, 119. registry 041. open awards 0. |
| 2 | after 1 | ode · request_card(12) |
Refused(NotPassed) |
no blocks, no execution |
| 3 | after 2 | pau · request_card(15) |
Ticket 8, later Completed |
school 120, 121. No message to the registry. |
| 4 | harbour suspended at registry 042 |
kit · request_card(12) |
Ticket 9, later Refused(SchoolSuspended) |
school 122, 123. registry stays 042. 343·12 Passed{74}. |
| 4b | separate run from the snapshot after 4, harbour reinstated | kit · request_card(12) |
a new ticket | allowed, as a new award with a new memo |
| 5 | harbour reinstated at 043 |
sol · request_card(12), result withheld |
Ticket 10, then Pending after 30 seconds |
school 124 only. registry 044. No second request. No RefuseAward. |
| 5b | award 10 blocked | sol · request_card(12) |
Refused(AwardOpen) |
nothing changed |
| 5c | award 10 blocked | tov · reconcile_award(10) |
rejected: not the controller | nothing changed |
| 5d | award 10 blocked | dean · reconcile_award(10) |
Sol reads Carded{44} |
school 125 CloseAward(10, 44). open awards 0. |
| 5e | after 5d | the withheld result is delivered | no change | school stays 125 |
| end | after all | read both chains | — | school tip 125, registry tip 044, valid 33, harbour issued 7 |
After every row all four invariants hold. Run 4b from its snapshot and restore the worked day before row 5.
Production and source notes
- Crew Cards, the rehearsal sheet, the invariants and the brief are illustrative. No Crew Cards code exists and nothing here ran. The lanes carry a
design sketchtab. Nothing in this film is a native inspection capture. - All reducers prepare before any commits, and a rejection consumes no block: Rechain README, lines 3 to 8 · Basic Rechain fixture, lines 20 to 21. This is row 4 at the registry and row 2 at the school.
- A
Choicetakes the first matching route and does not fork: Chat send graph · Chat send rules,localandremote. This is row 3. - A
Catchhandles a known application failure and maps it into the next node's input: Heavy16 Sequence graph, theReservenode. This is row 4. - A logical timeout with an unresolved Reactor address blocks the node and prevents replacement sends. A timeout cancels nothing: Takt engine,
retry_candidate· Orchestration guide, lines 88 to 90. Block reasons includeTimeoutandUnknown: Takt memory V1, lines 187 to 195. - Uncertain effects need explicit reconciliation: Takt README, lines 28 to 30. Never compensate on uncertainty: Takt guide, lines 647 to 649.
- Settling a blocked node needs the node to be blocked and a known result, and a settled Reactor address is fenced so a later reply is ignored: Takt engine,
resolution_taskandresolve· Takt adapters,resolve_reactor. This is rows 5d and 5e. - A status query answers only an allowed caller: Chat endpoints,
workflow_status. Workflow status values areRunning,SucceededandFailed, and the app maps them to its own public type: Chat send rules,status. Crew Cards maps a running or blocked execution toPending. - Native tests do not establish actual IC behavior. Build and recovery tests remain necessary for workflows: SDK tests, lines 22 to 25 · Takt authoring, lines 137 to 141.
- The storyboard does not say why the result for award 10 is late. Any cause gives the same design. Draw the result card dimmed in the registry's outbox and do not add a cause.
- The time tag's slow advance from
11:30:30to14:00is editorial. Hold the amber marker unchanged for its whole length. - The
reinstateat 11:00 plays without narration between the scenes. Keep it visible long enough to read block043. - In the
lanesview the reducers appear at lane scale as the same canonical drawing. Derive every delta from the values table above. - The
BriefCardlists headings only. The full text of the brief stays in this document.