# v3-system-flow-telegram-loop-1

- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v3/cases/suite_03_docs/full_chain_docs_intents_v3-3x.yaml
- runner: agent_runtime
- mode: pre_llm
- passed: True

## Query
Объясни цикл отправки уведомлений

## Actual
{
  "intent": "DOCUMENTATION_EXPLAIN",
  "sub_intent": "SYSTEM_FLOW_EXPLAIN",
  "graph_id": "DocsQAGraph",
  "conversation_mode": "START",
  "rag_count": 23,
  "llm_answer": "",
  "answer_mode": "answered",
  "path_scope": [],
  "doc_scope": [
    "docs/README.md",
    "api.control_actions_endpoint",
    "api.actions_endpoint",
    "api.health_endpoint",
    "api.send_message_endpoint",
    "architecture.telegram_notify_app",
    "architecture.telegram_notify_app_overview",
    "domain.runtime_health"
  ],
  "entity_candidates": [],
  "symbol_candidates": [],
  "layers": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "filters": {
    "doc_type": null
  },
  "pipeline_mode": "pre_llm_only",
  "gate_decision": "allow",
  "prompt_used": "docs_explain_answer",
  "llm_mode": "prose",
  "degraded_reason": null,
  "code_intents_stubbed": true
}

## Pipeline Steps
### input_query
```json
{
  "input": {
    "query": "Объясни цикл отправки уведомлений"
  },
  "output": {
    "query": "Объясни цикл отправки уведомлений"
  }
}
```

### router
```json
{
  "input": {
    "query": "Объясни цикл отправки уведомлений"
  },
  "output": {
    "intent": "DOCUMENTATION_EXPLAIN",
    "sub_intent": "SYSTEM_FLOW_EXPLAIN",
    "graph_id": "DocsQAGraph",
    "conversation_mode": "START"
  }
}
```

### docs_pipeline
```json
{
  "input": {
    "query": "Объясни цикл отправки уведомлений"
  },
  "output": {
    "answer_mode": "ready",
    "prompt_name": "docs_explain_answer",
    "llm_request": {
      "prompt_name": "docs_explain_answer",
      "log_context": "graph.project_qa.docs.answer",
      "prompt_stats": {
        "system_chars": 393,
        "user_chars": 20708,
        "tokens_in_estimate": 5276
      }
    },
    "degraded_reason": ""
  }
}
```

