{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/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"
}
}
{
"tool_response": {
"type": "create",
"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",
"structuredPatch": [],
"originalFile": null
}
}