ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Этап 4.2: унифицирован fallback-ответ в 5-блочный контракт и обновлены регрессии

This commit is contained in:
2026-04-12 01:13:39 +03:00
parent 5a8edfb4f3
commit 522575c7cc
4 changed files with 109 additions and 22 deletions
+17 -1
View File
@@ -2651,7 +2651,23 @@ Implemented in current pass (Stage 4.1 answer-layer contract rollout, 2026-04-12
- focused Stage 4 answer pack: `5 files / 30 tests passed`;
- `npm --prefix llm_normalizer/backend run build` passed.
Status: In progress (Stage 4.1 completed; continue with quality loop on real runs/manual comments)
Implemented in current pass (Stage 4.2 boundary fallback contract alignment, 2026-04-12):
1. Reworked boundary fallback replies to the same Stage 4 human-centric contract shape:
- `Коротко`
- `Что именно проверено`
- `Что найдено`
- `Что пока не доказано`
- `Что могу сделать сейчас`
2. Preserved fallback semantics and safety behavior:
- soft refusal and clarification flow remain deterministic;
- no route/runtime contract changes.
3. Updated boundary regression assertions to the unified Stage 4 answer shape:
- `assistantBoundaryFallbackReply`.
4. Validation snapshot:
- focused Stage 4 pack passed: `4 files / 16 tests` (`assistantBoundaryFallbackReply`, `assistantSoftPolicyReply`, `assistantAnswerPolicyV11`, `assistantWave17RunRegression20260411`);
- `npm --prefix llm_normalizer/backend run build` passed.
Status: In progress (Stage 4.1-4.2 completed; continue with quality loop on real runs/manual comments)
## Stage 5 (P3): Quality Loop Driven By GUI Markup