{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "php -r \"\n\\$_SERVER['REQUEST_URI'] = '\/chat';\n\\$_SERVER['REQUEST_METHOD'] = 'GET';\nob_start();\nrequire '\/var\/www\/dev.campus.systemische-tools.de\/public\/index.php';\n\\$output = ob_get_clean();\nif (strpos(\\$output, 'Fatal') !== false || strpos(\\$output, 'RuntimeException') !== false) {\n echo 'ERROR: ' . substr(\\$output, 0, 500);\n} else {\n echo 'OK: Page rendered (' . strlen(\\$output) . ' bytes)';\n}\n\" 2>&1",
"description": "Test chat page rendering"
}
}