Skip to main content

Module contracts

Module contracts 

Source
Expand description

Neutral source job requests and source-bound contract evidence. Version-one neutral source job inputs and evidence, without backend execution.

Structs§

CheckCounts
Underlying check counts, including advisory obligations and dependency targets.
ContractBinding
A requirement-to-guarantee binding, before actual backend obligation mapping.
ContractProof
Exact-function proof projection; the complete original backend report is retained.
Evidence
Snapshot contract evidence accompanying the original managed project result.
LoweringManifest
Content-bound, deterministic original-to-shadow mapping.
SourceRange
An original source range. Columns are zero-based, lines are one-based.
Submission
Complete caller input; execution controls belong exclusively to Sail.
TranslationTrust
Exact source-policy and resolution evidence for neutral translation.
WorkerResult
Complete output of Sail’s own supervised contract worker.

Enums§

ProofState
Whether the submitted contracts were proved under their stated preconditions. This does not establish requirement entailment, feasibility or a mutation kill.

Constants§

MAX_SOURCE_BYTES
Maximum complete source file size.
MAX_STDERR_BYTES
Maximum retained exact worker stderr.
MAX_STDOUT_BYTES
Maximum retained exact worker stdout.
VERSION
Neutral contract job protocol version.
WALL_TIME_SECS
Fixed whole-process safety deadline for a neutral worker.