Crew Cards: Draw the Actor Lines Start from what must be true A sailing school wants an app. Students enroll, instructors score them, and a student who passes gets a crew card that anyone can verify. Before we draw a single box, we write down the facts the app must keep. The pass mark. The courses. Who is a student. Enrollments. Scores. Each school's standing. The cards. Revocations. Beside each fact we write who has the final say. The dean runs the school, so the pass mark, the courses and the student list are the dean's. An instructor decides a score. But a card is not the school's to decide. The federation board stands behind every card, and only the board can suspend a school or revoke a card. Where a line belongs Start with one actor. Every fact becomes a module inside it. This is the design you already know: modules own their memory, and one call can check and change several of them together. For most of this app, that is all we need. An actor line is a decision, and four questions make it. Authority: is the final say a different party? Audience: does a different public read it or call it? Consistency: must it change together with something else, in one call? Deployment: does it live, upgrade or scale on its own? Ask them of the card. Authority: the board, not the dean. Audience: anyone at all must be able to check a card, even if this school closes. Deployment: many schools will use one registry. Three tests say the card belongs elsewhere. So we draw a second actor, the registry. Consistency then tells us what goes with it. A card must never be issued for a suspended school, so standing and cards sit together. Should every module get its own canister? Try it with courses and the roll. Recording a score must check that the caller is that course's instructor. Inside one actor, that is a plain call, answered in the same step. Across a line it becomes a message and a wait. While we wait, the course can change. And the answer may not come back at all. Same authority, same audience, and they must agree in one call. We put them back. The map we keep The line we kept has the same price. Awarding a card now needs both actors. The school can instruct. The registry decides and owns the card. Between them is a wait, and three ways it can end: yes, no, and not known yet. We accept that price here because the authority is truly separate. The rest of this course is about paying it well. This is our map. The school on the left, with its students, its instructor and its dean outside. The registry on the right, with the board above it and the public below. Every drawing from here on is this map, closer or longer.