# Request Trace: req_bc0ca07c5a344978bdbfa3311283f4c8 - session_id: as_d77b5786695d4968a0d7faac4292f7bb - active_rag_session_id: 47aeddca-0011-45e4-b99c-70f1a242f2e4 - process_version: v2 - created_at: 2026-03-26T20:23:49.781134+00:00 ## User Message Как работает метод /health ## Step bootstrap ```json { "status": "started", "details": {} } ``` ## Event status ```json { "source": "orchestrator", "text": "Запрос принят и поставлен в обработку.", "payload": {}, "created_at": "2026-03-26T20:23:49.782470+00:00" } ``` ## Event status ```json { "source": "orchestrator", "text": "Запускаю процесс обработки v1.", "payload": { "process_version": "v2" }, "created_at": "2026-03-26T20:23:49.782560+00:00" } ``` ## Step bootstrap ```json { "status": "completed", "details": {} } ``` ## Step intent_router ```json { "status": "started", "details": {} } ``` ## Event status ```json { "source": "intent_router", "text": "Маршрутизирую запрос и определяю целевой workflow.", "payload": {}, "created_at": "2026-03-26T20:23:49.782839+00:00" } ``` ## Event status ```json { "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:23:49.785619+00:00" } ``` ## Step intent_router ```json { "status": "completed", "details": { "intent": "DOCUMENTATION_EXPLAIN", "sub_intent": "API_METHOD_EXPLAIN", "matched_intent_source": "deterministic" } } ``` ## Step workflow_documentation_explain ```json { "status": "started", "details": {} } ``` ## Event status ```json { "source": "task_workflow", "text": "Запускаю workflow docs_qa.", "payload": { "intent": "DOCUMENTATION_EXPLAIN", "sub_intent": "API_METHOD_EXPLAIN" }, "created_at": "2026-03-26T20:23:49.786090+00:00" } ``` ## Event status ```json { "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:23:52.332219+00:00" } ``` ## Event status ```json { "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:23:52.332932+00:00" } ``` ## Event status ```json { "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:23:52.334102+00:00" } ``` ## Event status ```json { "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:23:52.334498+00:00" } ``` ## Event status ```json { "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:23:52.334791+00:00" } ``` ## Event status ```json { "source": "workflow_result", "text": "Workflow docs_qa завершен.", "payload": { "workflow_id": "docs_qa", "result_type": "answer", "answer_length": 57 }, "created_at": "2026-03-26T20:23:52.335076+00:00" } ``` ## Step workflow_documentation_explain ```json { "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", "logic.telegram_notification_loop", "architecture.telegram_notify_app" ], "top_sections": [ "Сущность runtime health", "Readme", "Цикл отправки уведомлений в Telegram", "Архитектура Telegram Notify App" ] }, "D0_DOC_CHUNKS": { "hits": 4, "top_ids": [ "domain.runtime_health", "docs/README.md", "logic.telegram_notification_loop" ], "top_sections": [ "domain.runtime_health:Details", "domain.runtime_health:Summary", "docs/README.md:Навигация", "logic.telegram_notification_loop: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": 227, "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 ```json { "status": "started", "details": {} } ``` ## Event user ```json { "source": "agent", "text": "Не найдено точное совпадение по запрошенному docs anchor.", "payload": {}, "created_at": "2026-03-26T20:23:52.338517+00:00" } ``` ## Event status ```json { "source": "orchestrator", "text": "Обработка запроса завершена.", "payload": {}, "created_at": "2026-03-26T20:23:52.339122+00:00" } ``` ## Step finalize ```json { "status": "completed", "details": {} } ``` ## Result ```json { "status": "done", "answer": "Не найдено точное совпадение по запрошенному docs anchor.", "completed_at": "2026-03-26T20:23:52.342384+00:00" } ```