{
"event": "PostToolUse",
"raw_data": {
"session_id": "ff098a73-f251-4037-92a8-8d3fbd176fd4",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/ff098a73-f251-4037-92a8-8d3fbd176fd4.jsonl",
"cwd": "\/var\/www\/prod.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\/Domain\/Repository\/DocumentRepositoryInterface.php"
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/DocumentRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Interface für Document-Persistenz (Dokumente im Semantic Explorer)\n\ninterface DocumentRepositoryInterface\n{\n \/**\n * Holt Dokument-Statistiken.\n *\n * @return array{total: int, processed: int, errors: int}\n *\/\n public function getStats(): array;\n\n \/**\n * Holt alle Dokumente mit Chunk-Count.\n *\n * @return array<int, array{id: int, filename: string, folder_path: ?string, mime_type: ?string, file_size: int, status: string, imported_at: ?string, processed_at: ?string, chunk_count: int}>\n *\/\n public function findAll(): array;\n\n \/**\n * Holt gefilterte Dokumente.\n *\n * @return array<int, array>\n *\/\n public function findFiltered(string $status = '', string $search = ''): array;\n\n \/**\n * Findet ein Dokument nach ID.\n *\n * @return array|null\n *\/\n public function find(int $id): ?array;\n}\n",
"numLines": 39,
"startLine": 1,
"totalLines": 39
}
},
"tool_use_id": "toolu_01DwKtoJwaFpAdUuN5xUXsC5"
}
}