fix(FN-4092): satisfy lint for unavailable advisory switch

Fusion-Task-Id: FN-4092
Fusion-Task-Lineage: fcee3a44-5c36-4899-bf9d-835d36abdf2e
This commit is contained in:
Fusion
2026-05-13 03:09:11 -07:00
committed by gsxdsm
parent f481a14ae8
commit e8930c8da7

View File

@@ -4638,7 +4638,7 @@ export class TaskExecutor {
}
break;
}
default:
default: {
const isAdvisoryReview = reviewType === "plan" || reviewType === ("spec" as typeof reviewType);
if (isAdvisoryReview) {
const key = `${reviewType}:${step}`;
@@ -4662,6 +4662,7 @@ export class TaskExecutor {
text = "UNAVAILABLE — reviewer did not produce a usable verdict. Code review remains blocking; retry once or escalate via dashboard.";
}
break;
}
}
return { content: [{ type: "text" as const, text }], details: {} };