[
{
"stage_index": 1,
"name": "State Validation & Pre-step Hooks",
"action_type": "setup",
"description": "Check controller state (RUNNING, PAUSED, FINISHED, ERROR) and execute pre-turn hooks."
},
{
"stage_index": 2,
"name": "Agent Step Dispatch",
"action_type": "dispatch",
"description": "Call agent `step()` method to generate next Action from current State."
},
{
"stage_index": 3,
"name": "Action Execution via Runtime",
"action_type": "code_modification",
"description": "Pass Action to runtime environment (bash, browser, file edit) to produce Observation."
},
{
"stage_index": 4,
"name": "Event Stream Emission",
"action_type": "output_validation",
"description": "Emit Action and Observation events to event log; update state iteration counter."
},
{
"stage_index": 5,
"name": "Stuck Detection & Termination Gate",
"action_type": "stop_evaluation",
"description": "Check if agent is repeating commands or if finish conditions are met."
}
]