{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Docs\/Doc2VectorPipeline.php",
"offset": 1,
"limit": 35
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Docs\/Doc2VectorPipeline.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Infrastructure\\Docs;\n\n\/\/ @responsibility: Orchestriert Doc2Vector-Pipeline (Chunking → Analyse → Sync)\n\nfinal class Doc2VectorPipeline\n{\n public function __construct(\n private ChunkingService $chunking,\n private ChunkAnalysisService $analysis,\n private ChunkSyncService $sync,\n private HybridSearchService $search\n ) {\n }\n\n \/**\n * Runs the full pipeline.\n *\n * @return array{\n * chunking: array{documents: int, chunks: int, tokens: int, errors: array<string>},\n * analysis: array{analyzed: int, failed: int, errors: array<string>},\n * sync: array{synced: int, failed: int, errors: array<string>},\n * duration_seconds: float\n * }\n *\/\n public function runFull(): array\n {\n $start = microtime(true);\n\n echo '=== Doc2Vector Pipeline ===' . PHP_EOL . PHP_EOL;\n\n \/\/ Stage 1: Chunking",
"numLines": 35,
"startLine": 1,
"totalLines": 153
}
}
}