feat: add TraceArtifacts phase + VLM waits for all key_frame.jpg
- Add TraceArtifacts phase to TkgPhase enum (phase 18) - Report progress as key_frame.jpg/key_face.jpg are created - VLM trigger now polls until ALL key_frame.jpg files exist (was: started after TKG build, before artifacts were ready) - Add iron rule to AGENTS.md: ask before removing data Tested: Gamma 8 (27 traces) → 27/27 VLM summaries completed
This commit is contained in:
@@ -931,10 +931,7 @@ pub async fn exec_analyze_frame(
|
||||
// Use select=eq(n\,frame) for VFR compatibility (decoded index, not time-based)
|
||||
let select = format!("select=eq(n\\,{})", frame_number);
|
||||
let output = tokio::process::Command::new(&ffmpeg_path)
|
||||
.args([
|
||||
"-i",
|
||||
&video_path,
|
||||
])
|
||||
.args(["-i", &video_path])
|
||||
.args([
|
||||
"-vf",
|
||||
&select,
|
||||
|
||||
Reference in New Issue
Block a user