{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/DokumentExplorerRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Interface für Dokument-Explorer-Operationen (Root-Dokumente mit Stats)\n\ninterface DokumentExplorerRepositoryInterface\n{\n \/**\n * Count root documents (depth=0).\n *\/\n public function countDokumente(): int;\n\n \/**\n * Get root documents with basic stats.\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteWithStats(): array;\n\n \/**\n * Get root documents with full stats (including token counts).\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteWithFullStats(): array;\n\n \/**\n * Get document by ID with parent info.\n *\n * @return array<string, mixed>|null\n *\/\n public function getDokument(int $id): ?array;\n\n \/**\n * Get root document by ID.\n *\n * @return array<string, mixed>|null\n *\/\n public function getDokumentRoot(int $id): ?array;\n\n \/**\n * Get documents for filter dropdown (id, title only).\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteForFilter(): array;\n}\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/DokumentExplorerRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Interface für Dokument-Explorer-Operationen (Root-Dokumente mit Stats)\n\ninterface DokumentExplorerRepositoryInterface\n{\n \/**\n * Count root documents (depth=0).\n *\/\n public function countDokumente(): int;\n\n \/**\n * Get root documents with basic stats.\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteWithStats(): array;\n\n \/**\n * Get root documents with full stats (including token counts).\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteWithFullStats(): array;\n\n \/**\n * Get document by ID with parent info.\n *\n * @return array<string, mixed>|null\n *\/\n public function getDokument(int $id): ?array;\n\n \/**\n * Get root document by ID.\n *\n * @return array<string, mixed>|null\n *\/\n public function getDokumentRoot(int $id): ?array;\n\n \/**\n * Get documents for filter dropdown (id, title only).\n *\n * @return array<array<string, mixed>>\n *\/\n public function getDokumenteForFilter(): array;\n}\n",
"structuredPatch": [],
"originalFile": null
}
}