Files
momentry_core/src/worker
Accusys 58d80e34c6 fix: move P5 verify inside TKG spawn — guarantee DB committed before VLM
verify_traces_ready now runs synchronously after build_tkg().await
completes, not inside a separate spawned task. This guarantees the
DB transaction from TKG is fully committed before VLM checks for data.

Before: TKG spawn → P5 spawn (race: P5 may run before TKG DB commit)
After:  TKG spawn → build_tkg() await → verify → spawn VLM (sequential)
2026-08-22 22:36:14 +08:00
..