4.1 Six layers, six verbs
- Approved by
- Panaversity ·
In everyday life. Think of a restaurant. The front door and phone line are its channels, and the cook is its runtime. What the cook remembers about the regulars, and which drawer holds the scales, is its memory. The recipe book is its KSoR, and it wins over what the cook remembers. The order tickets on the rail show what each table ordered and what is done, so they are its SSoR. The cashier who checks every order slip before opening the till, and keeps a copy of each one, is its DSoR. The owner sets the menu and reviews the night's takings, as the human principal does. The till, the pantry book and the supplier list are the restaurant's own systems, and they stay the authority on their numbers.

The six layers, as a restaurant. The cook's memory helps, and the recipe book wins.
Every AI Worker in this book is drawn the same way: six layers, one job each.
| Layer | Its verb | What it holds or does | Brightline example |
|---|---|---|---|
| Channels | connect | Where people and systems reach the worker: a chat app, team messaging, email, a web portal, an API | The AP inbox, the team chat |
| Runtime | executes | The replaceable harness that reasons and acts | A run of the AI vendor's app, started by a trigger |
| Memory | remembers | Continuity: preferences, experience, where to look | "Maria wants the register sorted by due date" |
| KSoR | knows | The governed, authoritative knowledge: policies, procedures, thresholds, definitions | AP policy, approval limits |
| SSoR | tracks | Governed memory of the work: one case file for each matter, with where it stands, what was tried, who approved what, and why | The case file for invoice 5120, step by step |
| DSoR | acts | The governed door to real systems: it checks, acts, and keeps the evidence | Register updates, payment status |
Two things sit outside the six layers. Above them is the human principal, who owns the first 10 and the final 10 percent of every task (Chapter 3). For a worker that runs day and night, the first 10 is written in advance, in the worker's definition and its standing instructions, and the final 10 happens at times the person chooses: the flags, the approval queue and the spot checks. Below DSoR are the company's own systems: the accounting system, the bank and the vendor records. They stay the authority on their data.1 DSoR does not replace them. It governs the worker's access to them.
Where is the worker itself? It is not one box. The worker is the Role Contract from Chapter 2 and the records the contract names, and the contract ties the layers together. It names the knowledge sources, the memory rules, the operations the worker may request, the runtime it needs, the channels it serves, and the evaluations that prove it still does the job, each a case with inputs, an expected answer and what passes. Concept 4.9 says why the records are enough.

Figure 4.1. The canonical (standard) architecture. Channels connect, runtimes execute, memory remembers, KSoR knows, SSoR tracks where the work stands, and DSoR acts. Rented layers sit above the line and owned layers below it.
This is the only architecture diagram in the book. The overview shows it once more with its key ideas, and later chapters zoom into one layer at a time. When a chapter introduces a product or a technique, ask one question first: which layer is this?
One run, start to finish
Tuesday, 11 p.m. A vendor emails the AP inbox to ask when invoice 5102 will be paid. Nobody is awake. Here is the run, with its layer at each step.
- The email arrives in the AP inbox. That is a channel.
- The trigger starts a fresh session, which loads the Role Contract and the standing instructions for vendor emails. That is the runtime.
- The session opens the invoice's case file to see where the work stands. That is the SSoR.
- It reads the vendor's terms from the vendor record, through the governed door. That is DSoR, reading the company's systems.
- It checks what the policy says about payment terms, and notes the version to cite. That is the KSoR.
- A memory note says this vendor's terms changed in August. The session uses the note only to look harder at the record. That is memory, pointing and never deciding.
- It drafts the reply, adds a line to the case file, and puts the draft in the approval queue, because sending is outside its authority. The line is SSoR, and the queue is DSoR.
- The session ends. Nothing of the worker is running until the next trigger. The runtime is gone.
- Wednesday, 9 a.m. Dave reads the flags, opens the queue, checks the citation in ten seconds, and approves the reply from his own login. The evidence is kept. That is the human principal, with DSoR.
Every step read from or wrote to a place the company governs, except the session itself, which is gone. That is the picture in motion. The week of October 12 is what happens when those places are missing.
Follow one run through the six layers
Press Next step and watch which layer each step uses.
- Human principalowns the first and final 10
- ChannelsconnectNow
- Runtimeexecutes
- Memoryremembers
- KSoRknows
- SSoRtracks
- DSoRacts
- Company systemsthe authority on their data
Tuesday, 11 p.m. A vendor emails the AP inbox to ask when invoice 5102 will be paid. Nobody is awake.
Step 1 of 9 · Tuesday, 11 p.m.
The email arrives in the AP inbox.
Check yourself
Question 1 / 9
0 answered
Which layer of the canonical architecture executes the work?
Sources
- Owner
- Panaversity