Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reference: runtime architecture

Sophos's architecture is split into numbered sections. The book includes the seven sections the runtime lessons cite:

SectionCited for
3 · Runtime integration detailsprocesses and boundaries, the streaming protocol, MCP integration
3a · Durable execution and persistenceterminology, storage layout, restart, failure and resume
4 · Deployment topologythe Docker Compose layout and its network paths
5 · Trade-off decisionswhy SQLite, SSE and one process
6 · Core workflowssequence sketches, including failure paths
9 · Security posturethe attack surface of a local-first runtime
11 · Roadmapwhat is planned, including approvals and tracing

The remaining sections, the project's README, the source tree and tech stack pages are on GitHub at the pinned revision: docs/architecture/. The product requirements (docs/prd/) and stories (docs/stories/) are historical planning records. Some of what they describe was later replaced, for example Markdown persistence and a different default model, so they are not part of this book.