This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index at /llms.txt, or add .md to any page's URL.
The six checks
Terminal
cargo build --all-targets --keep-going # build
cargo test --tests --no-fail-fast # test
cargo clippy --all-targets --keep-going -- -D warnings # lint, and
cargo fmt --all -- --check # lint (run both)
bun scripts/caps.mjs # caps
bun scripts/boot.mjs # boot graph
cargo check --workspace --all-targets --keep-going # workspace
The first three cover the root default-members: the deterministic, in-process
crates, the web host's and the Apple host's Rust among them (the Apple host's
real-socket, wall-clock and toolchain-launching tests are async lane:; a test
may still re-run its own binary to isolate its environment). The sixth compiles
every crate and target of the workspace and runs none of their tests: without it
a crate outside default-members can stop compiling on main while the other
five pass, as exact-web-js and exact-painted's tests did on 2026-10-11. It
needs the pinned Bun first on PATH (or named by BUN): app crates' build
scripts run Bun, and under an older one each fails with Bun <version> is older than …. The async lane runs the first three with
--workspace (the other hosts, GPU, Hermes, platform shells, stress fixtures),
which covers the sixth, and tests the separate game workspace with
cargo test --manifest-path game/Cargo.toml --workspace --locked --lib --bins --tests.
Changes to Apple host files, its Cargo path dependencies, or apps trigger the
iOS simulator tests, touch smoke and the tvOS compile
(EXACT_JS_ENGINE=stub bun host/apple/build.mjs --tvos --no-install: the Apple TV
bundle built and signed, installed on nothing, so it needs the tvOS SDK and
Rust's aarch64-apple-tvos-sim target and no simulator). Docs-only changes do not. The hourly
--tier 2 lane installs that tvOS build on an Apple TV simulator and runs target-specific cargo check for the Linux
host and every Linux app (-p '*-linux': each apps/<app>/linux crate is a
workspace member named <app>-linux) and for the Windows host and Windows Desk, on x64 and ARM64. Install
x86_64-unknown-linux-gnu, x86_64-pc-windows-gnu and aarch64-pc-windows-gnullvm with rustup target add
and provide zig on the Mac: it compiles C, and C++ for the Linux target
(Hermes's JSI bindings). The check runs offline, so install the pinned Linux
Hermes bundle once per Hermes pin (again whenever the pin changes): cargo run --manifest-path vendor/ibex/crates/hermes-lean-sys-installer/Cargo.toml -- --target x86_64-unknown-linux-gnu. Until then the step fails, and the
hermes-lean-sys build error in its log names that command. These cross checks
cover compilation; native window presentation, KMS, and input devices remain
unqualified until run on their platforms.
Development and test builds optimize the third-party CPU rasterizer tiny-skia.
Debug assertions and overflow checks remain enabled; the normal development
profile still leaves app and engine code unoptimized. Tests keep their full frame
counts. Use release builds when comparing application frame costs.
Production Apple builds are balanced on iOS and tvOS, and optimize for speed on
macOS. Embeds default to size on every Apple platform; a game keeps speed.
host.ios.optimize (also used by tvOS) or host.macos.optimize in app.json
selects "speed", "size" or "balanced"; --optimize speed|size|balanced
overrides it. Size uses Cargo's size profile and Swift -Osize -internalize-at-link; speed uses release and -O; balanced uses the
balanced profile (size, with the engine's hot crates at opt-level 3) and
-O. Games refuse size and balanced because their generated Cargo workspace
has neither profile.
Development builds keep host-dev (LLP 1047.001 D9).
An unset EXACT_UPDATE_TRUST bakes development trust. A development binary
admits unsigned heads, so it checks only an origin named by
EXACT_UPDATE_ORIGIN, never the manifest's. EXACT_UPDATE_TRUST=production
bakes a release: an updating native artifact requires
EXACT_UPDATE_RECEIPT pointing to the authenticated publisher receipt for its
exact plan and complete asset roster. A new production stream instead requires
EXACT_UPDATE_GENESIS=1; it starts at sequence zero. Existing streams retain the
receipt's sequence and verification keys. Updater-free Level 0 artifacts require
neither input.
kernel/tables/schema.json is the one declaration authority for node types, props,
style rows, enums, and opcodes; kernel/build.rs generates the Rust from it at build
time. Edit the table, never the generated code.
Is this helpful
Last updated November 30, 2026