## Diagnostics
{
  "intent": "DOCUMENTATION_EXPLAIN",
  "sub_intent": "SYSTEM_FLOW_EXPLAIN",
  "layers_used": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "documents_found": 6,
  "facts_found": 0,
  "relations_found": 8,
  "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": "none",
  "matched_anchor_value": null,
  "exact_anchor_match": false,
  "docs_layers_requested": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "docs_layers_with_hits": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "planned_layers": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "executed_layers": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "non_empty_layers": [
    "D1_DOCUMENT_CATALOG",
    "D4_WORKFLOW_INDEX",
    "D5_RELATION_GRAPH",
    "D0_DOC_CHUNKS"
  ],
  "layer_diagnostics": {
    "D1_DOCUMENT_CATALOG": {
      "hits": 6,
      "top_ids": [
        "docs/README.md",
        "api.control_actions_endpoint",
        "api.health_endpoint",
        "api.send_message_endpoint",
        "architecture.telegram_notify_app"
      ]
    },
    "D4_WORKFLOW_INDEX": {
      "hits": 3,
      "top_ids": [
        "api.control_actions_endpoint",
        "api.health_endpoint",
        "api.send_message_endpoint"
      ]
    },
    "D5_RELATION_GRAPH": {
      "hits": 8,
      "top_ids": [
        "5f4909bde905cd3d294ad307074a05e4ae4deefcafe6272cd2d0436e73acb8dd",
        "711fb2edb82dd222deaba3c91768b18cbbd453009235823282813c6e867dc2c1",
        "eec79f7a02b804337e791ef231784862ae26e0599eb20224790e9d4f085fa9c0",
        "c718b1939621233295ccaf6e8203e7fd94f3dd1bfb88f10c51bc5e33d53a24aa",
        "616f5cbf25da83cb51d8d0741a7fc351620c9ca2c6513fa2094b4aa476f0912a"
      ]
    },
    "D0_DOC_CHUNKS": {
      "hits": 6,
      "top_ids": [
        "docs/README.md",
        "api.control_actions_endpoint"
      ]
    }
  },
  "query_entity_candidates": [],
  "resolved_entity_candidates": [],
  "query_anchor_candidates": [],
  "resolved_anchor_candidates": [
    "docs/README.md",
    "api.control_actions_endpoint",
    "docs/documentation/api/control-actions-endpoint.md",
    "api.health_endpoint",
    "docs/documentation/api/health-endpoint.md",
    "api.send_message_endpoint",
    "docs/documentation/api/send-message-endpoint.md",
    "architecture.telegram_notify_app",
    "docs/documentation/architecture/telegram-notify-app-overview.md",
    "domain.runtime_health",
    "docs/documentation/domain/runtime-health-entity.md"
  ],
  "anchor_candidates": [],
  "selected_anchor": null,
  "anchor_selection_reason": "",
  "anchor_match_type": "",
  "doc_ids": [
    "docs/README.md",
    "api.control_actions_endpoint",
    "api.actions_endpoint",
    "api.health_endpoint",
    "api.send_message_endpoint",
    "architecture.telegram_notify_app",
    "architecture.telegram_notify_app_overview",
    "domain.runtime_health"
  ],
  "doc_paths": [
    "docs/README.md",
    "docs/documentation/api/control-actions-endpoint.md",
    "docs/documentation/api/health-endpoint.md",
    "docs/documentation/api/send-message-endpoint.md",
    "docs/documentation/architecture/telegram-notify-app-overview.md",
    "docs/documentation/domain/runtime-health-entity.md"
  ],
  "doc_titles": [
    "Readme",
    "HTTP API /actions/{action}",
    "HTTP API /health",
    "HTTP API /send",
    "Архитектура Telegram Notify App",
    "Сущность runtime health",
    "Scenario",
    "api.control_actions_endpoint:part_of",
    "api.control_actions_endpoint:related_api",
    "api.control_actions_endpoint:related_logic",
    "api.health_endpoint:parent",
    "api.health_endpoint:part_of",
    "api.health_endpoint:depends_on",
    "api.send_message_endpoint:parent",
    "api.control_actions_endpoint:parent",
    "docs/README.md:Структура",
    "docs/README.md:Навигация",
    "docs/README.md:Правила и шаблоны",
    "api.control_actions_endpoint:Summary",
    "api.control_actions_endpoint:Описание",
    "docs/README.md:Project Docs"
  ],
  "relation_hits_count": 8,
  "relation_targets": [
    "api.control_actions_endpoint:part_of",
    "api.control_actions_endpoint:related_api",
    "api.control_actions_endpoint:related_logic",
    "api.health_endpoint:parent",
    "api.health_endpoint:part_of",
    "api.health_endpoint:depends_on",
    "api.send_message_endpoint:parent",
    "api.control_actions_endpoint:parent"
  ],
  "fallback_doc_hits_count": 12,
  "fallback_used": false,
  "fact_hits": 0,
  "entity_hits": 0,
  "evidence_summary": {
    "documents": 6,
    "facts": 0,
    "relations": 8,
    "chunks": 6,
    "entity_hits": 0,
    "openapi_signals": {
      "path_found": false,
      "method_found": false,
      "request_schema": false,
      "response_schema": false,
      "status_codes": false,
      "payload_description": false
    }
  },
  "gate_decision": "allow",
  "gate_decision_reason": "evidence_sufficient",
  "gate_missing_requirements": [],
  "gate_satisfied_requirements": [
    "retrieval_non_empty"
  ],
  "openapi_evidence": {
    "path_found": false,
    "method_found": false,
    "request_schema": false,
    "response_schema": false,
    "status_codes": false,
    "payload_description": false
  },
  "requested_fragment_type": null,
  "fragment_evidence_found": [],
  "fragment_missing_requirements": [],
  "answer_mode": "ready",
  "degrade_reason": null,
  "degraded_reason": null,
  "code_intents_stubbed": false
}

## LLM Request
- prompt_name: docs_explain_answer
- log_context: graph.project_qa.docs.answer

### Prompt Stats
```json
{
  "system_chars": 393,
  "user_chars": 20708,
  "tokens_in_estimate": 5276
}
```

