[
{
"stage_index": 1,
"name": "Load Checkpoint & Resume Page",
"action_type": "setup",
"description": "Read local checkpoint file to resume from last successfully extracted page index."
},
{
"stage_index": 2,
"name": "Page Item Batch Extraction",
"action_type": "inspection",
"description": "Extract all product cards on current page according to schema."
},
{
"stage_index": 3,
"name": "Append & Atomic Checkpoint Write",
"action_type": "output_validation",
"description": "Persist extracted items to disk before advancing to prevent data loss on network drops."
},
{
"stage_index": 4,
"name": "Next Page Selector Detection & Click",
"action_type": "dispatch",
"description": "Locate and click 'Next Page' button via Stagehand natural language locator."
},
{
"stage_index": 5,
"name": "Pagination End Condition Check",
"action_type": "stop_evaluation",
"description": "Detect if 'Next Page' is disabled, missing, or page content repeats."
}
]