Skip to the content
Search

Skip the list of pages

How the core is built

How the subsystems are built in Rust. The what and why are in the spec's 20-architecture; this covers implementation detail only — the decisions that are ours because they are about Rust rather than about the product.

PageCovers
module-layout.mdWhere things live, and what the architecture test enforces
dispatch.mdThe one entry point every surface goes through
rehearsal.mdWhat --dry-run means per command, and the three things that stop a handler ignoring it
ports-and-adapters.mdThe seam to the outside world, and how to fake it
engine-api.mdWhat the container engine is asked, and testing it without a daemon
error-model.mdTyped errors, one operator-facing value, and how the coverage gate proves it
embedded-stack.mdHow the stack gets into the binary, and why a bad pairing cannot compile
form-closure.mdForms to profiles to a Compose invocation, and the golden files
surface-parity.mdWhat each surface reaches, the one intrinsic exception, and the guard that reads the table
parental-controls.mdWhich service carries which half of a limit, the regional rating table, the mapping that stands in for it, and what the media server then shows a restricted member

The rule of thumb

If a reader needs it to change this code, and it is not a decision about what the product does, it belongs here. If it is a decision about what the product does, it belongs in the spec and this page links to it.

Code links here. These pages cite the spec. Code never cites the spec directly — an architecture test enforces that.