$ ./first-rule --present
[init] loading context...
[init] follow-up: the-new-dimension
[init] audience: engineering
[init] duration: 25 min
[████████████████████████████████████] 100%
THE FIRST RULE
building your compound system
press [SPACE] to begin
last time, we drew the map.
Today: how to build the system.
Five primitives. One running analogy.
We're going to talk about kitchens.
$ play kitchen-brigade.mp4
Watch the head chef at the pass. He's not cooking.
What you just watched is a compound system.
Every station knows its job.
Tickets route work automatically.
The kitchen runs because someone designed the system.
Not because someone does every task.
The Recipe Card → Commands
Kitchen: A recipe card at every station. No improvisation. No "I think it was..." The knowledge is in the system, not in someone's head.
Engineering: Encode a task once. Anyone can invoke it. Consistent every time.
Prep for Service → Skills
Kitchen: Prep isn't a recipe. It's a workflow that makes decisions. 120 covers or 40? What's seasonal? What takes longest? Same job title. Different execution every night.
Engineering: A skill is a command with judgment. It reads context, assesses the situation, and adapts.
The Sous Chef → Agents
Kitchen: "You've got fish tonight." That's the entire handoff. They own the station. They deliver the result.
Engineering: An autonomous session. Give it a goal. Go work on something else.
The Brigade → Agent-Teams
Kitchen: Garde manger, saucier, pâtissier. Each autonomous but coordinated. "86 the salmon." Together, they serve 200 covers.
Engineering: Multiple specialized agents. Same codebase. Running in parallel.
Which of these could you use this week?
What workflow would you encode first?
The Ticket Printer → Hooks
Kitchen: The POS fires tickets to the right stations automatically. No one reads every order. The system routes work. This takes the head chef off the line.
Engineering: A trigger that removes you from the loop. Events fire. The system responds.
five primitives. one rule:
Never correct the same thing twice.
explain it and it works → command
command needs judgment → skill
skill should run alone → agent
one agent isn't enough → team
tired of invoking it → hook
The head chef doesn't cook every dish.
The head chef built the kitchen.
Your move.
this week — pick one thing you corrected the AI on. turn it into a command, a rule, or a hook.
the first rule isn't "automate everything."
Don't correct the same thing twice.
bring it back next week.
$ open discussion
Let's talk.