13 KiB
13 KiB
Request Trace: req_7e47a8b3458741568e2b974079a74cb5
- session_id: as_9d330fb7437341f18539f819dcace95f
- active_rag_session_id: 34007a57-cf69-45f1-a0cd-c6a39bd81d42
- process_version: v2
- created_at: 2026-03-26T20:17:03.006084+00:00
User Message
Опиши что делает /health
Step bootstrap
{
"status": "started",
"details": {}
}
Event status
{
"source": "orchestrator",
"text": "Запрос принят и поставлен в обработку.",
"payload": {},
"created_at": "2026-03-26T20:17:03.012795+00:00"
}
Event status
{
"source": "orchestrator",
"text": "Запускаю процесс обработки v1.",
"payload": {
"process_version": "v2"
},
"created_at": "2026-03-26T20:17:03.013195+00:00"
}
Step bootstrap
{
"status": "completed",
"details": {}
}
Step intent_router
{
"status": "started",
"details": {}
}
Event status
{
"source": "intent_router",
"text": "Маршрутизирую запрос и определяю целевой workflow.",
"payload": {},
"created_at": "2026-03-26T20:17:03.015461+00:00"
}
Event status
{
"source": "intent_router",
"text": "Маршрут выбран: DOCUMENTATION_EXPLAIN / API_METHOD_EXPLAIN.",
"payload": {
"intent": "DOCUMENTATION_EXPLAIN",
"sub_intent": "API_METHOD_EXPLAIN",
"matched_intent_source": "deterministic"
},
"created_at": "2026-03-26T20:17:03.021546+00:00"
}
Step intent_router
{
"status": "completed",
"details": {
"intent": "DOCUMENTATION_EXPLAIN",
"sub_intent": "API_METHOD_EXPLAIN",
"matched_intent_source": "deterministic"
}
}
Step workflow_documentation_explain
{
"status": "started",
"details": {}
}
Event status
{
"source": "task_workflow",
"text": "Запускаю workflow docs_qa.",
"payload": {
"intent": "DOCUMENTATION_EXPLAIN",
"sub_intent": "API_METHOD_EXPLAIN"
},
"created_at": "2026-03-26T20:17:03.021922+00:00"
}
Event status
{
"source": "status.rag_retrieval",
"text": "RAG Retrieval",
"payload": {
"status_block": {
"id": "rag_retrieval",
"title": "RAG Retrieval",
"lines": [
"planned_layers: D2_FACT_INDEX, D4_WORKFLOW_INDEX, D1_DOCUMENT_CATALOG, D0_DOC_CHUNKS",
"executed_layers: D2_FACT_INDEX, D4_WORKFLOW_INDEX, D1_DOCUMENT_CATALOG, D0_DOC_CHUNKS",
"D2_FACT_INDEX: 8 hits",
"D4_WORKFLOW_INDEX: 2 hits",
"D1_DOCUMENT_CATALOG: 4 hits",
"D0_DOC_CHUNKS: 4 hits"
],
"append": false
},
"kind": "task_progress"
},
"created_at": "2026-03-26T20:17:05.913522+00:00"
}
Event status
{
"source": "status.workflow",
"text": "Task Workflow",
"payload": {
"status_block": {
"id": "workflow",
"title": "Task Workflow",
"lines": [
"workflow_id: docs_qa",
"prompt: docs_explain_answer",
"answer_mode: degraded"
],
"append": false
},
"kind": "task_progress"
},
"created_at": "2026-03-26T20:17:05.914387+00:00"
}
Event status
{
"source": "status.evidence_gate",
"text": "Evidence Gate",
"payload": {
"status_block": {
"id": "evidence_gate",
"title": "Evidence Gate",
"lines": [
"decision: reject",
"reason: not_found_exact_anchor",
"missing: retrieval_non_empty, exact_anchor_match"
],
"append": false
},
"kind": "task_progress"
},
"created_at": "2026-03-26T20:17:05.914679+00:00"
}
Event status
{
"source": "rag_retrieval",
"text": "RAG retrieval завершен.",
"payload": {
"planned_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"executed_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"non_empty_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
]
},
"created_at": "2026-03-26T20:17:05.914992+00:00"
}
Event status
{
"source": "evidence_gate",
"text": "Evidence gate оценен.",
"payload": {
"decision": "reject",
"reason": "not_found_exact_anchor",
"missing": [
"retrieval_non_empty",
"exact_anchor_match"
],
"satisfied": []
},
"created_at": "2026-03-26T20:17:05.915395+00:00"
}
Event status
{
"source": "workflow_result",
"text": "Workflow docs_qa завершен.",
"payload": {
"workflow_id": "docs_qa",
"result_type": "answer",
"answer_length": 57
},
"created_at": "2026-03-26T20:17:05.916924+00:00"
}
Step workflow_documentation_explain
{
"status": "completed",
"details": {
"workflow_id": "docs_qa",
"meta": {
"workflow_id": "docs_qa",
"intent": "DOCUMENTATION_EXPLAIN",
"diagnostics": {
"intent": "DOCUMENTATION_EXPLAIN",
"sub_intent": "API_METHOD_EXPLAIN",
"layers_used": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"documents_found": 0,
"facts_found": 0,
"relations_found": 0,
"openapi_fields_extracted": 0,
"missing_required_fields": [],
"openapi_status": {
"has_path": false,
"has_method": false,
"has_request": false,
"has_response": false
},
"prompt_used": "docs_explain_answer",
"llm_mode": "prose",
"output_valid": true,
"matched_intent_source": "deterministic",
"matched_anchor_type": "endpoint",
"matched_anchor_value": "/health",
"exact_anchor_match": false,
"docs_layers_requested": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"docs_layers_with_hits": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"planned_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"executed_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"non_empty_layers": [
"D2_FACT_INDEX",
"D4_WORKFLOW_INDEX",
"D1_DOCUMENT_CATALOG",
"D0_DOC_CHUNKS"
],
"layer_diagnostics": {
"D2_FACT_INDEX": {
"hits": 8,
"top_ids": [
"8879bb1d923dff0d783ef202f98fdfe5b774870912b2cd261ae127003daffacb",
"5bc72ce58bd31c654a380034beb59f47224e9b03bd306503a7f0b8634008409d",
"5a471b2380ec55b5866b99bb337b92cb78b91051cf616593937f1603d1011fa6",
"a31bbca2eb31ffb6655bcec7ff07b8cf2b6c7416610cf58dfc1e0c737df12fe1",
"e64a6aebed07076a1cccb4d6537b5f54489e25eda776e0230b3c2ff1df2ae648"
],
"top_sections": [
"domain.runtime_health:mentions_entity",
"docs/README.md:doc_list_item"
]
},
"D4_WORKFLOW_INDEX": {
"hits": 2,
"top_ids": [
"api.send_message_endpoint",
"api.control_actions_endpoint"
],
"top_sections": [
"Scenario"
]
},
"D1_DOCUMENT_CATALOG": {
"hits": 4,
"top_ids": [
"domain.runtime_health",
"docs/README.md",
"api.send_message_endpoint",
"api.control_actions_endpoint"
],
"top_sections": [
"Сущность runtime health",
"Readme",
"HTTP API /send",
"HTTP API /actions/{action}"
]
},
"D0_DOC_CHUNKS": {
"hits": 4,
"top_ids": [
"domain.runtime_health",
"docs/README.md",
"architecture.telegram_notify_app"
],
"top_sections": [
"domain.runtime_health:Details",
"domain.runtime_health:Summary",
"docs/README.md:Навигация",
"architecture.telegram_notify_app:Details"
]
}
},
"query_entity_candidates": [],
"resolved_entity_candidates": [],
"query_anchor_candidates": [
"/health"
],
"resolved_anchor_candidates": [],
"anchor_candidates": [],
"selected_anchor": null,
"anchor_selection_reason": "",
"anchor_match_type": "",
"doc_ids": [],
"doc_paths": [],
"doc_titles": [],
"relation_hits_count": 0,
"relation_targets": [],
"selected_doc_ids": [],
"selected_fact_ids": [],
"selected_relation_ids": [],
"selected_chunk_ids": [],
"selected_entity_ids": [],
"selected_workflow_ids": [],
"fallback_doc_hits_count": 0,
"fallback_used": false,
"fact_hits": 0,
"entity_hits": 0,
"evidence_summary": {
"documents": 0,
"facts": 0,
"entities": 0,
"workflows": 0,
"relations": 0,
"chunks": 0,
"selected_doc_ids": [],
"selected_fact_ids": [],
"selected_relation_ids": [],
"selected_chunk_ids": [],
"entity_hits": 0,
"openapi_signals": {
"path_found": false,
"method_found": false,
"operation_semantics_found": false,
"request_payload_found": false,
"request_schema": false,
"request_fields_found": false,
"response_payload_found": false,
"response_schema": false,
"response_fields_found": false,
"status_codes": false,
"content_type_found": false,
"examples_found": false,
"payload_description": false
}
},
"gate_decision": "reject",
"gate_decision_reason": "not_found_exact_anchor",
"gate_missing_requirements": [
"retrieval_non_empty",
"exact_anchor_match"
],
"gate_satisfied_requirements": [],
"openapi_evidence": {
"path_found": false,
"method_found": false,
"operation_semantics_found": false,
"request_payload_found": false,
"request_schema": false,
"request_fields_found": false,
"response_payload_found": false,
"response_schema": false,
"response_fields_found": false,
"status_codes": false,
"content_type_found": false,
"examples_found": false,
"payload_description": false
},
"requested_fragment_type": null,
"fragment_evidence_found": [],
"fragment_missing_requirements": [],
"prompt": {
"prompt_name": "docs_explain_answer",
"system_prompt": "Ты объясняешь документацию системы.\n\nНа вход приходит JSON с полями:\n- question\n- intent\n- sub_intent\n- documents\n- facts\n- relations\n\nПравила:\n- Используй только предоставленные факты\n- Не додумывай\n- Если данных недостаточно, скажи это явно\n- Объясняй структурировано\n\nФормат ответа:\n1. Краткое описание\n2. Основные элементы\n3. Как это работает\n4. Связи с другими частями системы (если есть)",
"user_prompt": "{\n \"question\": \"Опиши что делает /health\",\n \"intent\": \"DOCUMENTATION_EXPLAIN\",\n \"sub_intent\": \"API_METHOD_EXPLAIN\",\n \"documents\": [],\n \"facts\": [],\n \"entities\": [],\n \"workflows\": [],\n \"relations\": [],\n \"chunks\": []\n}",
"log_context": "graph.project_qa.docs.answer",
"prompt_stats": {
"system_chars": 393,
"user_chars": 225,
"tokens_in_estimate": 155
}
},
"answer_mode": "degraded",
"degrade_reason": "not_found_exact_anchor",
"degraded_reason": "not_found_exact_anchor",
"code_intents_stubbed": false
}
}
}
}
Step finalize
{
"status": "started",
"details": {}
}
Event user
{
"source": "agent",
"text": "Не найдено точное совпадение по запрошенному docs anchor.",
"payload": {},
"created_at": "2026-03-26T20:17:05.919336+00:00"
}
Event status
{
"source": "orchestrator",
"text": "Обработка запроса завершена.",
"payload": {},
"created_at": "2026-03-26T20:17:05.919876+00:00"
}
Step finalize
{
"status": "completed",
"details": {}
}
Result
{
"status": "done",
"answer": "Не найдено точное совпадение по запрошенному docs anchor.",
"completed_at": "2026-03-26T20:17:05.920288+00:00"
}