ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Этап 4.3: унификация контракта ответов и добавление теста формы Stage 4
This commit is contained in:
@@ -2667,7 +2667,19 @@ Implemented in current pass (Stage 4.2 boundary fallback contract alignment, 202
|
||||
- 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)
|
||||
Implemented in current pass (Stage 4.3 contract consistency hardening, 2026-04-12):
|
||||
1. Added unified Stage 4 reply renderer in answer policy layer to avoid section-shape drift across:
|
||||
- focused grounded replies;
|
||||
- weak/soft policy replies;
|
||||
- boundary fallback replies.
|
||||
2. Added explicit contract regression pack:
|
||||
- `assistantStage4AnswerContractShape.test.ts`
|
||||
- validates required Stage 4 blocks and guards against legacy section rollback (`Что сломано`, `Почему это похоже на проблему`, `На чем это основано`, `Ограничения`).
|
||||
3. Validation snapshot:
|
||||
- focused Stage 4 contract pack passed: `4 files / 14 tests` (`assistantStage4AnswerContractShape`, `assistantBoundaryFallbackReply`, `assistantSoftPolicyReply`, `assistantAnswerPolicyV11`);
|
||||
- `npm --prefix llm_normalizer/backend run build` passed.
|
||||
|
||||
Status: In progress (Stage 4.1-4.3 completed; continue with quality loop on real runs/manual comments)
|
||||
|
||||
## Stage 5 (P3): Quality Loop Driven By GUI Markup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user