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_REVISION
Exact embedded source identity. Moving it requires native conformance.
MAX_DOCUMENT_BYTES
Maximum encoded request or response, before JSON decoding.
VERSION
Worker payload protocol version.

Functions§

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.