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
Requirement-aware evidence views with explicit scope, strength and establishment. Requirement-aware views derived from authenticated neutral source-job evidence.
client
The thin daemon client used by sail-z3 (ADR 0011).
contracts
Neutral source job requests and source-bound contract evidence. Version-one neutral source job inputs and evidence, without backend execution.
evidence
Explanations, immutable baselines and comparisons of completed evidence.
jobs
Versioned, bounded local project-job protocol, independent of the SMT cache.
literal_witness
Opt-in scalar literal-contract counterexample queries, separate from Verus verdicts.
mutation
Bounded neutral-source mutation campaigns; proof outcomes are never upgraded.
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.