Expand description
Turn-based state machine for agent control flow.
Replaces flat loop break/continue/return with explicit
TurnState → TurnOutcome → TurnAction transitions
driven by a pure TurnTransition::resolve function.
This makes the agent loop’s control flow auditable, testable, and extensible without touching the core executor.
Structs§
- Turn
Transition - Pure resolver mapping
(TurnState, TurnOutcome)→TurnAction.
Enums§
- Turn
Action - Action the loop executor should take after a transition.
- Turn
Outcome - Outcome of a turn — what the state produced.
- Turn
State - States in the agent turn cycle.