{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "for endpoint in \/chat \/content \/content\/1 \/content-pipeline \/tasks \/tasks\/1 \/contracts \/docs \/docs\/code \/protokoll \/config \/prompts \/critics \/backup-restore \/system-explorer \/semantic-explorer; do\n result=$(REQUEST_URI=\"$endpoint\" REQUEST_METHOD=\"GET\" php public\/index.php 2>&1 | head -1)\n if echo \"$result\" | grep -q \"Fatal\\|Error\\|Exception\"; then\n echo \"❌ $endpoint: $result\"\n else\n echo \"✅ $endpoint\"\n fi\ndone",
"description": "Test all main endpoints"
}
}