Expand description
Action and ActionExecutor: single channel for tools and external world (governable).
Axiom: tool/LLM calls are system actions; results are recorded only as events (ActionSucceeded/ActionFailed).
Structs§
- Action
Error - Structured error from action execution; used by Policy for retry decisions.
Enums§
- Action
- System action: the only way the kernel interacts with the outside world.
- Action
Error Kind - Classifies executor errors for policy (retry vs fail, backoff, rate-limit).
- Action
Result - Result of executing an action (must be turned into events by the driver).
Traits§
- Action
Executor - Executes an action. The driver records ActionRequested, then calls this, then records ActionSucceeded/ActionFailed.
Return
Err(KernelError::Executor(ActionError))for structured retry decisions; otherKernelErrorare treated as permanent.