Stage 2: Extract + YAML + Human Review
Rule
- •Use plugin tools only. Do not call scripts directly.
- •Keep execution in the main agent turn. Do not use subagents.
- •This stage must save program info to YAML after extraction.
- •This stage ends with human review. Do not continue to move/apply automatically.
Tool sequence
- •Call
video_pipeline_validatewith{"checkWindowsInterop": true}. - •Call
video_pipeline_reextractwith:- •
queuePathfrom Stage 1 summary (queue) - •optional
batchSize/maxBatches - •keep default
preserveHumanReviewed=true(reviewed rows are protected from overwrite)
- •
- •Call
video_pipeline_export_program_yamlwith:- •
sourceJsonlPathomitted (latest extraction output auto-detected), or explicit path - •optional
outputPathif user wants a fixed location - •default is
${windowsOpsRoot}/llm/program_aliases_review_YYYYMMDD_HHMMSS.yaml
- •
- •If user manually edits extracted JSONL, call
video_pipeline_apply_reviewed_metadata:- •
sourceJsonlPath: edited extraction JSONL path - •default
markHumanReviewed=true - •this step writes reviewed metadata into DB (
path_metadata)
- •
Human review checklist
- •YAML file was generated successfully.
- •Program titles/aliases in YAML are acceptable.
- •Rows with
needs_revieware either fixed or intentionally kept for later. - •Manual fixes are applied to DB via
video_pipeline_apply_reviewed_metadata. - •User confirms YAML should be used as the next review baseline.
Handoff
- •Return:
- •extraction result summary
- •YAML output path
- •count of programs exported
- •Ask user whether to proceed to Stage 3 (Move + Human review).