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:
Accusys
2026-08-24 19:13:11 +08:00
parent d29b4804af
commit 9f12e835b8
43 changed files with 3993 additions and 491 deletions
+1 -4
View File
@@ -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,