Skip to main content

Crate blut_graph_core

Crate blut_graph_core 

Source
Expand description

Deterministic semantic graph compilation for ABIR-compatible module seams.

This crate deliberately contains no filesystem, network, async-runtime, or biosignal-format dependency. A graph describes semantic nodes; compilation selects compatible kernels, validates all contracts, allocates bounded buffers, and emits one canonical plan for MCU, host, or durable execution.

Structs§

AuthorizedPlan
A compiled plan whose physical steps have been selected from, or checked against, a trusted kernel registry. Structural AOT decoding deliberately returns CompiledPlan; only local compilation or registry-bound decoding can construct this executable wrapper.
BufferId
BufferPlan
Capability
CheckpointContract
CompileLimits
CompiledNode
CompiledPlan
CompiledPortContract
Compiler
ConfigField
ConfigSchema
DelayContract
DomainToken
An opaque, domain-supplied classification token.
DomainType
A port’s domain classification: the artifact, and the projection of it.
Edge
ExecutionAttempt
ExecutionFailure
ExecutionRealm
An opaque execution realm token. See Target for why this is a newtype, why the ordinals are wire, and why Debug is hand-written.
ExecutionReceipt
ExecutionResult
ExtentContract
FailureContract
FailureEvidence
FeedbackEdge
FeedbackId
FeedbackPlan
FidelityContract
GapReceipt
Graph
GraphId
ImplementationId
KernelDescriptor
KernelExecution
KernelGap
KernelId
KernelRegistry
Layout
An opaque buffer-layout token. See Target for why this is a newtype, why the ordinals are wire, and why Debug is hand-written.
LayoutConversion
LeaseContract
MaterializedSubgraph
McuArenaRequirements
NodeDescriptor
NodeId
NodeInstance
NodeTypeRef
PlanAuthorization
PlanExecutor
PlanId
PlanLimits
PluginControlLimits
PluginFailure
PluginManifest
PluginRequest
PluginResponse
PolicyContract
PortDescriptor
PortMap
PortRef
ProcessContract
ProofContract
ResourceEnvelope
SessionContract
StateContract
StaticArenas
Caller-owned execution arenas for StaticExecutor::execute. Firmware provisions each slice once from McuArenaRequirements; the executor grows none of them.
StaticExecutor
The distinct, allocation-free execution engine for authorized firmware plans. It consumes the exact McuArenaRequirements and executes over caller-owned arenas, growing no collection and touching no allocator. This is the firmware counterpart to the host crate::PlanExecutor; both drive the same canonical AuthorizedPlan to an identity-stable receipt.
StaticReceipt
A compact, Copy, allocation-free execution receipt. Firmware records only bounded scalars; the host reconstructs full attempt detail from the plan.
StepId
StructuredFailure
SubgraphConfigMap
SubgraphId
SubgraphInterfacePort
SubgraphLowering
SubgraphNode
SubgraphSchema
Target
An opaque execution target token.

Enums§

CheckpointMode
CompileError
ConfigError
ConfigType
ConfigValue
Exact, architecture-independent values accepted by semantic node instances.
DelayInitial
Determinism
Effect
ExecutableDigestAlgorithm
ExecutionError
InputBinding
LeaseAccess
LeaseLifetime
McuPlanError
OutputBinding
Partiality
PlanDecodeError
PluginControlFrame
PluginError
PluginLifecycle
StateScope
StaticExecutionError
A structured fault raised by the statically linked MCU executor. Every variant is a bounded-arena or contract violation; the executor never allocates and never panics on well-formed firmware plans.
TeardownPolicy

Constants§

MAX_STATIC_STEP_INPUTS
Maximum physical fan-in a statically linked MCU step may declare. The firmware executor gathers input references on the stack, so this bound keeps the gather buffer alloc-free. Compilation already caps fan-in far below this.
PLUGIN_PROTOCOL_VERSION

Traits§

KernelExecutor
PluginHost
StaticKernel
A statically linked firmware kernel. Unlike crate::KernelExecutor, it writes into a caller-owned output slice and never allocates.
TransactionalSink

Functions§

executable_digest
subgraph_identity
Domain-separated semantic identity for a normalized hierarchical schema.