Lesson 1 of 6 · 0%Map the Gateway and its operating surfacesNext
Course map

Foundations and Architecture

0 of 6 complete0 of 6

Lesson 1.1 · 35 minutes

Map the Gateway and its operating surfaces

Draw an accurate, reviewable map of the Gateway, clients, nodes, channels, models, and state before changing a deployment.

Skip course map
Current lessonMap the Gateway and its operating surfaces0% complete · 0/6 lessons

Foundations and Architecture

0% complete · Current: Map the Gateway and its operating surfaces

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:

  1. the accountable owner;
  2. the identity used at the boundary (for example a paired device, provider credential, or channel account);
  3. the data that crosses it; and
  4. 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

Knowledge check · architecture

Pass mark 100% · Attempt 1 of 3 · Not passed

Where should an unverified product-specific statement appear in the system-map record?
Why this matters

This question demonstrates provenance boundaries without asserting unreviewed OpenClaw behavior.

Evidence last verified 2026-07-30

Source provenanceVerification and sources

Review receipt rr_foundations_system_map

Outcome
approved
Method
source-review
Reviewer
forge-independent-review
Reviewed

Evidence

Limitations

  • Independent source review approved the bounded mapping exercise; no learner deployment was changed.

Open the public evidence snapshot

Lesson checkpoint

Ready to move on?

Mark this lesson complete when you can apply its outcome without relying on the examples above.