ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Этап 4.8: референциальная continuity для follow-up по контрагентам и pivot операции
This commit is contained in:
@@ -2746,7 +2746,25 @@ Implemented in current pass (Stage 4.7 Stage4 compliance rollout into P0 quality
|
||||
- `assistantP0EvalHarness.test.ts`: `5 passed` (extended timeout budget);
|
||||
- `npm --prefix llm_normalizer/backend run build` passed.
|
||||
|
||||
Status: In progress (Stage 4.1-4.7 completed; continue with focused wave/manual-comment quality backlog)
|
||||
Implemented in current pass (Stage 4.8 referential continuity for entity drill-down follow-ups, 2026-04-12):
|
||||
1. Added displayed-entity carryover resolver in address follow-up context:
|
||||
- extracts counterparties from the last factual numbered list in assistant reply text;
|
||||
- resolves short follow-up mentions (e.g. surname-only alias) against displayed entities;
|
||||
- writes resolved entity into follow-up context as `counterparty` anchor and marks `resolved_counterparty_from_display`.
|
||||
2. Updated continuation diagnostics for operation pivots on the same entity:
|
||||
- `dialog_continuation_contract_v2.target_intent` now prefers explicit current-message intent (except suggested-intent switch mode);
|
||||
- emits `operation_intent_from_current_message` reason for `carry_referenced_entity` pivots.
|
||||
3. Extended decompose-stage follow-up filter carryover for value intents:
|
||||
- `customer_revenue_and_payments`, `supplier_payouts_profile`, `contract_usage_and_value`;
|
||||
- applies inherited counterparty when entity was explicitly resolved from displayed list (or previous value-profile chain), while blocking broad ranking-wording carryover.
|
||||
4. Regression updates:
|
||||
- `assistantAddressFollowupContext.test.ts` (new Kalinin continuity scenario);
|
||||
- `addressQueryRuntimeM23.test.ts` (value-intent decompose carryover assertion).
|
||||
5. Validation snapshot:
|
||||
- `npm.cmd --prefix llm_normalizer/backend run test -- --run tests/assistantAddressFollowupContext.test.ts tests/addressQueryRuntimeM23.test.ts --testTimeout=180000`: `295 passed`;
|
||||
- `npm.cmd --prefix llm_normalizer/backend run build` passed.
|
||||
|
||||
Status: In progress (Stage 4.1-4.8 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