Skip to content

Sail 0.2.0

Choose a tag to compare

@jeffreykentjr jeffreykentjr released this 04 Nov 12:31
3d7782b

Sail 0.2.0 makes it easier to iterate on Verus proofs: verify an individual file, watch edits, check a repair through CLI or MCP, and reuse successful proofs on subsequent calls.

New workflows

  • Standalone Verus files: sail verify proof.rs, JSON output, watch, durable jobs and MCP without creating a Cargo project.
  • Focused repair: check a selected function first, then independently verify the complete file before accepting the repair.
  • Background preparation: the daemon can prepare the next unchanged Cargo call after verification returns. New projects can begin verification after sail new returns. Foreground work takes priority; edits invalidate old preparation. Disable with SAIL_BACKGROUND_PREPARE=0.
  • Cache disk budgets: opt-in managed-project byte budgets and oldest-first pruning. Busy and newest workspaces remain protected, so the cap is soft.
  • CI-cache walkthrough and agent skill: tested restored-cache workflows and the installable sail-verification skill for proof iteration, repair and cached Z3 queries.
  • Cargo installation: the package is sail-solve; its executable remains sail. It installs the companion solver shim, and sail engine install downloads and validates the pinned runtime. Future published release tags publish their matching verified crates automatically.

Measured performance

The qualified core composition was measured against plain Verus in six paired rounds on native Linux and Apple-silicon Mac, using complete seeded edit catalogues:

Complete editing loop Edits per round Linux speedup Mac speedup
Vest 52 1.22× 1.44×
IronKV 48 1.51× 1.55×
CapybaraKV 53 2.19× 2.38×

Every individual edit's median was faster in these three catalogues. All 1,944 paired mutation/cold/return steps match under the project's conformance rules. These are comparisons with plain Verus, not measured multipliers over Sail 0.1.0.

In the measured Mac setup, project creation plus first verification took 8.06 s versus 16.72 s with a fresh Cargo home; Rust installation is outside that timing. Cold verification took 28.91 s versus 38.88 s for Vest, and 10.70 s versus 20.48 s for IronKV, with matching shipped vstd proofs.

A separate bounded standalone-file diagnostic measured unchanged HumanEval checks at 46 ms versus 18.861 s on Linux, and 55 ms versus 10.623 s on Mac. Those are three paired warm calls per file, demonstrating unchanged proof reuse rather than cold/edit performance.

See performance and measurement scopes, complete editing-loop evidence, and standalone timing scope. The measured core build identity is recorded there; the final stable archives have separate native qualification.

Install

cargo +1.99.1 install sail-solve --version 0.2.0 --locked
sail engine install

Or use the attached archives and installation guide. Archives support Linux x86-64 with glibc 2.39+ and Apple-silicon macOS. They include the runtime and preverified vstd bundles; Cargo installations establish their own proofs.

sail verify proof.rs
sail watch proof.rs
sail repair-check proof.rs --function proof::lemma --engine interactive --output json

Correctness and remaining limits

The runtime records actual compiler-returned binary include bytes; changed input bytes invalidate reuse even when size and mtime are restored. Service connections and startup/shutdown probes have bounded waits, and service faults retain the pinned-solver fallback. Focused checks remain provisional until complete verification succeeds.

First unchanged calls and full-path replay misses still have overhead. Tiny edits/reverts remain slower by up to 0.19 s in the measured cohort. Mac Anvil cold remains slower: 98.94 s versus 96.87 s (about 2.1%). Background preparation consumes additional CPU and disk and may not finish before an immediate call. Source/per-file digest experiments remain disabled by default. These measurements do not establish universal speedups.

Both native archives pass factory, fresh-install verification, repair and replay checks. Native corpus/refinement/mutation gates and all eighteen clean merged-source package checks pass. The final source is 3d7782bf70bf54efbfe0378eac8fbdf7b2276c20; archive builds use e6adf3c0 with identical release inputs, as recorded in candidate qualification and PR #661.

Archive SHA-256

4fce5acbb6d2a8ed4331add3e49f1af1239d86c573533dc1f0bcb73cd1a8a100  sail-0.2.0-x86_64-unknown-linux-gnu.tar.gz
ace0e6d1bf8addecfa025f59f35966af956de2712b327379549e3ff86126e47e  sail-0.2.0-aarch64-apple-darwin.tar.gz

Both archives are attested and independently verified before this release is published. Full changes and compatibility details: changelog, feature notes, known limits.

Published installation checks

Actual anonymous installations of the exact stable registry version pass on native Linux and Apple-silicon Mac, starting outside the checkout with empty Cargo package caches. Fresh runtime setup, ordinary verification and unchanged reuse, negative/restore controls, CLI/jobs/watch/MCP, focused repair, background preparation and cache budgets pass. Both public archive installers and strict first-use/repair smoke pass. All eighteen docs.rs library targets also build successfully. The release record binds the exact sources and retained captures.