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
-28
View File
@@ -1,28 +0,0 @@
#!/usr/bin/env bash
# Start playground server on port 3003
# Logs to logs/momentry_3003.log
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
# Kill existing server on port 3003
PID=$(lsof -ti :3003 2>/dev/null || true)
if [ -n "$PID" ]; then
echo "Killing existing server on port 3003 (PID: $PID)"
kill "$PID" 2>/dev/null || true
sleep 2
fi
# Build if needed
if [ ! -f target/debug/momentry_playground ]; then
echo "Building playground binary..."
cargo build --bin momentry_playground
fi
# Start server
echo "Starting momentry_playground server on port 3003..."
./target/debug/momentry_playground server --port 3003 > logs/momentry_3003.log 2>&1 &
echo "Server started (PID: $!)"
echo "Logs: logs/momentry_3003.log"