Skip to main content

Crate amiss_bootstrap

Crate amiss_bootstrap 

Source

Modules§

build
supervise

Structs§

Validated
The validated release: everything the bootstrap proved before it is allowed to exec anything.

Enums§

Refusal
The exact reason a validation refused, in the order the contract checks them. Every one fails before scanning; none of them is recoverable.

Constants§

ACTION_METADATA_PATH
BOOTSTRAP_DOMAIN
ENGINE_DOMAIN
The engine names itself with this domain over its own bytes, and the bootstrap recomputes the same value over the binary it validated. One definition, so the two can never drift apart and silently stop matching.

Functions§

validate
The trusted bootstrap’s validation, in the contract’s order: choose from the closed platform table, resolve the reported commit to its reported tree, resolve the metadata, manifest, artifact, every lockfile, and every runtime path as regular non-symlink blobs in that tree, require the parsed manifest to carry the constrained digest, require every recorded lockfile to recompute from the tree’s bytes, verify every mode and checksum, verify the selected binary’s plain SHA-256 and domain-separated engine digest, and require the executable’s own header to name the same platform. Nothing is downloaded, installed, discovered, or resolved through PATH.