Skip to main content

Module action

Module action 

Source
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§

ActionError
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.
ActionErrorKind
Classifies executor errors for policy (retry vs fail, backoff, rate-limit).
ActionResult
Result of executing an action (must be turned into events by the driver).

Traits§

ActionExecutor
Executes an action. The driver records ActionRequested, then calls this, then records ActionSucceeded/ActionFailed. Return Err(KernelError::Executor(ActionError)) for structured retry decisions; other KernelError are treated as permanent.