ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Этап 4.5: добавлен аудит контракта Stage 4 в debug/log и закрыт расширенный quality-loop
This commit is contained in:
@@ -2679,7 +2679,37 @@ Implemented in current pass (Stage 4.3 contract consistency hardening, 2026-04-1
|
||||
- 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)
|
||||
Implemented in current pass (Stage 4.4 quality-loop verification on real/manual scenarios, 2026-04-12):
|
||||
1. Ran expanded regression gate aligned with Stage 3 exit + Stage 4 contract checks:
|
||||
- `addressQueryRuntimeM23`
|
||||
- `assistantWave17RunRegression20260411`
|
||||
- `assistantWave18ManualCommentsRegression`
|
||||
- `assistantLivingRouter`
|
||||
- `assistantLivingChatMode`
|
||||
- `assistantSoftPolicyReply`
|
||||
- `assistantBoundaryFallbackReply`
|
||||
- `assistantAnswerPolicyV11`
|
||||
- `assistantSemanticExtractionContract`
|
||||
- `assistantStage4AnswerContractShape`
|
||||
2. Validation snapshot:
|
||||
- expanded quality-loop pack passed: `10 files / 359 tests`;
|
||||
- `npm --prefix llm_normalizer/backend run build` passed.
|
||||
|
||||
Implemented in current pass (Stage 4.5 contract observability in debug/log, 2026-04-12):
|
||||
1. Added Stage 4 answer-contract audit module:
|
||||
- `assistantStage4AnswerContractAudit.ts`
|
||||
- computes presence/missing of required Stage 4 blocks and detects legacy section leakage.
|
||||
2. Integrated audit into deep-lane observability artifacts:
|
||||
- `debug.answer_contract_stage4_v1`
|
||||
- processed log details `answer_contract_stage4_v1`
|
||||
3. Added focused unit coverage:
|
||||
- `assistantDebugPayloadAssembler.test.ts` (positive and non-Stage4 legacy case)
|
||||
- `assistantMessageLogAssembler.test.ts`
|
||||
4. Validation snapshot:
|
||||
- focused assembler pack passed: `2 files / 5 tests`;
|
||||
- `npm --prefix llm_normalizer/backend run build` passed.
|
||||
|
||||
Status: In progress (Stage 4.1-4.5 completed; continue with focused wave/manual-comment quality backlog)
|
||||
|
||||
## Stage 5 (P3): Quality Loop Driven By GUI Markup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user