{
"event": "PostToolUse",
"raw_data": {
"session_id": "18ef5bf3-e872-4052-897e-53d6dc45b0b9",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/18ef5bf3-e872-4052-897e-53d6dc45b0b9.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Content\/GenerateContentUseCase.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Content\/GenerateContentUseCase.php",
"content": "<?php\n\nnamespace UseCases\\Content;\n\n\/**\n * GenerateContentUseCase - Orchestrates content generation\n *\n * Wraps the Python pipeline for content generation, critique, and revision.\n *\/\nclass GenerateContentUseCase\n{\n private string $pipelinePath;\n private string $pythonPath;\n\n \/** @var array<string> Allowed Python commands *\/\n private const ALLOWED_COMMANDS = ['generate', 'critique', 'revise'];\n\n public function __construct(\n ?string $pipelinePath = null,\n ?string $pythonPath = null\n ) {\n $this->pipelinePath = $pipelinePath ?? '\/opt\/scripts\/pipeline';\n $this->pythonPath = $pythonPath ?? $this->pipelinePath . '\/venv\/bin\/python';\n }\n",
"numLines": 25,
"startLine": 1,
"totalLines": 117
}
},
"tool_use_id": "toolu_01UhMWtT7qXwvpL2q68E1jka"
}
}