{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "echo '{\"tool_name\": \"Write\", \"tool_input\": {\"file_path\": \"\/test\/Controller\/TestController.php\", \"content\": \"<?php\\nclass TestController {\\n public function index() {\\n echo \\\"test\\\";\\n }\\n}\"}}' | \/var\/www\/tools\/ki-protokoll\/claude-hook\/hook_dispatcher.py pre",
"description": "Test pre-hook with violation"
}
}
{
"tool_response": {
"stdout": "{\"allowed\": false, \"message\": \"QUALITY VIOLATION [P1.1]: Missing @responsibility header. Add: \/\/ @responsibility: <single-responsibility>\"}",
"stderr": "",
"interrupted": false,
"isImage": false
}
}