[!WARNING] Alpha software: Anneal is an experimental verifier under active development and has not yet completed an independent TCB audit. Today's default profile checks a pointer-free scalar subset of Rust on x86-64 Linux, and automated complete review-surface reporting is still in progress; see How Anneal Earns Your Trust, alpha usage, and the threat model.
The MIR-based implementation lives at the repository root. See the repository layout for the workspace structure.
On Linux with Cargo and Nix flakes enabled, run these commands from the repository root. The archive bundles the pinned Rust and Lean toolchains, the compiler driver, and Anneal's Lean sources.
mkdir -p target nix build .#omnibus-archive --out-link target/omnibus-link XDG_CACHE_HOME="$(mktemp -d)" \ cargo run --locked -p cargo-anneal -- setup --local-archive target/omnibus-link
The command uses a fresh cache because setup reuses an existing installation for the same version key.
The MIR verifier alpha includes an end-to-end scalar example.
See the scaffold build and testing guide to run workspace tests with the pinned toolchain, execute or filter installed_smoke cases, check cargo-anneal packaging, and reproduce retained failure bundles.
To audit the checkout, use the lean/bin/lean under the installation path printed by setup. The full MIR correspondence audit uses Linux bubblewrap at /usr/bin/bwrap.
cargo run --locked -p anneal-audit -- \ --lean /path/to/installed/lean/bin/lean --require-correspondence
CI (PR) and CI (Trusted) workflows call the current verifier checks. The current checks build and install the archive, audit the trust boundary, test the Rust workspace, verify the zerocopy proof units, and check that the units whose specifications are written inline have fresh generated modules; tools-anneal-spec lints and tests the untrusted anneal-spec tool against those modules.Documents below distinguish between Current behavior (what runs in alpha today) and Target Architecture or Planned Interop designs landing incrementally.
| Document | Status | Scope |
|---|---|---|
| Anneal overview | Current | High-level introduction to Anneal, why safe Rust is not enough for unsafe code, and how Anneal earns trust. |
| How Anneal Earns Your Trust | Current | Plain-English assurance model: the four trusted/ components and external grounding vs. internal checks. |
| MIR verifier alpha | Current | Exact Profile v1 scalar subset, experimental Profile v2 slice/raw-pointer subset, cargo anneal usage, taint flags, and alpha releases. |
| Document | Status | Scope |
|---|---|---|
| Project principles | Current (governing) | Correctness promise and design principles. |
| Threat model | Current (governing) | Adversary assumptions, bounded two-surface human review, and in-scope defenses. |
| Meta-principles | Current (governing) | Invariant goals governing principles and threat model. |
| Agent instructions | Current | Contributor and AI-agent repository obligations. |
| Directory | Audience | Contents |
|---|---|---|
guide/ | Rust engineers adopting Anneal | Alpha usage (alpha.md), trust overview, and CLI skill workflows. |
trust/ | Security architects & TCB auditors | trust-model.md, workspace composition, elaborator containment, MIR correspondence, strategy, lean-miri provenance, and NDJSON comparator (Target Architecture). |
extending/ | Out-of-tree spec & build integrators | extensibility-quickstart.md, build systems & Receipt v3 (Target Architecture), and Anneal–Aeneas bridge (Planned Interop). |
architecture/ | Core verifier & semantics designers | design.md (Target vision), architecture.md (Current + planned), and Specification Core v2 (Current + Target Architecture). |
contributing/ | In-tree contributors & review agents | Scaffolding, automated red-teaming, codex-review.md, review-policy-design.md, rustc-workarounds.md, two-phase bug management, performance tracking, anneal-lsp, farkas-cert-gen, and testing architecture (Target Architecture). |
The earlier V1 verifier and V2 prototype and toolchain are available in the repository history with their original build instructions.