{
"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\/Config\/ManageConfigUseCase.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Config\/ManageConfigUseCase.php",
"content": "<?php\n\nnamespace UseCases\\Config;\n\nuse Infrastructure\\Persistence\\ContentConfigRepository;\n\nfinal class ManageConfigUseCase\n{\n private ContentConfigRepository $configRepo;\n\n private const VALID_TYPES = ['author_profile', 'structure', 'organization', 'contract', 'rule', 'system_prompt'];\n private const VALID_STATUSES = ['draft', 'active', 'deprecated'];\n\n public function __construct(?ContentConfigRepository $configRepo = null)\n {\n $this->configRepo = $configRepo ?? new ContentConfigRepository();\n }\n\n public function getAll(?string $type = null, ?string $status = null): array\n {\n $validType = in_array($type, self::VALID_TYPES, true) ? $type : null;\n $validStatus = in_array($status, self::VALID_STATUSES, true) ? $status : null;\n\n return array_map(\n fn (array $row) => ConfigDTO::fromArray($row),",
"numLines": 25,
"startLine": 1,
"totalLines": 176
}
},
"tool_use_id": "toolu_01AQ3Mj6LSG9BpEBMm4afzoj"
}
}