Skip to main content

Crate sail_api

Crate sail_api 

Source
Expand description

The embeddable API, the daemon wire protocol and the structured output schema.

  • protocol and client: the daemon protocol and the thin client the shim uses (ADR 0011);
  • output: the sail verify --output json document (ADR 0014);
  • schema: a small JSON Schema checker for that document’s schema;
  • policy: the serving policy for cached unknown answers (ADR 0009);
  • stamp: complete stat stamps and the cross-run settle rule (ADR 0082).

Modules§

acceptance
Checked positive Verus report and requested-scope authority. Positive Verus authority checked directly over the public report records.
assurance
Evidence-strength vocabulary and whole-run proof rules shared by requirement attribution. Evidence-strength vocabulary and the conservative whole-run proof rules shared by requirement attribution (crate::attribution, ADR 0104).
attribution
Submitter-supplied requirement attribution for ordinary Verus project jobs.
client
The thin daemon client used by sail-z3 (ADR 0011).
counterexample
Source-named inputs decoded from a failed check’s solver model.
evidence
Explanations, immutable baselines and comparisons of completed evidence.
health
Observed per-check proof effort; this view never changes verification verdicts.
jobs
Versioned, bounded local project-job protocol, independent of the SMT cache.
output
The sail verify --output json document, schema version 2.
policy
Serving policy shared by every place that decides whether a cached answer may be used: the shim when it serves, the daemon when it reads the shared tier, and sail cache publish when it exports entries.
preparation
Optional daemon-owned preparation. These requests never authorize a proof.
project
Managed workspace verification results, independently versioned from reports.
proof
Version-one proof observations, separate from legacy job lifecycle events.
protocol
The daemon wire protocol: length-prefixed binary frames (ADR 0011).
repair
Focused repair checks and complete validation.
runtime
Version-one exact SMT runtime requests and attributed responses.
schema
A small JSON Schema checker for the subset sail’s schemas use.
stamp
Complete stat stamps and the settle rule for cross-run stat trust (ADR 0082).
temporal
Public native temporal payloads and attributed runtime jobs.

Constants§

VERSION
Sail’s version, as sail --version and every report state it: SAIL_VERSION when the build sets it (scripts/release.sh passes the release version, for example 0.1.0-rc.1), else the crate version.