Expand description
Stable host/kernel ABI types.
This module is the narrow contract SDKs should bind to over time. It wraps the existing loop state machine without changing behavior, giving FFI layers a versioned input/action/observation vocabulary before the larger runner refactor lands.
Structs§
- Kernel
Input - Kernel
Runtime - Pure kernel runtime wrapper. SDKs should migrate toward feeding
KernelInputvalues here instead of directly drivingLoopStateMachine. - Kernel
Step - Policy
Rule - One permission rule for the governance ABI: glob
tool_pattern→ action. - Rate
Limit Spec - Per-tool rate limit for the governance ABI.
Maps to
crate::governance::rate_limit::RateLimit.
Enums§
- Constraint
Spec - Parameter constraint for the governance ABI.
Maps to
crate::governance::constraint::ConstraintRule(structural rules only; pattern/predicate matching stays in the SDK viaVetoCheck). - Kernel
Action - Kernel
Input Event - Kernel
Observation - Kernel
Pressure Action - Policy
Action - Serializable permission action for the governance ABI.
Mirrors
crate::governance::permission::PermissionActionwithout coupling the wire format to the internal type. - Transaction
Observation - Transaction-boundary observations emitted by the kernel.