Skip to main content

Module temporal

Module temporal 

Source
Expand description

Public native temporal payloads and attributed runtime jobs.

Structs§

Capability
Implemented temporal operations and authenticated installation readiness.
ItfTrace
Complete ITF states with explicit native claim metadata, never lossy values.
Job
One attributed temporal invocation through the shared runtime.
Model
Immutable closed model inputs. Paths are portable relative file names.
Request
One worker request. The parent owns deadline and cancellation.
RequestedChecks
Configured checks, retained separately from the actual completion route.
Response
Original native evidence plus a separate admitted ITF rendering.
Result
Attributed worker result; execution and native outcomes remain separate.

Enums§

Completion
Actual typed completion, independent of JSON discriminators.
Operation
Native operation payload, without caller IDs or ledger metadata.
Outcome
Deciding backend result. Execution failures are never logical success.

Constants§

DIVE_REPORT_SCHEMA_VERSION
JSON report schema the linked D.I.V.E. crates emit (dive_api::REPORT_SCHEMA_VERSION). sail-dive fails to compile when the two differ, so moving the pin moves this too.
DIVE_VERSION
Package version of the linked D.I.V.E. crates, reported as backend_revision. Published packages use the registry release. In a development checkout the worker image digest identifies the build and edit evidence names its source revision (ADRs 0172 and 0176). Moving the dependency requires native conformance.
MAX_DOCUMENT_BYTES
Maximum encoded request or response, before JSON decoding.
MODEL_VALUE_TAG
Reserved state-value tag for a lossless TLA+ model atom in a versioned Sail trace.
VERSION
Worker payload protocol version.

Functions§

check_receipt_key
Content address of one exact check in a negotiated replay context.
decode
Strict whole-document JSON decode, including unique nested object fields.
request_sha256
Canonical payload identity. Model maps are ordered and trace values use serde’s sorted object representation; no timestamps enter this identity.
sha256
Exact byte SHA-256, used for worker and payload content identities.
validate_response
Checks a returned worker’s request identity and conclusive evidence shape. This supplements the parent’s pinned worker-byte admission; it does not authenticate an arbitrary caller-supplied verdict as a native result.