On this page
Compilation and snapshots
Compilation is an ontology-and-corpus release operation. The runtime never turns mutable source into artifacts while serving a query or action.
Pipeline
- Resolve the exact Model Package and compute its semantic digest.
- Parse source syntax and normalize it into domain-neutral Unit IR.
- Validate fields and relations against the loaded model.
- Render the projections declared by that model.
- Check cross-Unit relation and corpus invariants.
- Emit Unit artifacts, the global index, manifest, lock, and optional signature through an atomic staging transaction.
- Load the finished snapshot in strict mode before activation.
The same sources, model, corpus identity, and release input must produce the same bytes. Output location is not part of identity.
Snapshot identity
model.lock binds the exact model files and semantic digest.
corpus.manifest.json binds the global index and canonical corpus content
digest. Strict runtime loading recomputes those values and rejects tampering,
missing projections, unsafe links, and non-regular files.
The release date is a declared build input. Passing --release or
SOURCE_DATE_EPOCH prevents wall-clock time from making artifacts
irreproducible.
Generated files
Do not edit a compiled Unit, projection, _index.xml, manifest, signature, or
lock. Change the owning Model or Corpus source and build a new release. Runtime
activation should point to the new immutable directory only after verification.
This page is rendered at build time from versioned Markdown in its owning repository.