Category 11 of 12
Architecture
Under the hood: the Durable Entity, the ledger and event bus, crash recovery, the six primitives as a framework, and how the codebase is bounded.
Pages in this category
A restart-durable, single-writer record with a typed inbox and a wake clock — the atom behind agents, subjects, workflows, and apps.
An append-only, monotonic-per-run event history that makes replay and crash recovery possible.
The realtime publish bridge for workspace, run, and workflow rooms, and why subscribe-before-read is the rule.
How recoverInterruptedRuns rehydrates mid-flight work at boot, and why snapshots are content-hashed for safe, cheap resume.
Agent, Subject, Connection, Orchestration, Experiment, Interface — the backing systems behind each, and why there's no seventh.
The monorepo layout across apps and packages, and the dependency-free boundary checker that fails CI on illegal cross-layer imports.
Why an unchanged workflow graph resumes without re-validation, and how assets get deduplicated by SHA-256.
The background job-processing layer behind long-running, non-request-scoped work.