fix(rectification): persist refresh attempts and map collect focus kinds (BUG-656/657/658)
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:
@@ -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 {}
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user