{
"event": "PostToolUse",
"raw_data": {
"session_id": "f0f145c4-ac1d-417a-b15b-271983ae648b",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/f0f145c4-ac1d-417a-b15b-271983ae648b.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "plan",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/CollectionRepositoryInterface.php"
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/CollectionRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Vertrag für RAG-Collection-Persistenz\n\ninterface CollectionRepositoryInterface\n{\n \/**\n * @return array<string, mixed>|null\n *\/\n public function find(string $collectionId): ?array;\n\n \/**\n * @param array<string> $collectionIds\n * @return array<int, array<string, mixed>>\n *\/\n public function findByIds(array $collectionIds): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getSearchable(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getActive(): array;\n\n \/**\n * @return array<int, array<string, mixed>>\n *\/\n public function getAll(): array;\n\n public function exists(string $collectionId): bool;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function updateMetadata(string $collectionId, array $data): void;\n\n \/**\n * @param array<string, mixed> $data\n *\/\n public function create(array $data): int;\n\n public function deactivate(string $collectionId): void;\n\n \/**\n * @return array{has_references: bool, references: array<int, array{type: string, count: int}>}\n *\/\n public function checkReferences(string $collectionId): array;\n}\n",
"numLines": 56,
"startLine": 1,
"totalLines": 56
}
},
"tool_use_id": "toolu_01Xa3YpWTGB7eVdwpTx8BeEZ"
}
}