defaults:
  runner: runtime
  mode: router_only
  input:
    repo_path: "/Users/alex/Dev_projects_v2/apps/plba"
    rag_session_id: "7d11da21-faa0-4cea-aede-aeabe069164c"
    project_id: plba

cases:
  - id: plba-open-runtime-manager-file
    query: "Открой файл src/app_runtime/core/runtime.py"
    expected:
      router:
        intent: CODE_QA
        sub_intent: OPEN_FILE
        graph_id: CodeQAGraph
        conversation_mode: START

  - id: plba-open-http-control-channel-file
    query: "Покажи файл src/app_runtime/control/http_channel.py"
    expected:
      router:
        intent: CODE_QA
        sub_intent: OPEN_FILE
        graph_id: CodeQAGraph
        conversation_mode: START

  - id: plba-explain-runtime-manager
    query: "Объясни как работает класс RuntimeManager"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["RuntimeManager"]

  - id: plba-explain-http-control-channel
    query: "Объясни класс HttpControlChannel"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["HttpControlChannel"]

  - id: plba-explain-trace-service
    query: "Как работает TraceService?"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["TraceService"]

  - id: plba-find-tests-runtime-manager
    query: "Где тесты для RuntimeManager?"
    expected:
      router:
        intent: CODE_QA
        sub_intent: FIND_TESTS
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["RuntimeManager"]

  - id: plba-find-tests-http-control-channel
    query: "Найди тесты для HttpControlChannel"
    expected:
      router:
        intent: CODE_QA
        sub_intent: FIND_TESTS
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["HttpControlChannel"]

  - id: plba-find-entrypoints-create-runtime
    query: "Найди точки входа в коде"
    expected:
      router:
        intent: CODE_QA
        sub_intent: FIND_ENTRYPOINTS
        graph_id: CodeQAGraph
        conversation_mode: START

  - id: plba-find-entrypoints-bootstrap
    query: "Объясни функцию create_runtime"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["create_runtime"]

  - id: plba-general-qa-runtime
    query: "Объясни модуль runtime"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["runtime"]

  - id: plba-general-qa-control-plane
    query: "Объясни код control plane"
    expected:
      router:
        intent: CODE_QA
        sub_intent: EXPLAIN
        graph_id: CodeQAGraph
        conversation_mode: START
      retrieval:
        symbol_candidates_contain: ["control", "plane"]
