[
{
"stage_index": 1,
"name": "Environment Initialization",
"action_type": "setup",
"description": "Configure conda environment, activate target repository directory, setup bash subshell environment variables."
},
{
"stage_index": 2,
"name": "Issue Parsing & Repo Exploration",
"action_type": "inspection",
"description": "Read issue description, locate relevant files via search/find commands, inspect AST or symbol definitions."
},
{
"stage_index": 3,
"name": "Reproduce & Write Regression Test",
"action_type": "test_generation",
"description": "Write standalone reproducing test script reproducing the reported issue and assert failure."
},
{
"stage_index": 4,
"name": "Iterative File Editing",
"action_type": "code_modification",
"description": "Use dedicated line-oriented or regex editor to patch source files."
},
{
"stage_index": 5,
"name": "Test Execution & Stderr Verification",
"action_type": "output_validation",
"description": "Run pytest/compiler, parse exit code ($?), extract stack trace if non-zero."
},
{
"stage_index": 6,
"name": "Deterministic Termination",
"action_type": "stop_evaluation",
"description": "If tests pass (exit code 0) and regression verified, invoke submit action. If failed, iterate with stderr context."
}
]