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