Skip to main content
This section is for people working on Clawboo, not just with it. Each page is a deep-dive into one part of the machine: the design, the seam or trait it hangs on, the rationale, and the invariants you have to preserve when you change it. They are grounded in the real package and module source, not the README. If you only read one thing first, read CONTRIBUTING.md at the repo root; it covers setup (pnpm install, pnpm dev), branching, the commands CI runs, and the no-feature-flags reality (every subsystem ships on). This index is the conceptual companion: it explains why the code is shaped the way it is.

Architecture at a glance

Clawboo is a TypeScript monorepo managed by pnpm workspaces and TurboRepo. The workspace globs (packages/*, packages/adapters/*, apps/*, docs) split the tree into two layers. Packages (packages/**) hold the pure, reusable substrate: the durable board (@clawboo/db), the RuntimeAdapter trait and normalized event union (@clawboo/executor), the Gateway client and same-origin proxy, the MCP servers, governance and observability primitives, the per-runtime adapters under packages/adapters/*, and the design-token UI kit. Apps (apps/**) compose them: apps/web is the Vite SPA plus the Express API and the server-side orchestration runner (apps/web/server/lib/executorRunner.ts), apps/cli is the npx clawboo installer, and docs/ is the hand-edited Mintlify docs site. Dependencies flow strictly one way, packages never import apps, and every @clawboo/* library is private: true. The only artifact published to npm is the clawboo CLI, which inlines the libraries into its own bundle. The whole system is wired together by a handful of seams: a RuntimeAdapter makes any runtime (OpenClaw, native, Claude Code, Codex, Hermes) a uniform teammate; an AgentSource makes SQLite the registry of record while keeping the Gateway as one source among many; and multiplexer traits (CapabilitySource, ScheduleSource) fan many providers into one stream.

The internals map

The pages below go in rough reading order, from the build and the core traits down to the subsystem internals.
These pages explain the internals. For the factual surface, every package’s public API, every REST route, every database table, see the Reference section. For the conceptual model of a subsystem (what the board is, what verification means), see Core concepts.

Where to start by task

These docs describe Clawboo v0.3.1, the current release.

See also

Last modified on August 7, 2026