progress_score — VLM phase-gate
Overview
After each phase of a skill, snap the scene and ask the VLM:
Phase: grasp-hammer
Expected: The hammer is held by the right gripper, off the table.
Image: <scene.jpg>
Answer in JSON:
{"done": bool, "score": 0-1, "reason": str}.
This skill encapsulates that call. Consumers (planner, skill runtime)
use done to decide continue, score for logging / ranking, reason
for human debugging.
Why as a skill
The same phase-gate logic shows up in (a) VLM-orchestrated execution
(rollout_vlm), (b) long-horizon plan execution (LH triangle), and (c)
post-training evaluation. One implementation, many call sites.
Output
{
"phase": "grasp-hammer",
"done": true,
"score": 0.85,
"reason": "Right gripper holds the hammer handle; no contact with the table."
}
Implementation
Uses the same litellm channel as PerceiveToolGroup. Default model is
anthropic/claude-sonnet-4-6, overridable via ROBORSI_JUDGE_MODEL.
Fast-path: swap in Qwen2.5-VL-7B locally when we want 2 Hz polling à la
Rollout's VLM monitor.