{
"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": 30
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Config\/ManageConfigUseCase.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace UseCases\\Config;\n\n\/\/ @responsibility: Verwaltet Content-Konfigurationen (Profile, Strukturen, Contracts)\n\nuse Infrastructure\\Persistence\\ContentConfigRepository;\n\nfinal class ManageConfigUseCase\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(\n private ContentConfigRepository $configRepo\n ) {\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),\n $this->configRepo->findAll($validType, $validStatus)\n );\n }",
"numLines": 30,
"startLine": 1,
"totalLines": 178
}
},
"tool_use_id": "toolu_01KMCHcpDvEVNvDzvgqi2UJb"
}
}