pub struct BootstrapRequest<'a> {
pub target: &'a str,
pub inputs: &'a [(&'a str, &'a [u8])],
}Expand description
Host-supplied bootstrap input staging request — borrowed shape per
the F5 host-driven bootstrap spec
(docs/internal/superpowers/specs/2026-06-25-host-driven-bootstrap.md
§3.1). The host hands the engine a target name plus an ordered
(input_name, value_bytes) slice; the engine validates against the
target’s declared formal input ports and runs the Principle 1a copy
(cap-check → try_reserve_exact → extend_from_slice) so the
caller’s borrowed buffers can drop the moment
crate::engine::core::Engine::enqueue_bootstrap_request returns.
Owned-form storage on the engine’s internal conflict queue lives in
OwnedBootstrapRequest; the borrowed form here is the host-facing
request shape only.
Fields§
§target: &'a strTarget function name. Must match an entry in the engine’s
install_order queue (i.e. a Module whose bootstrap
FunctionProto landed via install_function_library).
inputs: &'a [(&'a str, &'a [u8])]Ordered (input_name, value_bytes) pairs. Validated against
the target’s declared input formals; missing required inputs
surface as BootstrapError::MissingInput and unknown ones as
BootstrapError::UnknownInput before any staging happens.