Contents
The manifest is what
theformalera spec show, scan and coverage read; the Lean sources are what proofs are checked against. Fetch a manifest from the API:
trust.weight_cross_check is filled in from a theformalera-conformance verify-all report when the publisher passes one with --conformance.
Versions
versionis the full semver (1.0.0). Spec Keys usespec_version(1.0).- Patch releases change docs and metadata only, never definitions. Minor releases add nodes or optional domains. Major releases change semantics.
- Published versions are immutable. A wrong spec is fixed by a new version plus a security advisory for the affected ones;
pullwarns projects that lock an affected version.
Locking
theformalera pull writes, for each model, the exact version, the package digest, the Lean toolchain and the publisher into theformalera.lock. On every later pull:
- the downloaded package’s digest must equal the lock’s, or the command stops (
downloaded package digest … does not match …); - the signature is checked against the Hub’s published keys (
/v1/keys); - the package is installed into
~/.cache/theformalera/specs/<digest>, which is immutable and shared between projects.
