fix: stabilize vedastro oracle closure boundaries

This commit is contained in:
732642856
2026-07-02 01:22:53 +08:00
parent 82f6ec76c7
commit e054f5b663
20 changed files with 165 additions and 88 deletions
+2 -1
View File
@@ -190,7 +190,8 @@ def build_queue(oracle: dict[str, Any]) -> dict[str, Any]:
"by_status": by_status,
"ready_for_collection": sum(1 for task in tasks if task["ready_for_collection"]),
"ready_for_calibration": ready_for_calibration,
"production_tuning_allowed": ready_for_calibration > 0 and ready_for_calibration == len(tasks),
"current_target_set_closed": bool(tasks) and ready_for_calibration == len(tasks),
"production_tuning_allowed": False,
"next_action": "Collect external Varshaphala target values, then promote rows to external_verified.",
},
"tasks": tasks,