[
{
"stage_index": 1,
"name": "Repo Worktree Setup",
"action_type": "setup",
"description": "Create isolated git branch from issue base commit in sandbox."
},
{
"stage_index": 2,
"name": "Environment Discovery",
"action_type": "inspection",
"description": "Locate test command specification from repo manifest (tox, pytest, setup.py)."
},
{
"stage_index": 3,
"name": "Iterative Patch Application",
"action_type": "code_modification",
"description": "Apply edits to source files."
},
{
"stage_index": 4,
"name": "Fail-to-Pass Verification",
"action_type": "output_validation",
"description": "Verify previously failing tests now pass (F2P) while all passing tests remain green (P2P)."
},
{
"stage_index": 5,
"name": "Patch Generation & Submission",
"action_type": "stop_evaluation",
"description": "Run `git diff` and write submission patch artifact."
}
]