{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/tools\/ki-protokoll\/claude-hook\/quality\/full_scan.py --blocks-only 2>&1 | head -60",
"description": "Test fixed full_scan.py"
}
}
{
"tool_response": {
"stdout": "======================================================================\nQUALITY SCAN REPORT\n======================================================================\nScan Path: \/var\/www\/dev.campus.systemische-tools.de\/src\nTotal Files: 265\n\nFiles with BLOCKS: 125\nFiles with WARNINGS: 0\nTotal BLOCKS: 125\nTotal WARNINGS: 0\n\n----------------------------------------------------------------------\nVIOLATIONS:\n----------------------------------------------------------------------\n\nsrc\/Application\/ContentCollectionService.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'Service für RAG-Collection-Operationen und Validierung'\n\nsrc\/Application\/PipelineStepService.php\n [BLOCK] QUALITY VIOLATION [P6.1]: Application layer must not import Infrastructure directly (DIP)\n\nsrc\/Controller\/Api\/ChatController.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'REST-API für KI-Chat und Vektor-Suche'\n\nsrc\/Controller\/Api\/DocsController.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'REST-API für Dokumentations-CRUD und Semantic Search'\n\nsrc\/Controller\/BackupRestoreController.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'HTTP-Endpunkte für Datei-Backup und -Wiederherstellung'\n\nsrc\/Controller\/DocsController.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'HTTP-Endpunkte für Dokumentation und Task-Ansichten'\n\nsrc\/Controller\/HomeController.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'HTTP-Endpunkte für Startseite und statische Seiten'\n\nsrc\/Domain\/DTO\/ContentOrderDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/DTO\/ContentVersionDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/DTO\/CritiqueDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/DTO\/PipelineDocumentDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/DTO\/QdrantSearchResultDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/DTO\/SessionStatsDTO.php\n [BLOCK] QUALITY VIOLATION [P4.1]: Public property in Domain. Use getter methods or public readonly.\n\nsrc\/Domain\/Repository\/SemanticSearchRepositoryInterface.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'Interface für Semantik-Suche und Graph-Daten'\n\nsrc\/Framework\/App.php\n [BLOCK] QUALITY VIOLATION [P1.1]: @responsibility contains multi-responsibility indicator: 'Applikations-Bootstrap und Service-Registrierung'",
"stderr": "",
"interrupted": false,
"isImage": false
}
}