ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Рефакторинг этапов 2.2 - Усилена оркестрацию в deep/address гейте и follow-up binding в assistantService.ts. Починен кейс UTF-8 follow-up refinement (теперь followup_state_usage.applied=true в нужном сценарии). Убраны регрессии по assistantLivingRouter и stage3 lifecycle probe. Корректное поведение для llm canonical candidate (чтобы не уезжало в clarification_required там, где должен быть address factual).

This commit is contained in:
2026-04-11 14:56:14 +03:00
parent 19f5f19d8e
commit b5bd4fd737
46 changed files with 2471 additions and 370 deletions
@@ -1,3 +1,4 @@
import type { AssistantDebugRouteRecord } from "../types/assistant";
import type { RouteHintSummary } from "../types/normalizer";
interface FragmentLike {
@@ -106,7 +107,7 @@ export function buildExecutionPlanFromRoute(input: {
export function buildDebugRoutesFromRoute(input: {
routeSummary: RouteHintSummary | null;
resolveLegacyRouteReason: (route: string) => string;
}): Array<Record<string, unknown>> {
}): AssistantDebugRouteRecord[] {
if (!input.routeSummary) {
return [];
}