{
"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\/Exception\/InvalidStateTransitionException.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Exception\/InvalidStateTransitionException.php",
"content": "<?php\n\nnamespace Domain\\Exception;\n\nuse BackedEnum;\nuse DomainException;\n\n\/**\n * Exception thrown when an invalid state transition is attempted.\n *\/\nfinal class InvalidStateTransitionException extends DomainException\n{\n \/**\n * @param BackedEnum $from Current status\n * @param BackedEnum $to Target status\n * @param array<BackedEnum> $allowed Allowed transitions from current status\n *\/\n public function __construct(\n public readonly BackedEnum $from,\n public readonly BackedEnum $to,\n public readonly array $allowed\n ) {\n $allowedValues = array_map(\n static fn (BackedEnum $s): string => (string) $s->value,\n $allowed",
"numLines": 25,
"startLine": 1,
"totalLines": 51
}
},
"tool_use_id": "toolu_011civRgJ2ppciDTm3X52QFr"
}
}