fix(rectification): persist refresh attempts and map collect focus kinds (BUG-656/657/658)
Independent Staging Quality Gate / validate (push) Failing after 13m28s
Independent Staging Quality Gate / publish (push) Skipped

Empty engine refresh now records an already_answered attempt so GET can leave wait-to-narrow; collect kinds map onto the table CHECK; remaining candidates drive probe refresh.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-12 06:09:20 +08:00
co-authored by Cursor
parent 2b6d28e7a7
commit eae049d0ea
17 changed files with 747 additions and 62 deletions
+16 -1
View File
@@ -705,11 +705,21 @@ def build_refinement_packet(
prospective_event_windows,
)
grid_times = list(built.get("candidate_times") or candidate_times)
refresh_columns = [
str(item).strip()[:5]
for item in (column_times or request.get("column_times") or [])
if str(item).strip()
]
probe_times = (
refresh_columns
if request.get("refresh_probes") is True and refresh_columns
else grid_times
)
bundle = discriminating_event_probe_set(
request,
built,
scan=scan,
candidate_times=grid_times,
candidate_times=probe_times,
representative_time=representative_time,
precision_current=str(stage.get("current") or "") or None,
)
@@ -772,4 +782,9 @@ def build_refinement_packet(
"prospective_probes": prospective,
"unique_minute_claim": False,
"confirmation_allowed": False,
**(
{"refresh_result": "new_probes" if probes else "no_new_probes"}
if request.get("refresh_probes") is True
else {}
),
}