# full_chain_docs_intents_v3.yaml

defaults:
  runner: runtime
  mode: pre_llm
  input:
    rag_session_id: "fb7e0690-e737-44ca-acc6-e38a0687a5ee"

cases:

# ============================================================
# SYSTEM FLOW (расширено)
# ============================================================

- id: v3-system-flow-telegram-loop-1
  query: "Объясни цикл отправки уведомлений"
  expected:
    router:
      intent: DOCUMENTATION_EXPLAIN
      sub_intent: SYSTEM_FLOW_EXPLAIN

- id: v3-system-flow-telegram-loop-2
  query: "Как работает процесс отправки уведомлений в Telegram?"
  expected:
    router:
      intent: DOCUMENTATION_EXPLAIN
      sub_intent: SYSTEM_FLOW_EXPLAIN

- id: v3-system-flow-telegram-loop-3
  query: "Опиши workflow Telegram уведомлений"
  expected:
    router:
      intent: DOCUMENTATION_EXPLAIN
      sub_intent: SYSTEM_FLOW_EXPLAIN

- id: v3-system-flow-health-1
  query: "Как работает health check runtime?"
  expected:
    router:
      sub_intent: SYSTEM_FLOW_EXPLAIN

- id: v3-system-flow-health-2
  query: "Как происходит проверка состояния runtime?"
  expected:
    router:
      sub_intent: SYSTEM_FLOW_EXPLAIN

# ============================================================
# COMPONENT (расширено)
# ============================================================

- id: v3-component-runtime-manager-1
  query: "Что делает RuntimeManager?"
  expected:
    router:
      sub_intent: COMPONENT_EXPLAIN

- id: v3-component-runtime-manager-2
  query: "Как устроен RuntimeManager?"
  expected:
    router:
      sub_intent: COMPONENT_EXPLAIN

- id: v3-component-runtime-manager-3
  query: "Опиши компонент RuntimeManager"
  expected:
    router:
      sub_intent: COMPONENT_EXPLAIN

- id: v3-component-control-channel-1
  query: "Как работает TelegramControlChannel?"
  expected:
    router:
      sub_intent: COMPONENT_EXPLAIN

- id: v3-component-control-channel-2
  query: "Роль TelegramControlChannel в системе"
  expected:
    router:
      sub_intent: COMPONENT_EXPLAIN

# ============================================================
# API (расширено)
# ============================================================

- id: v3-api-health-1
  query: "Что делает /health?"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

- id: v3-api-health-2
  query: "Как работает health endpoint?"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

- id: v3-api-health-3
  query: "Опиши endpoint health"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

- id: v3-api-send-1
  query: "Что делает /send?"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

- id: v3-api-send-2
  query: "Как работает send endpoint?"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

- id: v3-api-send-3
  query: "Опиши endpoint отправки сообщений"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN

# ============================================================
# ENTITY (расширено)
# ============================================================

- id: v3-entity-runtime-health-1
  query: "Что такое runtime health?"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

- id: v3-entity-runtime-health-2
  query: "Объясни runtime health"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

- id: v3-entity-worker-status-1
  query: "Что такое WorkerStatus?"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

- id: v3-entity-worker-status-2
  query: "Опиши статус воркера"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

# ============================================================
# RELATED DOCS (расширено)
# ============================================================

- id: v3-related-health-1
  query: "Что связано с /health?"
  expected:
    router:
      sub_intent: RELATED_DOCS_EXPLAIN

- id: v3-related-health-2
  query: "Какие документы относятся к health endpoint?"
  expected:
    router:
      sub_intent: RELATED_DOCS_EXPLAIN

- id: v3-related-send-1
  query: "Какие документы связаны с /send?"
  expected:
    router:
      sub_intent: RELATED_DOCS_EXPLAIN

- id: v3-related-architecture-1
  query: "Какие документы связаны с архитектурой?"
  expected:
    router:
      sub_intent: RELATED_DOCS_EXPLAIN

# ============================================================
# GENERAL (расширено)
# ============================================================

- id: v3-general-1
  query: "Что есть в документации?"
  expected:
    router:
      sub_intent: GENERIC_QA

- id: v3-general-2
  query: "Какая структура документации?"
  expected:
    router:
      sub_intent: GENERIC_QA

- id: v3-general-3
  query: "С чего начать читать документацию?"
  expected:
    router:
      sub_intent: GENERIC_QA

# ============================================================
# NEGATIVE (расширено)
# ============================================================

- id: v3-negative-1
  query: "Что такое PaymentTransaction?"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

- id: v3-negative-2
  query: "Объясни сущность UnknownEntity"
  expected:
    router:
      sub_intent: ENTITY_EXPLAIN

- id: v3-negative-3
  query: "Что делает endpoint /unknown?"
  expected:
    router:
      sub_intent: API_METHOD_EXPLAIN