Skip to main content
--store takes a directory (self-hosted, mirrors, development) or s3://bucket/prefix (AWS). It defaults to hub-data.

keygen

Generate an Ed25519 publisher key pair: publisher.pem (mode 0600) and publisher.pub. Prints the key id.

publish

Build, audit, sign and store the spec package of every model in the Lean workspace:
  1. lake build compiles the library and checks every proof (skipped with --skip-build);
  2. the axiom audit confirms no theorem uses sorry;
  3. each model’s graph, domain, configuration and architecture are exported;
  4. the conformance status from a verify-all report is attached, if given;
  5. each package is signed and written with its version index.
Published versions are immutable: publishing the same version with a different digest is refused. A rerun with identical content prints unchanged.

site

Render the static Spec Hub website: model pages with Lean definitions, rendered formulas, compute graphs and trust status, and lemma pages.

serve

Run the Hub API with uvicorn, for development or a self-hosted Hub.

worker

The cloud solve worker: it takes verification jobs from the queue and runs the engine on them. --specs is the spec workspace used to check proofs. --once processes the queue once and exits.

token

Issue an API token (tfe_…) for a tenant of a self-hosted Hub. Only the token’s SHA-256 is stored. The AWS deployment keeps tokens in DynamoDB instead.

advisory

Publish a spec security advisory. Projects that lock an affected version are warned on their next pull.

lemmas

See Lemma administration.