pub type KernelResponse = ToolCallResponse;Expand description
Response produced by KernelService.
Aliased Type§
pub struct KernelResponse {
pub request_id: String,
pub verdict: Verdict,
pub output: Option<ToolCallOutput>,
pub reason: Option<String>,
pub terminal_state: OperationTerminalState,
pub receipt: ChioReceipt,
pub execution_nonce: Option<Box<SignedExecutionNonce>>,
}Fields§
§request_id: StringCorrelation identifier (matches the request).
verdict: VerdictThe kernel’s verdict.
output: Option<ToolCallOutput>The tool’s output payload, which may be a direct value or a stream.
reason: Option<String>Denial reason (populated when verdict is Deny).
terminal_state: OperationTerminalStateExplicit terminal lifecycle state for this request.
receipt: ChioReceiptSigned receipt attesting to this decision.
execution_nonce: Option<Box<SignedExecutionNonce>>Short-lived, single-use execution nonce bound to this allow verdict.
Populated only on Verdict::Allow when an ExecutionNonceConfig is
installed on the kernel. Deployments without a config leave this
None and keep working.
Boxed so the deny/cancel/incomplete hot paths (which all carry
None) don’t widen the SessionOperationResponse::ToolCall
variant and trip clippy’s large_enum_variant.