997 lines
42 KiB
JSON
997 lines
42 KiB
JSON
{
|
||
"schema_version": "assistant_session_log_v1",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"started_at": "2026-03-25T19:02:08.265Z",
|
||
"updated_at": "2026-03-25T19:02:08.316Z",
|
||
"counters": {
|
||
"total_messages": 2,
|
||
"user_messages": 1,
|
||
"assistant_messages": 1
|
||
},
|
||
"trace_ids": [
|
||
"psFbPWXZiknv0B"
|
||
],
|
||
"reply_types": [
|
||
"clarification_required"
|
||
],
|
||
"investigation_state": {
|
||
"schema_version": "investigation_state_v1",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"status": "active",
|
||
"turn_index": 1,
|
||
"updated_at": "2026-03-25T19:02:08.315Z",
|
||
"question_id": "msg-VmGt23ntfN",
|
||
"focus": {
|
||
"domain": "live_mcp_drilldown",
|
||
"period": null,
|
||
"primary_accounts": [],
|
||
"active_query_subject": "Что не так по документ #123?"
|
||
},
|
||
"narrowing_status": "not_needed",
|
||
"evidence_refs": [],
|
||
"open_uncertainties": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"last_answer_mode": "clarification_required",
|
||
"followup_context": {
|
||
"previous_question_id": null,
|
||
"last_user_message": "Что не так по документ #123?",
|
||
"referenced_requirement_ids": [
|
||
"R1"
|
||
]
|
||
},
|
||
"query_mode_hint": "direct_answer"
|
||
},
|
||
"turns": [
|
||
{
|
||
"turn_id": "turn-1",
|
||
"started_at": "2026-03-25T19:02:08.265Z",
|
||
"completed_at": "2026-03-25T19:02:08.316Z",
|
||
"human_block": "Вопрос: Что не так по документ #123?\nПонято как: Что не так по документ #123?\nДекомпозиция:\n- F1: Что не так по документ #123?; execution_readiness=executable_with_soft_assumptions; route_status=routed; route=live_mcp_drilldown\nОтвет: Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"human_readable": {
|
||
"question_raw": "Что не так по документ #123?",
|
||
"question_understood": "Что не так по документ #123?",
|
||
"decomposition": [
|
||
"F1: Что не так по документ #123?; execution_readiness=executable_with_soft_assumptions; route_status=routed; route=live_mcp_drilldown"
|
||
],
|
||
"answer": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"reply_type": "clarification_required"
|
||
},
|
||
"technical_json": {
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"user_message": {
|
||
"message_id": "msg-VmGt23ntfN",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"role": "user",
|
||
"text": "Что не так по документ #123?",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-25T19:02:08.265Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
"assistant_message": {
|
||
"message_id": "msg-JBCRFheZQM",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"role": "assistant",
|
||
"text": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"reply_type": "clarification_required",
|
||
"created_at": "2026-03-25T19:02:08.316Z",
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"debug": {
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "clarification",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"requirements_extracted": [
|
||
{
|
||
"requirement_id": "R1",
|
||
"source_fragment_id": "F1",
|
||
"requirement_text": "Что не так по документ #123?",
|
||
"subject_tokens": [
|
||
"документ"
|
||
],
|
||
"status": "covered",
|
||
"route": "live_mcp_drilldown"
|
||
}
|
||
],
|
||
"coverage_report": {
|
||
"requirements_total": 1,
|
||
"requirements_covered": 1,
|
||
"requirements_uncovered": [],
|
||
"requirements_partially_covered": [],
|
||
"clarification_needed_for": [],
|
||
"out_of_scope_requirements": []
|
||
},
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object",
|
||
"items": [],
|
||
"summary": {
|
||
"reason": "guid_not_provided",
|
||
"degraded_to": "clarification",
|
||
"broad_query_detected": true,
|
||
"broadness_level": "medium",
|
||
"scope_confidence_hint": "medium",
|
||
"narrowing_strength": "medium",
|
||
"broad_guard_applied": true,
|
||
"minimum_evidence_failed": true,
|
||
"anti_generic_guard_applied": false,
|
||
"broad_result_flag": true
|
||
},
|
||
"evidence": [],
|
||
"why_included": [],
|
||
"selection_reason": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
],
|
||
"risk_factors": [],
|
||
"business_interpretation": [
|
||
"Без GUID точечный drilldown невозможен."
|
||
],
|
||
"confidence": "low",
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"answer_grounding_check": {
|
||
"status": "grounded",
|
||
"route_subject_match": true,
|
||
"missing_requirements": [],
|
||
"reasons": [
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
],
|
||
"why_included_summary": [],
|
||
"selection_reason_summary": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
]
|
||
},
|
||
"dropped_intent_segments": [],
|
||
"answer_structure_v11": {
|
||
"schema_version": "answer_structure_v1_1",
|
||
"answer_summary": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"direct_answer": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"evidence_block": {
|
||
"evidence_ids": [],
|
||
"mechanism_notes": [],
|
||
"coverage_note": "coverage_full_or_near_full"
|
||
},
|
||
"uncertainty_block": {
|
||
"open_uncertainties": [],
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output.",
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
]
|
||
},
|
||
"next_step_block": {
|
||
"recommended_actions": [],
|
||
"clarification_questions": []
|
||
}
|
||
},
|
||
"investigation_state_snapshot": {
|
||
"schema_version": "investigation_state_v1",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"status": "active",
|
||
"turn_index": 1,
|
||
"updated_at": "2026-03-25T19:02:08.315Z",
|
||
"question_id": "msg-VmGt23ntfN",
|
||
"focus": {
|
||
"domain": "live_mcp_drilldown",
|
||
"period": null,
|
||
"primary_accounts": [],
|
||
"active_query_subject": "Что не так по документ #123?"
|
||
},
|
||
"narrowing_status": "not_needed",
|
||
"evidence_refs": [],
|
||
"open_uncertainties": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"last_answer_mode": "clarification_required",
|
||
"followup_context": {
|
||
"previous_question_id": null,
|
||
"last_user_message": "Что не так по документ #123?",
|
||
"referenced_requirement_ids": [
|
||
"R1"
|
||
]
|
||
},
|
||
"query_mode_hint": "direct_answer"
|
||
},
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Что не так по документ #123?",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"debug": {
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "clarification",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"requirements_extracted": [
|
||
{
|
||
"requirement_id": "R1",
|
||
"source_fragment_id": "F1",
|
||
"requirement_text": "Что не так по документ #123?",
|
||
"subject_tokens": [
|
||
"документ"
|
||
],
|
||
"status": "covered",
|
||
"route": "live_mcp_drilldown"
|
||
}
|
||
],
|
||
"coverage_report": {
|
||
"requirements_total": 1,
|
||
"requirements_covered": 1,
|
||
"requirements_uncovered": [],
|
||
"requirements_partially_covered": [],
|
||
"clarification_needed_for": [],
|
||
"out_of_scope_requirements": []
|
||
},
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object",
|
||
"items": [],
|
||
"summary": {
|
||
"reason": "guid_not_provided",
|
||
"degraded_to": "clarification",
|
||
"broad_query_detected": true,
|
||
"broadness_level": "medium",
|
||
"scope_confidence_hint": "medium",
|
||
"narrowing_strength": "medium",
|
||
"broad_guard_applied": true,
|
||
"minimum_evidence_failed": true,
|
||
"anti_generic_guard_applied": false,
|
||
"broad_result_flag": true
|
||
},
|
||
"evidence": [],
|
||
"why_included": [],
|
||
"selection_reason": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
],
|
||
"risk_factors": [],
|
||
"business_interpretation": [
|
||
"Без GUID точечный drilldown невозможен."
|
||
],
|
||
"confidence": "low",
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"answer_grounding_check": {
|
||
"status": "grounded",
|
||
"route_subject_match": true,
|
||
"missing_requirements": [],
|
||
"reasons": [
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
],
|
||
"why_included_summary": [],
|
||
"selection_reason_summary": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
]
|
||
},
|
||
"dropped_intent_segments": [],
|
||
"answer_structure_v11": {
|
||
"schema_version": "answer_structure_v1_1",
|
||
"answer_summary": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"direct_answer": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"evidence_block": {
|
||
"evidence_ids": [],
|
||
"mechanism_notes": [],
|
||
"coverage_note": "coverage_full_or_near_full"
|
||
},
|
||
"uncertainty_block": {
|
||
"open_uncertainties": [],
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output.",
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
]
|
||
},
|
||
"next_step_block": {
|
||
"recommended_actions": [],
|
||
"clarification_questions": []
|
||
}
|
||
},
|
||
"investigation_state_snapshot": {
|
||
"schema_version": "investigation_state_v1",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"status": "active",
|
||
"turn_index": 1,
|
||
"updated_at": "2026-03-25T19:02:08.315Z",
|
||
"question_id": "msg-VmGt23ntfN",
|
||
"focus": {
|
||
"domain": "live_mcp_drilldown",
|
||
"period": null,
|
||
"primary_accounts": [],
|
||
"active_query_subject": "Что не так по документ #123?"
|
||
},
|
||
"narrowing_status": "not_needed",
|
||
"evidence_refs": [],
|
||
"open_uncertainties": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"last_answer_mode": "clarification_required",
|
||
"followup_context": {
|
||
"previous_question_id": null,
|
||
"last_user_message": "Что не так по документ #123?",
|
||
"referenced_requirement_ids": [
|
||
"R1"
|
||
]
|
||
},
|
||
"query_mode_hint": "direct_answer"
|
||
},
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Что не так по документ #123?",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"conversation": [
|
||
{
|
||
"message_id": "msg-VmGt23ntfN",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"role": "user",
|
||
"text": "Что не так по документ #123?",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-25T19:02:08.265Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-JBCRFheZQM",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"role": "assistant",
|
||
"text": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"reply_type": "clarification_required",
|
||
"created_at": "2026-03-25T19:02:08.316Z",
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"debug": {
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "clarification",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"requirements_extracted": [
|
||
{
|
||
"requirement_id": "R1",
|
||
"source_fragment_id": "F1",
|
||
"requirement_text": "Что не так по документ #123?",
|
||
"subject_tokens": [
|
||
"документ"
|
||
],
|
||
"status": "covered",
|
||
"route": "live_mcp_drilldown"
|
||
}
|
||
],
|
||
"coverage_report": {
|
||
"requirements_total": 1,
|
||
"requirements_covered": 1,
|
||
"requirements_uncovered": [],
|
||
"requirements_partially_covered": [],
|
||
"clarification_needed_for": [],
|
||
"out_of_scope_requirements": []
|
||
},
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "live_mcp_drilldown",
|
||
"reason": "Exact object trace requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"requirement_ids": [
|
||
"R1"
|
||
],
|
||
"route": "live_mcp_drilldown",
|
||
"status": "empty",
|
||
"result_type": "object",
|
||
"items": [],
|
||
"summary": {
|
||
"reason": "guid_not_provided",
|
||
"degraded_to": "clarification",
|
||
"broad_query_detected": true,
|
||
"broadness_level": "medium",
|
||
"scope_confidence_hint": "medium",
|
||
"narrowing_strength": "medium",
|
||
"broad_guard_applied": true,
|
||
"minimum_evidence_failed": true,
|
||
"anti_generic_guard_applied": false,
|
||
"broad_result_flag": true
|
||
},
|
||
"evidence": [],
|
||
"why_included": [],
|
||
"selection_reason": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
],
|
||
"risk_factors": [],
|
||
"business_interpretation": [
|
||
"Без GUID точечный drilldown невозможен."
|
||
],
|
||
"confidence": "low",
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"answer_grounding_check": {
|
||
"status": "grounded",
|
||
"route_subject_match": true,
|
||
"missing_requirements": [],
|
||
"reasons": [
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
],
|
||
"why_included_summary": [],
|
||
"selection_reason_summary": [
|
||
"Для drilldown требуется GUID в тексте запроса.",
|
||
"Route-aware minimum evidence gate requires clarification before retrieval output."
|
||
]
|
||
},
|
||
"dropped_intent_segments": [],
|
||
"answer_structure_v11": {
|
||
"schema_version": "answer_structure_v1_1",
|
||
"answer_summary": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"direct_answer": "Запрос слишком широкий для надежного вывода по текущей опоре. Уточните период, участок учета или объект проверки, после чего я дам предметный результат.",
|
||
"evidence_block": {
|
||
"evidence_ids": [],
|
||
"mechanism_notes": [],
|
||
"coverage_note": "coverage_full_or_near_full"
|
||
},
|
||
"uncertainty_block": {
|
||
"open_uncertainties": [],
|
||
"limitations": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output.",
|
||
"Нет explainable-сигналов why_included в результатах выборки."
|
||
]
|
||
},
|
||
"next_step_block": {
|
||
"recommended_actions": [],
|
||
"clarification_questions": []
|
||
}
|
||
},
|
||
"investigation_state_snapshot": {
|
||
"schema_version": "investigation_state_v1",
|
||
"session_id": "asst-vFj5GILXx4",
|
||
"status": "active",
|
||
"turn_index": 1,
|
||
"updated_at": "2026-03-25T19:02:08.315Z",
|
||
"question_id": "msg-VmGt23ntfN",
|
||
"focus": {
|
||
"domain": "live_mcp_drilldown",
|
||
"period": null,
|
||
"primary_accounts": [],
|
||
"active_query_subject": "Что не так по документ #123?"
|
||
},
|
||
"narrowing_status": "not_needed",
|
||
"evidence_refs": [],
|
||
"open_uncertainties": [
|
||
"Добавьте GUID документа/объекта для source-of-record проверки.",
|
||
"Broad query lacks enough support for even a limited factual output."
|
||
],
|
||
"last_answer_mode": "clarification_required",
|
||
"followup_context": {
|
||
"previous_question_id": null,
|
||
"last_user_message": "Что не так по документ #123?",
|
||
"referenced_requirement_ids": [
|
||
"R1"
|
||
]
|
||
},
|
||
"query_mode_hint": "direct_answer"
|
||
},
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Что не так по документ #123?",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Что не так по документ #123?",
|
||
"normalized_fragment_text": "Что не так по документ #123?",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": true,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"drilldown_explain"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"company_scope_defaulted"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"last_assistant": {
|
||
"message_id": "msg-JBCRFheZQM",
|
||
"reply_type": "clarification_required",
|
||
"trace_id": "psFbPWXZiknv0B",
|
||
"created_at": "2026-03-25T19:02:08.316Z"
|
||
}
|
||
} |