Фикс состояния

This commit is contained in:
2026-03-12 16:55:23 +03:00
parent 417b8b6f72
commit 6ba0a18ac9
1445 changed files with 620025 additions and 885 deletions
@@ -0,0 +1,35 @@
# plba-rag-explain-control-plane
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: False
## Query
Объясни код control plane
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 0,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"control",
"plane"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- retrieval: expected non-empty rag, got 0 rows
@@ -0,0 +1,34 @@
# plba-rag-explain-create-runtime
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни функцию create_runtime
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"create_runtime"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-http-control-channel
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни класс HttpControlChannel
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"HttpControlChannel"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-runtime-manager
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни как работает класс RuntimeManager
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"RuntimeManager"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-runtime-module
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: False
## Query
Объясни модуль runtime
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 0,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"runtime"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- retrieval: expected non-empty rag, got 0 rows
@@ -0,0 +1,34 @@
# plba-rag-explain-trace-service
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Как работает TraceService?
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 21,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"TraceService"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,29 @@
# plba-rag-find-entrypoints
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Найди точки входа в коде
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_ENTRYPOINTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 9,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [],
"layers": [
"C3_ENTRYPOINTS",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,32 @@
# plba-rag-find-tests-http-control-channel
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Найди тесты для HttpControlChannel
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_TESTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 16,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"HttpControlChannel"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C2_DEPENDENCY_GRAPH",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,32 @@
# plba-rag-find-tests-runtime-manager
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Где тесты для RuntimeManager?
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_TESTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 16,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"RuntimeManager"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C2_DEPENDENCY_GRAPH",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,445 @@
{
"case_id": "plba-rag-open-http-control-channel-file",
"source_file": "/Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml",
"runner": "runtime",
"mode": "router_rag",
"actual": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
},
"passed": true,
"mismatches": [],
"details": {
"case_id": "plba-rag-open-http-control-channel-file",
"text": "Покажи файл src/app_runtime/control/http_channel.py",
"mode": "router_rag",
"run_started_at": "2026-03-12T08:48:39",
"rag_session_id": "1431c0c3-5e6a-41f2-9c58-3d06b9c39749",
"expected_intent": "CODE_QA",
"actual_intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": [],
"confidence": 0.0
},
"rag_count": 1,
"rag_rows": [
{
"path": "src/app_runtime/control/http_channel.py",
"content": "class HttpControlChannel(ControlChannel):\n def __init__(self, host: str, port: int, timeout: int) -> None:\n self._timeout = timeout\n self._runner = UvicornThreadRunner(host, port, timeout)\n self._factory = HttpControlAppFactory()\n self._actions: ControlActionSet | None = None\n\n async def start(self, actions: ControlActionSet) -> None:\n self._actions = actions\n app = self._factory.create(self._health_response, self._action_response)\n await self._runner.start(app)\n\n async def stop(self) -> None:\n await self._runner.stop()\n\n @property\n def port(self) -> int:\n return self._runner.port\n\n async def _health_response(self) -> dict[str, object]:\n if self._actions is None:\n return {\"status\": \"unhealthy\", \"detail\": \"control actions are not configured\"}\n return await asyncio.wait_for(self._actions.health(), timeout=float(self._timeout))\n\n async def _action_response(self, action: str, _client_source: str = \"unknown\") -> JSONResponse:\n if self._actions is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"{action} handler is not configured\"}, status_code=404)\n callbacks = {\n \"start\": self._actions.start,\n \"stop\": self._actions.stop,\n \"status\": self._actions.status,\n }\n callback = callbacks.get(action)\n if callback is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"unsupported action: {action}\"}, status_code=404)\n action_timeout = max(float(self._timeout), 10.0) if action in {\"start\", \"stop\"} else float(self._timeout)\n try:\n detail = await asyncio.wait_for(callback(), timeout=action_timeout)\n except asyncio.TimeoutError:\n return JSONResponse(\n content={\"status\": \"accepted\", \"detail\": f\"{action} operation is still in progress\"},\n status_code=202,\n )\n except Exception as exc:\n return JSONResponse(content={\"status\": \"error\", \"detail\": str(exc)}, status_code=500)\n return JSONResponse(content={\"status\": \"ok\", \"detail\": detail or f\"{action} action accepted\"}, status_code=200)",
"layer": "C0_SOURCE_CHUNKS",
"title": "src/app_runtime/control/http_channel.py:HttpControlChannel",
"span_start": 12,
"span_end": 57,
"lexical_rank": 0,
"prefer_bonus": 0,
"test_penalty": 0,
"structural_rank": 0,
"layer_rank": 0,
"distance": 0,
"metadata": {
"chunk_index": 0,
"chunk_type": "symbol_block",
"module_or_unit": "src.app_runtime.control.http_channel",
"is_test": false,
"blob_sha": "286e9615e209bc395ce9db0cd70f2236012e3e86b0257dc87e215e01f7f89ada",
"repo_id": "plba",
"artifact_type": null,
"section": null,
"doc_id": null,
"doc_version": null,
"owner": null,
"system_component": null,
"last_modified": null,
"staleness_score": null
}
}
],
"llm_answer": null,
"summary": {
"router": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"confidence": null
},
"retrieval": {
"profile": "code",
"layers_hit": [
"C0_SOURCE_CHUNKS"
],
"evidence_sufficient": true
},
"llm": {
"answer_status": "partial",
"groundedness": "not_applicable"
}
},
"diagnostics": {
"router_plan": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"retrieval_profile": "code",
"conversation_mode": "START",
"layers": [
"C0_SOURCE_CHUNKS"
],
"symbol_kind_hint": "unknown",
"symbol_candidates": [],
"keyword_hints": [],
"path_hints": [
"src/app_runtime/control/http_channel.py"
],
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"doc_scope_hints": [],
"retrieval_constraints": {
"include_globs": [
"src/app_runtime/control/http_channel.py"
],
"exclude_globs": [
"tests/**",
"**/test_*.py",
"**/*_test.py"
],
"prefer_globs": [],
"test_file_globs": [],
"test_symbol_patterns": [],
"max_candidates": 20,
"fuzzy_symbol_search": {
"enabled": false,
"max_distance": 2,
"top_k": 5
}
}
},
"execution": {
"executed_layers": [
"C0_SOURCE_CHUNKS"
],
"retrieval_mode_by_layer": {
"C0_SOURCE_CHUNKS": "exact_path_fetch"
},
"top_k_by_layer": {
"C0_SOURCE_CHUNKS": 200
},
"filters_by_layer": {
"C0_SOURCE_CHUNKS": {
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": []
}
},
"repo_scope": {
"repo_id": "plba",
"workspace_id": "None",
"returned_repo_ids": [
"plba"
],
"returned_workspace_ids": [
"None"
]
}
},
"retrieval": {
"requests": [
{
"layer": "C0_SOURCE_CHUNKS",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": [],
"top_k": 200,
"ranking_profile": "code"
}
],
"applied": [
{
"layer": "C0_SOURCE_CHUNKS",
"effective_path_scope": [
"src/app_runtime/control/http_channel.py"
],
"normalized_include_globs": [],
"normalized_exclude_globs": [],
"normalized_prefer_globs": [],
"filter_stage": "pre_rank",
"candidates_before_filter": 1,
"candidates_after_filter": 1
}
],
"fallback": {
"used": false,
"reason": null
},
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": []
},
"layers": [
{
"layer": "C0_SOURCE_CHUNKS",
"status": "hit",
"hit_count": 1,
"fail_reason": null
}
]
},
"constraint_violations": [],
"timings_ms": {
"router": 0,
"symbol_resolution": 0,
"retrieval_total": 9,
"retrieval_by_layer": {
"C0_SOURCE_CHUNKS": 9
},
"merge_rank": 0,
"prompt_build": 0,
"llm_call": 0
},
"prompt": null,
"router": {
"conversation_mode": "START",
"keyword_hints": [],
"path_scope": [
"src/app_runtime/control/http_channel.py"
]
},
"llm": {
"used_evidence_count": 1,
"missing_evidence_reason": null
}
},
"run_info": {
"case_id": "plba-rag-open-http-control-channel-file",
"mode": "router_rag",
"run_started_at": "2026-03-12T08:48:39",
"rag_session_id": "1431c0c3-5e6a-41f2-9c58-3d06b9c39749",
"expected_intent": "CODE_QA",
"actual_intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START"
},
"input_request": {
"text": "Покажи файл src/app_runtime/control/http_channel.py",
"normalized_query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"steps": [
{
"step": "intent_router",
"input": {
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"output": {
"intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"diagnostics": {
"router_plan": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"retrieval_profile": "code",
"conversation_mode": "START",
"layers": [
"C0_SOURCE_CHUNKS"
],
"symbol_kind_hint": "unknown",
"symbol_candidates": [],
"keyword_hints": [],
"path_hints": [
"src/app_runtime/control/http_channel.py"
],
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"doc_scope_hints": [],
"retrieval_constraints": {
"include_globs": [
"src/app_runtime/control/http_channel.py"
],
"exclude_globs": [
"tests/**",
"**/test_*.py",
"**/*_test.py"
],
"prefer_globs": [],
"test_file_globs": [],
"test_symbol_patterns": [],
"max_candidates": 20,
"fuzzy_symbol_search": {
"enabled": false,
"max_distance": 2,
"top_k": 5
}
}
},
"timings_ms": {
"router": 0
}
}
},
{
"step": "retrieval",
"input": {
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"output": {
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": [],
"confidence": 0.0
},
"rag_count": 1,
"rag_rows": [
{
"path": "src/app_runtime/control/http_channel.py",
"content": "class HttpControlChannel(ControlChannel):\n def __init__(self, host: str, port: int, timeout: int) -> None:\n self._timeout = timeout\n self._runner = UvicornThreadRunner(host, port, timeout)\n self._factory = HttpControlAppFactory()\n self._actions: ControlActionSet | None = None\n\n async def start(self, actions: ControlActionSet) -> None:\n self._actions = actions\n app = self._factory.create(self._health_response, self._action_response)\n await self._runner.start(app)\n\n async def stop(self) -> None:\n await self._runner.stop()\n\n @property\n def port(self) -> int:\n return self._runner.port\n\n async def _health_response(self) -> dict[str, object]:\n if self._actions is None:\n return {\"status\": \"unhealthy\", \"detail\": \"control actions are not configured\"}\n return await asyncio.wait_for(self._actions.health(), timeout=float(self._timeout))\n\n async def _action_response(self, action: str, _client_source: str = \"unknown\") -> JSONResponse:\n if self._actions is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"{action} handler is not configured\"}, status_code=404)\n callbacks = {\n \"start\": self._actions.start,\n \"stop\": self._actions.stop,\n \"status\": self._actions.status,\n }\n callback = callbacks.get(action)\n if callback is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"unsupported action: {action}\"}, status_code=404)\n action_timeout = max(float(self._timeout), 10.0) if action in {\"start\", \"stop\"} else float(self._timeout)\n try:\n detail = await asyncio.wait_for(callback(), timeout=action_timeout)\n except asyncio.TimeoutError:\n return JSONResponse(\n content={\"status\": \"accepted\", \"detail\": f\"{action} operation is still in progress\"},\n status_code=202,\n )\n except Exception as exc:\n return JSONResponse(content={\"status\": \"error\", \"detail\": str(exc)}, status_code=500)\n return JSONResponse(content={\"status\": \"ok\", \"detail\": detail or f\"{action} action accepted\"}, status_code=200)",
"layer": "C0_SOURCE_CHUNKS",
"title": "src/app_runtime/control/http_channel.py:HttpControlChannel",
"span_start": 12,
"span_end": 57,
"lexical_rank": 0,
"prefer_bonus": 0,
"test_penalty": 0,
"structural_rank": 0,
"layer_rank": 0,
"distance": 0,
"metadata": {
"chunk_index": 0,
"chunk_type": "symbol_block",
"module_or_unit": "src.app_runtime.control.http_channel",
"is_test": false,
"blob_sha": "286e9615e209bc395ce9db0cd70f2236012e3e86b0257dc87e215e01f7f89ada",
"repo_id": "plba",
"artifact_type": null,
"section": null,
"doc_id": null,
"doc_version": null,
"owner": null,
"system_component": null,
"last_modified": null,
"staleness_score": null
}
}
]
},
"diagnostics": {
"execution": {
"executed_layers": [
"C0_SOURCE_CHUNKS"
],
"retrieval_mode_by_layer": {
"C0_SOURCE_CHUNKS": "exact_path_fetch"
},
"top_k_by_layer": {
"C0_SOURCE_CHUNKS": 200
},
"filters_by_layer": {
"C0_SOURCE_CHUNKS": {
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": []
}
},
"repo_scope": {
"repo_id": "plba",
"workspace_id": "None",
"returned_repo_ids": [
"plba"
],
"returned_workspace_ids": [
"None"
]
}
},
"retrieval": {
"requests": [
{
"layer": "C0_SOURCE_CHUNKS",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": [],
"top_k": 200,
"ranking_profile": "code"
}
],
"applied": [
{
"layer": "C0_SOURCE_CHUNKS",
"effective_path_scope": [
"src/app_runtime/control/http_channel.py"
],
"normalized_include_globs": [],
"normalized_exclude_globs": [],
"normalized_prefer_globs": [],
"filter_stage": "pre_rank",
"candidates_before_filter": 1,
"candidates_after_filter": 1
}
],
"fallback": {
"used": false,
"reason": null
},
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": []
},
"layers": [
{
"layer": "C0_SOURCE_CHUNKS",
"status": "hit",
"hit_count": 1,
"fail_reason": null
}
]
},
"constraint_violations": [],
"timings_ms": {
"symbol_resolution": 0,
"retrieval_total": 9,
"retrieval_by_layer": {
"C0_SOURCE_CHUNKS": 9
},
"merge_rank": 0
}
}
}
]
}
}
@@ -0,0 +1,30 @@
# plba-rag-open-http-control-channel-file
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Покажи файл src/app_runtime/control/http_channel.py
## Actual
{
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,30 @@
# plba-rag-open-runtime-manager-file
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Открой файл src/app_runtime/core/runtime.py
## Actual
{
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/core/runtime.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,21 @@
# pipeline_setup_v2 summary
Passed: 9/11
| File | Case | Runner | Mode | Intent | Sub-intent | Pass |
|------|------|--------|------|--------|------------|------|
| router_rag_plba_code_retrieval.yaml | plba-rag-open-runtime-manager-file | runtime | router_rag | CODE_QA | OPEN_FILE | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-open-http-control-channel-file | runtime | router_rag | CODE_QA | OPEN_FILE | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-runtime-manager | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-http-control-channel | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-trace-service | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-tests-runtime-manager | runtime | router_rag | CODE_QA | FIND_TESTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-tests-http-control-channel | runtime | router_rag | CODE_QA | FIND_TESTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-entrypoints | runtime | router_rag | CODE_QA | FIND_ENTRYPOINTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-create-runtime | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-runtime-module | runtime | router_rag | CODE_QA | EXPLAIN | ✗ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-control-plane | runtime | router_rag | CODE_QA | EXPLAIN | ✗ |
## Failures
- **plba-rag-explain-runtime-module**: retrieval: expected non-empty rag, got 0 rows
- **plba-rag-explain-control-plane**: retrieval: expected non-empty rag, got 0 rows
@@ -0,0 +1,38 @@
# plba-rag-explain-control-plane-service
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни класс ControlPlaneService
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"ControlPlaneService"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-create-runtime
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни функцию create_runtime
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"create_runtime"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-http-control-channel
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни класс HttpControlChannel
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"HttpControlChannel"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-runtime-manager
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни как работает класс RuntimeManager
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 19,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"RuntimeManager"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-trace-service
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Как работает TraceService?
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 21,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"TraceService"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,34 @@
# plba-rag-explain-workflow-engine
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Объясни класс WorkflowEngine
## Actual
{
"intent": "CODE_QA",
"sub_intent": "EXPLAIN",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 20,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"WorkflowEngine"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C0_SOURCE_CHUNKS",
"C4_SEMANTIC_ROLES",
"C2_DEPENDENCY_GRAPH",
"C3_ENTRYPOINTS"
]
}
## Mismatches
- none
@@ -0,0 +1,29 @@
# plba-rag-find-entrypoints
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Найди точки входа в коде
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_ENTRYPOINTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 9,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [],
"layers": [
"C3_ENTRYPOINTS",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,32 @@
# plba-rag-find-tests-http-control-channel
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Найди тесты для HttpControlChannel
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_TESTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 16,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"HttpControlChannel"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C2_DEPENDENCY_GRAPH",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,32 @@
# plba-rag-find-tests-runtime-manager
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Где тесты для RuntimeManager?
## Actual
{
"intent": "CODE_QA",
"sub_intent": "FIND_TESTS",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 16,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [],
"symbol_candidates": [
"RuntimeManager"
],
"layers": [
"C1_SYMBOL_CATALOG",
"C2_DEPENDENCY_GRAPH",
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,445 @@
{
"case_id": "plba-rag-open-http-control-channel-file",
"source_file": "/Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml",
"runner": "runtime",
"mode": "router_rag",
"actual": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
},
"passed": true,
"mismatches": [],
"details": {
"case_id": "plba-rag-open-http-control-channel-file",
"text": "Покажи файл src/app_runtime/control/http_channel.py",
"mode": "router_rag",
"run_started_at": "2026-03-12T08:53:12",
"rag_session_id": "1431c0c3-5e6a-41f2-9c58-3d06b9c39749",
"expected_intent": "CODE_QA",
"actual_intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": [],
"confidence": 0.0
},
"rag_count": 1,
"rag_rows": [
{
"path": "src/app_runtime/control/http_channel.py",
"content": "class HttpControlChannel(ControlChannel):\n def __init__(self, host: str, port: int, timeout: int) -> None:\n self._timeout = timeout\n self._runner = UvicornThreadRunner(host, port, timeout)\n self._factory = HttpControlAppFactory()\n self._actions: ControlActionSet | None = None\n\n async def start(self, actions: ControlActionSet) -> None:\n self._actions = actions\n app = self._factory.create(self._health_response, self._action_response)\n await self._runner.start(app)\n\n async def stop(self) -> None:\n await self._runner.stop()\n\n @property\n def port(self) -> int:\n return self._runner.port\n\n async def _health_response(self) -> dict[str, object]:\n if self._actions is None:\n return {\"status\": \"unhealthy\", \"detail\": \"control actions are not configured\"}\n return await asyncio.wait_for(self._actions.health(), timeout=float(self._timeout))\n\n async def _action_response(self, action: str, _client_source: str = \"unknown\") -> JSONResponse:\n if self._actions is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"{action} handler is not configured\"}, status_code=404)\n callbacks = {\n \"start\": self._actions.start,\n \"stop\": self._actions.stop,\n \"status\": self._actions.status,\n }\n callback = callbacks.get(action)\n if callback is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"unsupported action: {action}\"}, status_code=404)\n action_timeout = max(float(self._timeout), 10.0) if action in {\"start\", \"stop\"} else float(self._timeout)\n try:\n detail = await asyncio.wait_for(callback(), timeout=action_timeout)\n except asyncio.TimeoutError:\n return JSONResponse(\n content={\"status\": \"accepted\", \"detail\": f\"{action} operation is still in progress\"},\n status_code=202,\n )\n except Exception as exc:\n return JSONResponse(content={\"status\": \"error\", \"detail\": str(exc)}, status_code=500)\n return JSONResponse(content={\"status\": \"ok\", \"detail\": detail or f\"{action} action accepted\"}, status_code=200)",
"layer": "C0_SOURCE_CHUNKS",
"title": "src/app_runtime/control/http_channel.py:HttpControlChannel",
"span_start": 12,
"span_end": 57,
"lexical_rank": 0,
"prefer_bonus": 0,
"test_penalty": 0,
"structural_rank": 0,
"layer_rank": 0,
"distance": 0,
"metadata": {
"chunk_index": 0,
"chunk_type": "symbol_block",
"module_or_unit": "src.app_runtime.control.http_channel",
"is_test": false,
"blob_sha": "286e9615e209bc395ce9db0cd70f2236012e3e86b0257dc87e215e01f7f89ada",
"repo_id": "plba",
"artifact_type": null,
"section": null,
"doc_id": null,
"doc_version": null,
"owner": null,
"system_component": null,
"last_modified": null,
"staleness_score": null
}
}
],
"llm_answer": null,
"summary": {
"router": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"confidence": null
},
"retrieval": {
"profile": "code",
"layers_hit": [
"C0_SOURCE_CHUNKS"
],
"evidence_sufficient": true
},
"llm": {
"answer_status": "partial",
"groundedness": "not_applicable"
}
},
"diagnostics": {
"router_plan": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"retrieval_profile": "code",
"conversation_mode": "START",
"layers": [
"C0_SOURCE_CHUNKS"
],
"symbol_kind_hint": "unknown",
"symbol_candidates": [],
"keyword_hints": [],
"path_hints": [
"src/app_runtime/control/http_channel.py"
],
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"doc_scope_hints": [],
"retrieval_constraints": {
"include_globs": [
"src/app_runtime/control/http_channel.py"
],
"exclude_globs": [
"tests/**",
"**/test_*.py",
"**/*_test.py"
],
"prefer_globs": [],
"test_file_globs": [],
"test_symbol_patterns": [],
"max_candidates": 20,
"fuzzy_symbol_search": {
"enabled": false,
"max_distance": 2,
"top_k": 5
}
}
},
"execution": {
"executed_layers": [
"C0_SOURCE_CHUNKS"
],
"retrieval_mode_by_layer": {
"C0_SOURCE_CHUNKS": "exact_path_fetch"
},
"top_k_by_layer": {
"C0_SOURCE_CHUNKS": 200
},
"filters_by_layer": {
"C0_SOURCE_CHUNKS": {
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": []
}
},
"repo_scope": {
"repo_id": "plba",
"workspace_id": "None",
"returned_repo_ids": [
"plba"
],
"returned_workspace_ids": [
"None"
]
}
},
"retrieval": {
"requests": [
{
"layer": "C0_SOURCE_CHUNKS",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": [],
"top_k": 200,
"ranking_profile": "code"
}
],
"applied": [
{
"layer": "C0_SOURCE_CHUNKS",
"effective_path_scope": [
"src/app_runtime/control/http_channel.py"
],
"normalized_include_globs": [],
"normalized_exclude_globs": [],
"normalized_prefer_globs": [],
"filter_stage": "pre_rank",
"candidates_before_filter": 1,
"candidates_after_filter": 1
}
],
"fallback": {
"used": false,
"reason": null
},
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": []
},
"layers": [
{
"layer": "C0_SOURCE_CHUNKS",
"status": "hit",
"hit_count": 1,
"fail_reason": null
}
]
},
"constraint_violations": [],
"timings_ms": {
"router": 0,
"symbol_resolution": 0,
"retrieval_total": 11,
"retrieval_by_layer": {
"C0_SOURCE_CHUNKS": 11
},
"merge_rank": 0,
"prompt_build": 0,
"llm_call": 0
},
"prompt": null,
"router": {
"conversation_mode": "START",
"keyword_hints": [],
"path_scope": [
"src/app_runtime/control/http_channel.py"
]
},
"llm": {
"used_evidence_count": 1,
"missing_evidence_reason": null
}
},
"run_info": {
"case_id": "plba-rag-open-http-control-channel-file",
"mode": "router_rag",
"run_started_at": "2026-03-12T08:53:12",
"rag_session_id": "1431c0c3-5e6a-41f2-9c58-3d06b9c39749",
"expected_intent": "CODE_QA",
"actual_intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START"
},
"input_request": {
"text": "Покажи файл src/app_runtime/control/http_channel.py",
"normalized_query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"steps": [
{
"step": "intent_router",
"input": {
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"output": {
"intent": "CODE_QA",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"diagnostics": {
"router_plan": {
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"retrieval_profile": "code",
"conversation_mode": "START",
"layers": [
"C0_SOURCE_CHUNKS"
],
"symbol_kind_hint": "unknown",
"symbol_candidates": [],
"keyword_hints": [],
"path_hints": [
"src/app_runtime/control/http_channel.py"
],
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"doc_scope_hints": [],
"retrieval_constraints": {
"include_globs": [
"src/app_runtime/control/http_channel.py"
],
"exclude_globs": [
"tests/**",
"**/test_*.py",
"**/*_test.py"
],
"prefer_globs": [],
"test_file_globs": [],
"test_symbol_patterns": [],
"max_candidates": 20,
"fuzzy_symbol_search": {
"enabled": false,
"max_distance": 2,
"top_k": 5
}
}
},
"timings_ms": {
"router": 0
}
}
},
{
"step": "retrieval",
"input": {
"query": "Покажи файл src/app_runtime/control/http_channel.py"
},
"output": {
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": [],
"confidence": 0.0
},
"rag_count": 1,
"rag_rows": [
{
"path": "src/app_runtime/control/http_channel.py",
"content": "class HttpControlChannel(ControlChannel):\n def __init__(self, host: str, port: int, timeout: int) -> None:\n self._timeout = timeout\n self._runner = UvicornThreadRunner(host, port, timeout)\n self._factory = HttpControlAppFactory()\n self._actions: ControlActionSet | None = None\n\n async def start(self, actions: ControlActionSet) -> None:\n self._actions = actions\n app = self._factory.create(self._health_response, self._action_response)\n await self._runner.start(app)\n\n async def stop(self) -> None:\n await self._runner.stop()\n\n @property\n def port(self) -> int:\n return self._runner.port\n\n async def _health_response(self) -> dict[str, object]:\n if self._actions is None:\n return {\"status\": \"unhealthy\", \"detail\": \"control actions are not configured\"}\n return await asyncio.wait_for(self._actions.health(), timeout=float(self._timeout))\n\n async def _action_response(self, action: str, _client_source: str = \"unknown\") -> JSONResponse:\n if self._actions is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"{action} handler is not configured\"}, status_code=404)\n callbacks = {\n \"start\": self._actions.start,\n \"stop\": self._actions.stop,\n \"status\": self._actions.status,\n }\n callback = callbacks.get(action)\n if callback is None:\n return JSONResponse(content={\"status\": \"error\", \"detail\": f\"unsupported action: {action}\"}, status_code=404)\n action_timeout = max(float(self._timeout), 10.0) if action in {\"start\", \"stop\"} else float(self._timeout)\n try:\n detail = await asyncio.wait_for(callback(), timeout=action_timeout)\n except asyncio.TimeoutError:\n return JSONResponse(\n content={\"status\": \"accepted\", \"detail\": f\"{action} operation is still in progress\"},\n status_code=202,\n )\n except Exception as exc:\n return JSONResponse(content={\"status\": \"error\", \"detail\": str(exc)}, status_code=500)\n return JSONResponse(content={\"status\": \"ok\", \"detail\": detail or f\"{action} action accepted\"}, status_code=200)",
"layer": "C0_SOURCE_CHUNKS",
"title": "src/app_runtime/control/http_channel.py:HttpControlChannel",
"span_start": 12,
"span_end": 57,
"lexical_rank": 0,
"prefer_bonus": 0,
"test_penalty": 0,
"structural_rank": 0,
"layer_rank": 0,
"distance": 0,
"metadata": {
"chunk_index": 0,
"chunk_type": "symbol_block",
"module_or_unit": "src.app_runtime.control.http_channel",
"is_test": false,
"blob_sha": "286e9615e209bc395ce9db0cd70f2236012e3e86b0257dc87e215e01f7f89ada",
"repo_id": "plba",
"artifact_type": null,
"section": null,
"doc_id": null,
"doc_version": null,
"owner": null,
"system_component": null,
"last_modified": null,
"staleness_score": null
}
}
]
},
"diagnostics": {
"execution": {
"executed_layers": [
"C0_SOURCE_CHUNKS"
],
"retrieval_mode_by_layer": {
"C0_SOURCE_CHUNKS": "exact_path_fetch"
},
"top_k_by_layer": {
"C0_SOURCE_CHUNKS": 200
},
"filters_by_layer": {
"C0_SOURCE_CHUNKS": {
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": []
}
},
"repo_scope": {
"repo_id": "plba",
"workspace_id": "None",
"returned_repo_ids": [
"plba"
],
"returned_workspace_ids": [
"None"
]
}
},
"retrieval": {
"requests": [
{
"layer": "C0_SOURCE_CHUNKS",
"query": "Покажи файл src/app_runtime/control/http_channel.py",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"include_globs": [],
"exclude_globs": [],
"prefer_globs": [],
"top_k": 200,
"ranking_profile": "code"
}
],
"applied": [
{
"layer": "C0_SOURCE_CHUNKS",
"effective_path_scope": [
"src/app_runtime/control/http_channel.py"
],
"normalized_include_globs": [],
"normalized_exclude_globs": [],
"normalized_prefer_globs": [],
"filter_stage": "pre_rank",
"candidates_before_filter": 1,
"candidates_after_filter": 1
}
],
"fallback": {
"used": false,
"reason": null
},
"symbol_resolution": {
"status": "not_requested",
"resolved_symbol": null,
"alternatives": []
},
"layers": [
{
"layer": "C0_SOURCE_CHUNKS",
"status": "hit",
"hit_count": 1,
"fail_reason": null
}
]
},
"constraint_violations": [],
"timings_ms": {
"symbol_resolution": 0,
"retrieval_total": 11,
"retrieval_by_layer": {
"C0_SOURCE_CHUNKS": 11
},
"merge_rank": 0
}
}
}
]
}
}
@@ -0,0 +1,30 @@
# plba-rag-open-http-control-channel-file
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Покажи файл src/app_runtime/control/http_channel.py
## Actual
{
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/control/http_channel.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,30 @@
# plba-rag-open-runtime-manager-file
- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/router_rag_plba_code_retrieval.yaml
- runner: runtime
- mode: router_rag
- passed: True
## Query
Открой файл src/app_runtime/core/runtime.py
## Actual
{
"intent": "CODE_QA",
"sub_intent": "OPEN_FILE",
"graph_id": "CodeQAGraph",
"conversation_mode": "START",
"rag_count": 1,
"llm_answer": "",
"answer_mode": "partial",
"path_scope": [
"src/app_runtime/core/runtime.py"
],
"symbol_candidates": [],
"layers": [
"C0_SOURCE_CHUNKS"
]
}
## Mismatches
- none
@@ -0,0 +1,17 @@
# pipeline_setup_v2 summary
Passed: 11/11
| File | Case | Runner | Mode | Intent | Sub-intent | Pass |
|------|------|--------|------|--------|------------|------|
| router_rag_plba_code_retrieval.yaml | plba-rag-open-runtime-manager-file | runtime | router_rag | CODE_QA | OPEN_FILE | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-open-http-control-channel-file | runtime | router_rag | CODE_QA | OPEN_FILE | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-runtime-manager | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-http-control-channel | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-trace-service | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-tests-runtime-manager | runtime | router_rag | CODE_QA | FIND_TESTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-tests-http-control-channel | runtime | router_rag | CODE_QA | FIND_TESTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-find-entrypoints | runtime | router_rag | CODE_QA | FIND_ENTRYPOINTS | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-create-runtime | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-control-plane-service | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |
| router_rag_plba_code_retrieval.yaml | plba-rag-explain-workflow-engine | runtime | router_rag | CODE_QA | EXPLAIN | ✓ |