{
"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\/src",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/ValueObject\/TaskStatus.php",
"limit": 30
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/ValueObject\/TaskStatus.php",
"content": "<?php\n\nnamespace Domain\\ValueObject;\n\nenum TaskStatus: string\n{\n case PENDING = 'pending';\n case IN_PROGRESS = 'in_progress';\n case COMPLETED = 'completed';\n case FAILED = 'failed';\n case CANCELLED = 'cancelled';\n\n \/**\n * Check if transition to target status is allowed.\n *\/\n public function canTransitionTo(self $target): bool\n {\n return in_array($target, $this->getAllowedTransitions(), true);\n }\n\n \/**\n * Get all allowed transitions from current status.\n *\n * @return array<self>\n *\/\n public function getAllowedTransitions(): array\n {\n return match ($this) {\n self::PENDING => [self::IN_PROGRESS, self::CANCELLED],\n self::IN_PROGRESS => [self::COMPLETED, self::FAILED, self::CANCELLED],",
"numLines": 30,
"startLine": 1,
"totalLines": 73
}
},
"tool_use_id": "toolu_01NGZz2QT8HRXpHGEPdDLLEP"
}
}