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
@@ -355,6 +355,7 @@ export function interviewCollectWaiting(input: Readonly<{
}>): boolean {
if (!input.questionMissing || input.offeringCards) return false;
if (input.sessionOutcome && input.sessionOutcome !== "collect_evidence") return false;
if (input.sessionOutcome === "collect_evidence" && !input.stopReason) return true;
return input.stopReason === "insufficient_dated_events"
|| input.stopReason === "insufficient_domains"
|| input.stopReason === "insufficient_events";