Skip to main content

Guides · 5 of 6

Run the checks

task check is the one gate a change to Loom passes; each of its steps can be run alone while you work.

Taskfile.yml, Taskfile.commission.yml, .github/workflows/pages.yml

Run the checks

You need Rust, the Task runner, the ess command line of ESS (GitHub), and bubblewrap at /usr/bin/bwrap. CI installs bubblewrap before testing delegation refusals. The dedicated confinement qualification additionally needs delegated cgroup v2 controllers; its explicit skip in the ordinary suite establishes no qualification. From the repository root:

cargo fetch --locked
task check

The explicit fetch prepares every locked platform dependency for offline metadata inspection. CI performs the same setup. task check runs, in order:

StepHolds
task spec, task commission:spec, task intake-specThe three ESS systems (ess/, ess/commission/, ess/intake/) validate
task ess-gate, task commission:ess-gateThe hard gate: validate strictly, compile, synthesize with no refusal, no open question
task drift, task commission:drift, task intake-driftEach generated Rust model equals a fresh synthesis of its specification
task no-hand-model, task commission:no-hand-modelNo hand-written type shadows one the specification declares
task conform, task commission:conformThe executor and Commission each pass the ESS conformance suite synthesized from their specification
task commission:deps-guardCommission's contracts depend on no Loom executor, no Canon and no model-provider crate
cargo fmt --all --check, cargo clippy … -D warnings, cargo test --workspace --lockedFormat, lint and every test; no test makes a model or network call
task docs-check, task commission:docs-driftThe generated documentation pages are current

task --list names every task. To run one alone, name it:

task intake-spec
task: [intake-spec] ess specify validate --path ess/intake --strict-requires
intake v1 — 3 file(s), valid

Documentation​

The pages under website/docs/reference/ are generated: the CLI reference, the crate list and the ESS reference by loom-docs, Commission's reference pages by loom-commission-docs. Change the source, then regenerate:

task docs-generate
task commission:docs

task docs-check fails on a page that is missing, stale or edited by hand. To build the site as CI's Documentation validation workflow does:

task website