{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "echo \"=== DIP-Violations in Controllers ===\" && grep -rn \"use Infrastructure\\\\\\\\Persistence\" src\/Controller\/*.php 2>\/dev\/null | head -20",
"description": "Check DIP violations in controllers"
}
}
{
"tool_response": {
"stdout": "=== DIP-Violations in Controllers ===\nsrc\/Controller\/BackupRestoreController.php:10:use Infrastructure\\Persistence\\FileBackupRepository;\nsrc\/Controller\/CodeAnalysisController.php:10:use Infrastructure\\Persistence\\FileBackupRepository;\nsrc\/Controller\/ContentController.php:12:use Infrastructure\\Persistence\\ContentRepository;\nsrc\/Controller\/ContentPipelineController.php:13:use Infrastructure\\Persistence\\PipelineRepository;\nsrc\/Controller\/ContractController.php:10:use Infrastructure\\Persistence\\ContractRepository;\nsrc\/Controller\/CriticsController.php:10:use Infrastructure\\Persistence\\PromptsRepository;\nsrc\/Controller\/DocsController.php:12:use Infrastructure\\Persistence\\DokumentationRepository;\nsrc\/Controller\/DocsController.php:13:use Infrastructure\\Persistence\\KiProtokollRepository;\nsrc\/Controller\/DocsController.php:14:use Infrastructure\\Persistence\\TaskAssignmentRepository;\nsrc\/Controller\/DocsController.php:15:use Infrastructure\\Persistence\\TaskCommentRepository;\nsrc\/Controller\/DocsController.php:16:use Infrastructure\\Persistence\\TaskRepository;\nsrc\/Controller\/DocsController.php:17:use Infrastructure\\Persistence\\TaskResultRepository;\nsrc\/Controller\/SystemExplorerController.php:11:use Infrastructure\\Persistence\\SystemExplorerRepository;",
"stderr": "",
"interrupted": false,
"isImage": false
}
}