{
"event": "PreToolUse",
"tool_name": "Task",
"tool_input": {
"description": "Refactor test_all_functions.py split",
"prompt": "Lese \/var\/www\/CLAUDE.md für Projektkontext.\n\n**Task #356: test_all_functions.py - Test-Suite aufteilen**\n\n1. Analysiere die Test-Datei und identifiziere Test-Kategorien\n2. Erstelle separate Test-Module:\n - `test_db_operations.py`\n - `test_contract_validation.py`\n - `test_task_management.py`\n - etc.\n3. Erstelle `conftest.py` für gemeinsame Fixtures\n4. Führe `\/var\/www\/scripts\/python-check.sh` aus\n\nMax 200 LOC pro Test-Modul. Finde zuerst die Datei mit glob\/grep, dann refactore.",
"subagent_type": "general-purpose",
"run_in_background": true
}
}