Skip to main content

Module contracts

Module contracts 

Source
Expand description

imp-owned worker and evidence contract types.

These DTOs define the boundary between imp’s mana worker runtime, and future runner surfaces. They used to live in the experimental the earlier experimental contracts crate, but currently only imp consumes them, so they stay local until a real cross-repo/versioned protocol boundary is needed.

Modules§

evidence
Shared evidence and artifact reference vocabulary.
runner
Placeholder runner-facing contract modules.
worker
Shared worker-facing contracts.

Structs§

ArtifactRef
Reference to a durable artifact without embedding storage-heavy payloads.
EvidenceBundleRef
Reference-first evidence bundle shape; storage stays owned by mana.
VerifierResult
Minimal verifier result lineage shared across imp and mana.
WorkerAssignment
Everything needed to execute a unit as a worker.
WorkerAttempt
A previous attempt on a worker-assigned unit.
WorkerResult
Structured outcome from a worker run.

Enums§

ArtifactKind
Narrow first-pass artifact kinds that other runtimes can trust cold.
VerifierStatus
Minimal shared verification status for cross-boundary lineage.
WorkerStatus
Worker completion status.