### System Prompt
```text
Ты объясняешь документацию системы.

На вход приходит JSON с полями:
- question
- intent
- sub_intent
- documents
- facts
- relations

Правила:
- Используй только предоставленные факты
- Не додумывай
- Если данных недостаточно, скажи это явно
- Объясняй структурировано

Формат ответа:
1. Краткое описание
2. Основные элементы
3. Как это работает
4. Связи с другими частями системы (если есть)
```

### User Prompt
```json
{
  "question": "Объясни цикл отправки уведомлений",
  "intent": "DOCUMENTATION_EXPLAIN",
  "sub_intent": "SYSTEM_FLOW_EXPLAIN",
  "documents": [
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/README.md",
      "title": "Readme",
      "content": "Readme",
      "metadata": {
        "name": "",
        "tags": [],
        "type": "",
        "layer": "",
        "links": [],
        "owner": null,
        "title": "Readme",
        "doc_id": null,
        "module": "",
        "parent": null,
        "status": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "81d952f1a6ea85b76f75e0e57f33b8fa4b2bf3cb7db11b91b90171aeedd655a6",
        "children": [],
        "doc_kind": "readme",
        "entities": [],
        "updated_at": null,
        "doc_version": null,
        "document_id": "docs/README.md",
        "source_path": "docs/README.md",
        "summary_text": "",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/documentation/api/control-actions-endpoint.md",
      "title": "HTTP API /actions/{action}",
      "content": "Endpoint `/actions/{action}` управляет control actions runtime и поддерживает `start`, `stop` и `status`. Для долгих операций `start` и `stop` допускается ответ HTTP 202, если действие еще выполняется. Endpoint используется для operator-driven управления жизненным циклом worker'а через HTTP API.",
      "metadata": {
        "name": "control_actions_endpoint",
        "tags": [
          "api",
          "control-plane",
          "lifecycle"
        ],
        "type": "api_method",
        "layer": "application",
        "links": [
          {
            "type": "part_of",
            "target": "architecture.telegram_notify_app"
          },
          {
            "type": "related_api",
            "target": "api.health_endpoint"
          },
          {
            "type": "related_logic",
            "target": "logic.telegram_notification_loop"
          }
        ],
        "owner": null,
        "title": "HTTP API /actions/{action}",
        "doc_id": null,
        "module": "telegram_notify_app",
        "parent": "architecture.telegram_notify_app",
        "status": "draft",
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "a251c550a23249ef1a74389c93aaccd4c5ae88ef621efad2aa018fcd132cce7e",
        "children": [],
        "doc_kind": "misc",
        "entities": [
          "TelegramControlChannel",
          "ControlActionSet",
          "JSONResponse"
        ],
        "updated_at": "2026-03-20",
        "doc_version": null,
        "document_id": "api.control_actions_endpoint",
        "source_path": "docs/documentation/api/control-actions-endpoint.md",
        "summary_text": "Endpoint `/actions/{action}` управляет control actions runtime и поддерживает `start`, `stop` и `status`. Для долгих операций `start` и `stop` допускается ответ HTTP 202, если действие еще выполняется. Endpoint используется для operator-driven управления жизненным циклом worker'а через HTTP API.",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/documentation/api/health-endpoint.md",
      "title": "HTTP API /health",
      "content": "Endpoint `/health` возвращает агрегированный health payload runtime. Если общий статус равен `ok`, API отвечает с HTTP 200; для состояний деградации или неготовности возвращается HTTP 503 с тем же payload. Endpoint служит основной точкой внешней проверки состояния приложения.",
      "metadata": {
        "name": "health_endpoint",
        "tags": [
          "api",
          "health",
          "control-plane"
        ],
        "type": "api_method",
        "layer": "application",
        "links": [
          {
            "type": "part_of",
            "target": "architecture.telegram_notify_app"
          },
          {
            "type": "depends_on",
            "target": "domain.runtime_health"
          }
        ],
        "owner": null,
        "title": "HTTP API /health",
        "doc_id": null,
        "module": "telegram_notify_app",
        "parent": "architecture.telegram_notify_app",
        "status": "draft",
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "8b5a533a8076e2e9d36995eee29aeade260080bdca2ec8e21fe28f08574b983f",
        "children": [],
        "doc_kind": "misc",
        "entities": [
          "TelegramControlChannel",
          "TelegramNotifyWorker",
          "RuntimeManager",
          "WorkerHealth"
        ],
        "updated_at": "2026-03-20",
        "doc_version": null,
        "document_id": "api.health_endpoint",
        "source_path": "docs/documentation/api/health-endpoint.md",
        "summary_text": "Endpoint `/health` возвращает агрегированный health payload runtime. Если общий статус равен `ok`, API отвечает с HTTP 200; для состояний деградации или неготовности возвращается HTTP 503 с тем же payload. Endpoint служит основной точкой внешней проверки состояния приложения.",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/documentation/api/send-message-endpoint.md",
      "title": "HTTP API /send",
      "content": "Endpoint `/send` выполняет ручную отправку сообщения в Telegram через `TelegramSendService`. Он используется для операторской проверки доставки и для отправки уведомлений вне периодического worker loop. Endpoint работает поверх тех же credentials и того же delivery path, что и фоновая отправка.",
      "metadata": {
        "name": "send_message_endpoint",
        "tags": [
          "api",
          "telegram",
          "manual-send"
        ],
        "type": "api_method",
        "layer": "application",
        "links": [
          {
            "type": "part_of",
            "target": "architecture.telegram_notify_app"
          },
          {
            "type": "depends_on",
            "target": "logic.telegram_notification_loop"
          }
        ],
        "owner": null,
        "title": "HTTP API /send",
        "doc_id": null,
        "module": "telegram_notify_app",
        "parent": "architecture.telegram_notify_app",
        "status": "draft",
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "5fbf2e33510b0676a3a53b957a4569bd3c2c31fb7719546602c573421ccaa32d",
        "children": [],
        "doc_kind": "misc",
        "entities": [
          "TelegramControlAppFactory",
          "TelegramSendService",
          "TelegramNotifyWorker"
        ],
        "updated_at": "2026-03-20",
        "doc_version": null,
        "document_id": "api.send_message_endpoint",
        "source_path": "docs/documentation/api/send-message-endpoint.md",
        "summary_text": "Endpoint `/send` выполняет ручную отправку сообщения в Telegram через `TelegramSendService`. Он используется для операторской проверки доставки и для отправки уведомлений вне периодического worker loop. Endpoint работает поверх тех же credentials и того же delivery path, что и фоновая отправка.",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/documentation/architecture/telegram-notify-app-overview.md",
      "title": "Архитектура Telegram Notify App",
      "content": "`test_echo_app` — сервис на базе PLBA runtime, который поднимает HTTP control plane и запускает фоновый воркер для периодической отправки уведомлений в Telegram. Приложение использует YAML-конфиг для runtime-настроек и переменные окружения для Telegram credentials. Основной контур системы состоит из runtime manager, control channel, send service и worker loop.",
      "metadata": {
        "name": "telegram_notify_app_overview",
        "tags": [
          "architecture",
          "telegram",
          "plba",
          "runtime"
        ],
        "type": "architecture_overview",
        "layer": "system",
        "links": [
          {
            "type": "related_api",
            "target": "api.health_endpoint"
          },
          {
            "type": "related_api",
            "target": "api.control_actions_endpoint"
          },
          {
            "type": "related_api",
            "target": "api.send_message_endpoint"
          },
          {
            "type": "depends_on",
            "target": "logic.telegram_notification_loop"
          },
          {
            "type": "depends_on",
            "target": "domain.runtime_health"
          }
        ],
        "owner": null,
        "title": "Архитектура Telegram Notify App",
        "doc_id": null,
        "module": "telegram_notify_app",
        "parent": "docs_root",
        "status": "draft",
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "8b1cc9f823e55bddbc825466d10a0fdb4ca4354ac02d91f9e2aef7b7d2ec8256",
        "children": [
          "api.health_endpoint",
          "api.control_actions_endpoint",
          "api.send_message_endpoint",
          "logic.telegram_notification_loop",
          "domain.runtime_health"
        ],
        "doc_kind": "spec",
        "entities": [
          "TelegramNotifyModule",
          "TelegramNotifyWorker",
          "TelegramControlChannel",
          "TelegramSendService",
          "RuntimeManager"
        ],
        "updated_at": "2026-03-20",
        "doc_version": null,
        "document_id": "architecture.telegram_notify_app",
        "source_path": "docs/documentation/architecture/telegram-notify-app-overview.md",
        "summary_text": "`test_echo_app` — сервис на базе PLBA runtime, который поднимает HTTP control plane и запускает фоновый воркер для периодической отправки уведомлений в Telegram. Приложение использует YAML-конфиг для runtime-настроек и переменные окружения для Telegram credentials. Основной контур системы состоит из runtime manager, control channel, send service и worker loop.",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D1_DOCUMENT_CATALOG",
      "path": "docs/documentation/domain/runtime-health-entity.md",
      "title": "Сущность runtime health",
      "content": "`runtime health` — доменная модель наблюдаемости сервиса, которая описывает общее состояние runtime и состояние отдельных компонентов. Для `test_echo_app` главным объектом наблюдения является компонент `telegram_notify`, у которого важны статус, время старта и количество успешных отправок. Эта модель используется для внешнего health-monitoring и внутренней диагностики.",
      "metadata": {
        "name": "runtime_health",
        "tags": [
          "domain",
          "health",
          "observability"
        ],
        "type": "domain_entity",
        "layer": "domain",
        "links": [
          {
            "type": "part_of",
            "target": "architecture.telegram_notify_app"
          },
          {
            "type": "used_by",
            "target": "api.health_endpoint"
          },
          {
            "type": "related_logic",
            "target": "logic.telegram_notification_loop"
          }
        ],
        "owner": null,
        "title": "Сущность runtime health",
        "doc_id": null,
        "module": "telegram_notify_app",
        "parent": "architecture.telegram_notify_app",
        "status": "draft",
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "37d4dcf470ea3de95d59e44786006e369a3ea11bf5dbf4c88877696e9183ee87",
        "children": [],
        "doc_kind": "misc",
        "entities": [
          "WorkerHealth",
          "WorkerStatus",
          "TelegramNotifyWorker"
        ],
        "updated_at": "2026-03-20",
        "doc_version": null,
        "document_id": "domain.runtime_health",
        "source_path": "docs/documentation/domain/runtime-health-entity.md",
        "summary_text": "`runtime health` — доменная модель наблюдаемости сервиса, которая описывает общее состояние runtime и состояние отдельных компонентов. Для `test_echo_app` главным объектом наблюдения является компонент `telegram_notify`, у которого важны статус, время старта и количество успешных отправок. Эта модель используется для внешнего health-monitoring и внутренней диагностики.",
        "artifact_type": null,
        "last_modified": null,
        "staleness_score": null,
        "system_component": null
      }
    }
  ],
  "facts": [],
  "relations": [
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/control-actions-endpoint.md",
      "title": "api.control_actions_endpoint:part_of",
      "content": "api.control_actions_endpoint part_of architecture.telegram_notify_app",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.links",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "a251c550a23249ef1a74389c93aaccd4c5ae88ef621efad2aa018fcd132cce7e",
        "source_id": "api.control_actions_endpoint",
        "target_id": "architecture.telegram_notify_app",
        "doc_version": null,
        "relation_id": "5f4909bde905cd3d294ad307074a05e4ae4deefcafe6272cd2d0436e73acb8dd",
        "source_path": "docs/documentation/api/control-actions-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "part_of",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/control-actions-endpoint.md",
      "title": "api.control_actions_endpoint:related_api",
      "content": "api.control_actions_endpoint related_api api.health_endpoint",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.links",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "a251c550a23249ef1a74389c93aaccd4c5ae88ef621efad2aa018fcd132cce7e",
        "source_id": "api.control_actions_endpoint",
        "target_id": "api.health_endpoint",
        "doc_version": null,
        "relation_id": "711fb2edb82dd222deaba3c91768b18cbbd453009235823282813c6e867dc2c1",
        "source_path": "docs/documentation/api/control-actions-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "related_api",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/control-actions-endpoint.md",
      "title": "api.control_actions_endpoint:related_logic",
      "content": "api.control_actions_endpoint related_logic logic.telegram_notification_loop",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.links",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "a251c550a23249ef1a74389c93aaccd4c5ae88ef621efad2aa018fcd132cce7e",
        "source_id": "api.control_actions_endpoint",
        "target_id": "logic.telegram_notification_loop",
        "doc_version": null,
        "relation_id": "eec79f7a02b804337e791ef231784862ae26e0599eb20224790e9d4f085fa9c0",
        "source_path": "docs/documentation/api/control-actions-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "related_logic",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/health-endpoint.md",
      "title": "api.health_endpoint:parent",
      "content": "api.health_endpoint parent architecture.telegram_notify_app",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.parent",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "8b5a533a8076e2e9d36995eee29aeade260080bdca2ec8e21fe28f08574b983f",
        "source_id": "api.health_endpoint",
        "target_id": "architecture.telegram_notify_app",
        "doc_version": null,
        "relation_id": "c718b1939621233295ccaf6e8203e7fd94f3dd1bfb88f10c51bc5e33d53a24aa",
        "source_path": "docs/documentation/api/health-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "parent",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/health-endpoint.md",
      "title": "api.health_endpoint:part_of",
      "content": "api.health_endpoint part_of architecture.telegram_notify_app",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.links",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "8b5a533a8076e2e9d36995eee29aeade260080bdca2ec8e21fe28f08574b983f",
        "source_id": "api.health_endpoint",
        "target_id": "architecture.telegram_notify_app",
        "doc_version": null,
        "relation_id": "616f5cbf25da83cb51d8d0741a7fc351620c9ca2c6513fa2094b4aa476f0912a",
        "source_path": "docs/documentation/api/health-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "part_of",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/health-endpoint.md",
      "title": "api.health_endpoint:depends_on",
      "content": "api.health_endpoint depends_on domain.runtime_health",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.links",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "8b5a533a8076e2e9d36995eee29aeade260080bdca2ec8e21fe28f08574b983f",
        "source_id": "api.health_endpoint",
        "target_id": "domain.runtime_health",
        "doc_version": null,
        "relation_id": "77f5d358ab85b3d92018b6b51da7c39773148dfd346686e8832a45370c841160",
        "source_path": "docs/documentation/api/health-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "depends_on",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/send-message-endpoint.md",
      "title": "api.send_message_endpoint:parent",
      "content": "api.send_message_endpoint parent architecture.telegram_notify_app",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.parent",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "5fbf2e33510b0676a3a53b957a4569bd3c2c31fb7719546602c573421ccaa32d",
        "source_id": "api.send_message_endpoint",
        "target_id": "architecture.telegram_notify_app",
        "doc_version": null,
        "relation_id": "33eb0aa97f06d0afcaa4c230b5f5b73fa2fbfa5861ea9367b6c92f8a6fe0c054",
        "source_path": "docs/documentation/api/send-message-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "parent",
        "staleness_score": null,
        "system_component": null
      }
    },
    {
      "layer": "D5_RELATION_GRAPH",
      "path": "docs/documentation/api/control-actions-endpoint.md",
      "title": "api.control_actions_endpoint:parent",
      "content": "api.control_actions_endpoint parent architecture.telegram_notify_app",
      "metadata": {
        "owner": null,
        "anchor": "frontmatter.parent",
        "doc_id": null,
        "repo_id": "test_echo_app",
        "section": null,
        "blob_sha": "a251c550a23249ef1a74389c93aaccd4c5ae88ef621efad2aa018fcd132cce7e",
        "source_id": "api.control_actions_endpoint",
        "target_id": "architecture.telegram_notify_app",
        "doc_version": null,
        "relation_id": "afec31fd062e392dcd9699a92c7ab61fd4b1273c1a2b16702b23d55d8d0c47ac",
        "source_path": "docs/documentation/api/control-actions-endpoint.md",
        "artifact_type": null,
        "last_modified": null,
        "relation_type": "parent",
        "staleness_score": null,
        "system_component": null
      }
    }
  ]
}
```

### User Prompt Overview
- question: Объясни цикл отправки уведомлений
- intent: DOCUMENTATION_EXPLAIN
- sub_intent: SYSTEM_FLOW_EXPLAIN
- documents: 6 | samples: Readme, HTTP API /actions/{action}, HTTP API /health
- facts: 0
- relations: 8 | samples: api.control_actions_endpoint:part_of, api.control_actions_endpoint:related_api, api.control_actions_endpoint:related_logic

## Mismatches
- none