{
"event": "PreToolUse",
"tool_name": "Task",
"tool_input": {
"description": "Refactor pipeline.py modular",
"prompt": "Lese \/var\/www\/CLAUDE.md für Projektkontext.\n\n**Task #359: pipeline.py - Pipeline-Schritte modularisieren**\n\n1. Analysiere `\/var\/www\/scripts\/pipeline\/pipeline.py` (452 LOC)\n2. Erstelle separate Step-Module:\n - `step_extract.py` - Extraktion\n - `step_transform.py` - Transformation\n - `step_load.py` - Laden\n - `step_embed.py` - Embedding\n3. Halte Pipeline-Orchestrator schlank\n4. Führe `\/var\/www\/scripts\/python-check.sh` aus\n\nMax 150 LOC pro Step-Modul. Klare Step-Interface-Definition.",
"subagent_type": "general-purpose",
"run_in_background": true
}
}