Protokoll #2505
| ID | 2505 |
|---|---|
| Zeitstempel | 2025-12-21 19:21:44.835204 |
| Client | root |
| IP | Warning: Undefined array key "request_ip" in /var/www/dev.campus.systemische-tools.de/src/View/protokoll/show.php on line 13 Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/dev.campus.systemische-tools.de/src/View/protokoll/show.php on line 13 |
| Modell | claude-sonnet-4-20250514 |
| Status | completed |
| Tokens | 1,696 (Input: 0, Output: 0) |
| Dauer | 4246 ms |
| Request-Zeit | Warning: Undefined array key "request_timestamp" in /var/www/dev.campus.systemische-tools.de/src/View/protokoll/show.php on line 18 |
| Response-Zeit | - |
Warning: Undefined array key "error_message" in /var/www/dev.campus.systemische-tools.de/src/View/protokoll/show.php on line 22
Request
{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/scripts\/sync-dev-prod.sh 2>&1",
"timeout": 120000,
"description": "Sync dev to prod"
}
}
Response
{
"tool_response": {
"stdout": "=== Sync Dev → Prod: Sun Dec 21 07:21:44 PM CET 2025 ===\n=== Contract Validation ===\n\u001b[0;34m=== Contract Validation ===\u001b[0m\nTarget: \/var\/www\/dev.campus.systemische-tools.de\nContracts: \/var\/www\/docs\/contracts\n\n\u001b[0;34m[1\/6] View Structure Contract v1.0\u001b[0m\n \u001b[0;32mOK\u001b[0m tasks\/*\n \u001b[0;32mOK\u001b[0m content\/*\n\n\u001b[0;34m[2\/6] HTML Tables Contract v1.0\u001b[0m\n \u001b[0;32mOK\u001b[0m HTML Tables geprüft\n\n\u001b[0;34m[3\/6] CSS Contract v1.0\u001b[0m\n \u001b[0;32mOK\u001b[0m Stylelint passed\n\n\u001b[0;34m[4\/6] Python Pipeline Contract v1.0\u001b[0m\n \u001b[0;32mOK\u001b[0m Ruff + mypy passed\n\n\u001b[0;34m[5\/6] Layered Architecture Contract v1.0\u001b[0m\n \u001b[0;32mOK\u001b[0m Layer-Grenzen eingehalten\n\n\u001b[0;34m[6\/6] Betriebsdokumentation Contract v1.1\u001b[0m\n \u001b[0;32mOK\u001b[0m Dokumentation strukturell korrekt\n\n\u001b[0;34m=== Ergebnis ===\u001b[0m\nCritical: 0\nMajor: 0\nMinor: 0\n\n\u001b[0;32mPASSED: Alle Contracts erfüllt\u001b[0m\n\n=== PHP Quality Check ===\n=== PHP Quality & Security Check: Sun Dec 21 07:21:46 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/4] PHPStan - Static Analysis + Strict Rules\u001b[0m\n\n [OK] No errors \n\n\u001b[0;32m✓ PHPStan: OK\u001b[0m\n\n\u001b[1;33m[2\/4] PHP-CS-Fixer - Code Style (PSR-12)\u001b[0m\nPHP CS Fixer 3.92.3 Exceptional Exception by Fabien Potencier, Dariusz Ruminski and contributors.\nPHP runtime: 8.4.11\nLoaded config default from \"\/opt\/php-tools\/.php-cs-fixer.php\".\nRunning analysis on 1 core sequentially.\nYou can enable parallel runner and speed up the analysis! Please see https:\/\/cs.symfony.com\/doc\/usage.html for more information.\nUsing cache file \"\/tmp\/.php-cs-fixer.cache\".\n 0\/120 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 120\/120 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%\n\n\nFound 0 of 120 files that can be fixed in 0.001 seconds, 18.00 MB memory used\n\u001b[0;32m✓ PHP-CS-Fixer: OK\u001b[0m\n\n\u001b[1;33m[3\/4] Composer Audit - Dependency Vulnerabilities\u001b[0m\n\u001b[0;32m✓ Composer Audit: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[4\/4] Semgrep - OWASP Security Scan\u001b[0m\n\u001b[0;32m✓ Semgrep: No vulnerabilities\u001b[0m\n\n=== Summary ===\n\u001b[0;32mAll checks passed!\u001b[0m\n\n=== PHPUnit Tests ===\n=== PHP Unit Tests: Sun Dec 21 07:21:48 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33mFound 1 test file(s)\u001b[0m\n\nPHPUnit 12.5.4 by Sebastian Bergmann and contributors.\n\nRuntime: PHP 8.4.11\nConfiguration: \/opt\/php-tools\/phpunit.xml\n\n................. 17 \/ 17 (100%)\n\nTime: 00:00.001, Memory: 14.00 MB\n\nTask Status (Tests\\Unit\\Domain\\ValueObject\\TaskStatus)\n ✔ Is terminal with data set \"pending is not terminal\"\n ✔ Is terminal with data set \"in_progress is not terminal\"\n ✔ Is terminal with data set \"completed is terminal\"\n ✔ Is terminal with data set \"failed is terminal\"\n ✔ Is terminal with data set \"cancelled is terminal\"\n ✔ Label with data set #0\n ✔ Label with data set #1\n ✔ Label with data set #2\n ✔ Label with data set #3\n ✔ Label with data set #4\n ✔ All status values exist\n ✔ Pending can transition to in progress\n ✔ Pending can transition to cancelled\n ✔ Pending cannot transition to completed\n ✔ In progress can transition to completed\n ✔ In progress can transition to failed\n ✔ Completed cannot transition\n\nOK (17 tests, 22 assertions)\n\n\u001b[0;32m✓ All tests passed!\u001b[0m\n\nsending incremental file list\ndeleting Infrastructure\/Persistence\/SystemPromptRepository.php\nController\/\nController\/BackupRestoreController.php\nController\/ChatController.php\nController\/ConfigController.php\nController\/ContentController.php\nController\/ContractController.php\nController\/ProtokollController.php\nController\/SystemExplorerController.php\nController\/Api\/\nController\/Api\/ChatController.php\nController\/Api\/TaskController.php\nDomain\/\nDomain\/Exception\/\nDomain\/Exception\/DimensionMismatchException.php\nFramework\/\nFramework\/Controller.php\nFramework\/CsrfService.php\nInfrastructure\/\nInfrastructure\/AI\/\nInfrastructure\/AI\/ChatService.php\nInfrastructure\/AI\/ClaudeService.php\nInfrastructure\/AI\/ModelConfig.php\nInfrastructure\/AI\/OllamaService.php\nInfrastructure\/AI\/QdrantService.php\nInfrastructure\/Config\/\nInfrastructure\/Config\/CredentialService.php\nInfrastructure\/Persistence\/\nInfrastructure\/Persistence\/CollectionRepository.php\nInfrastructure\/Persistence\/ContentRepository.php\nInfrastructure\/Persistence\/ContractRepository.php\nInfrastructure\/Persistence\/FileBackupRepository.php\nInfrastructure\/Validation\/\nInfrastructure\/Validation\/CollectionValidator.php\nInfrastructure\/Validation\/ValidationResult.php\nView\/\nView\/layout.php\nView\/backup-restore\/\nView\/backup-restore\/show.php\nView\/chat\/\nView\/chat\/index.php\nView\/config\/\nView\/config\/form.php\nView\/config\/index.php\nView\/config\/show.php\nView\/content\/\nView\/content\/new.php\nView\/content\/show.php\nView\/contracts\/\nView\/contracts\/edit.php\nView\/contracts\/new.php\nView\/contracts\/show.php\nView\/partials\/\nView\/partials\/form\/\nView\/partials\/form\/collections-select.php\nView\/tasks\/\nView\/tasks\/show.php\n\nsent 287,395 bytes received 897 bytes 576,584.00 bytes\/sec\ntotal size is 649,053 speedup is 2.25\nsending incremental file list\n\nsent 109 bytes received 14 bytes 246.00 bytes\/sec\ntotal size is 0 speedup is 0.00\nsending incremental file list\n.\/\nweb.php\n\nsent 8,452 bytes received 38 bytes 16,980.00 bytes\/sec\ntotal size is 10,749 speedup is 1.27\nsending incremental file list\n.\/\nadmin.css\n\nsent 35,162 bytes received 38 bytes 70,400.00 bytes\/sec\ntotal size is 44,549 speedup is 1.27\nsending incremental file list\n.\/\nhtmx.min.js\nadapters\/\nadapters\/domAdapter.js\n\nsent 49,521 bytes received 70 bytes 99,182.00 bytes\/sec\ntotal size is 63,392 speedup is 1.28\nsending incremental file list\n\nsent 59 bytes received 12 bytes 142.00 bytes\/sec\ntotal size is 0 speedup is 0.00\nsending incremental file list\n\nsent 66 bytes received 12 bytes 156.00 bytes\/sec\ntotal size is 231 speedup is 2.96\nsending incremental file list\nindex.php\n\nsent 965 bytes received 35 bytes 2,000.00 bytes\/sec\ntotal size is 851 speedup is 0.85\nsending incremental file list\n\nsent 110 bytes received 12 bytes 244.00 bytes\/sec\ntotal size is 1,486 speedup is 12.18\n=== Sync abgeschlossen ===",
"stderr": "",
"interrupted": false,
"isImage": false
}
}