fix(rectification): keep invite collect CHECK-legal after kind mapping (BUG-656)
Independent Staging Quality Gate / validate (push) Successful in 9m14s
Independent Staging Quality Gate / publish (push) Successful in 2m12s

Full TAP failed because invite_more is not a target_kind enum value, and
exhaustion re-decide after skipped targeted persist must reuse decideAfterInferenceChange.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-12 06:34:35 +08:00
co-authored by Cursor
parent eae049d0ea
commit 529fcc097f
6 changed files with 52 additions and 6 deletions
@@ -1625,7 +1625,11 @@ async function persistExhaustionCollect(input: {
followup,
});
dossier = dossierWithSkippedTargetedCollect(dossier, followup);
decision = decideFromDossier(dossier);
decision = decideAfterInferenceChange({
dossier,
state: previousInferenceFromReceipt(receipt),
userStopped: false,
});
catalog = rectificationFollowupCatalog(
dossier.latestResult ?? null,
dossier.evidence,