Verifiedon 2026.7.1-2
Action boundary
Before you act
- Expected result
- A redacted map names each operating surface, its owner, and the trust boundary crossed to reach it.
- Failure mode
- A learner treats a browser client, a node, or a channel as if it independently owns routing or session state.
- Rollback
- Do not change the target. Delete the draft map and rebuild it from an approved inventory and the current architecture receipt.
The useful mental model
OpenClaw is not a chat bot embedded inside each messaging service. Its long-lived Gateway is the control point: it owns channel connections, routing, and session state. Operator clients such as the CLI, Control UI, and macOS app connect to the Gateway; nodes connect to the same WebSocket server but declare a node role and explicit capabilities. The Gateway is therefore the first box to draw, not an invisible wire between a chat app and a model.
operator client ──┐ ┌── model provider
Control UI / CLI ─┼── WebSocket ── Gateway ─┼── agent workspace + state
paired node ──────┤ │ ├── tools / plugins
chat channel ─────┘ └──────────────┴── outbound channel reply
Gateway owns routing and sessions. A session key selects context; it is not authority.
Lab: build an operating map
On paper or in a local diagram, make six labelled boxes: inbound channel, Gateway, agent, model provider, tool or node, and outbound recipient. For every real box, add:
- the accountable owner;
- the identity used at the boundary (for example a paired device, provider credential, or channel account);
- the data that crosses it; and
- the stop rule before an external action.
Keep hostnames, phone numbers, tokens, recipient names, and private paths out of the map. A question mark is better evidence than an invented connection.
Check your map
Answer these without looking at the diagram: Which component is the source of truth for sessions? Which surfaces are merely clients? What capability has a node explicitly declared? If your diagram says that a session ID authenticates an operator, correct it: routing context is not an authorization boundary.
Check your understanding
Source provenanceVerification and sources
Review receipt rr_foundations_system_map
- Outcome
- approved
- Method
- source-review
- Reviewer
- forge-independent-review
- Reviewed
Evidence
- openclaw-architecture — openclaw-main-2e26244-architecture; snapshot
f8054bd87f73…
Limitations
- Independent source review approved the bounded mapping exercise; no learner deployment was changed.
Lesson checkpoint
Ready to move on?
Mark this lesson complete when you can apply its outcome without relying on the examples above.