{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src tests scripts --fix 2>&1 | tail -3 && .\/scripts\/check.sh 2>&1 | grep -E \"^(==>|FAIL)\" | head -15",
"description": "Auto-fix + full gate"
}
}
{
"tool_response": {
"stdout": "Found 1 error (1 fixed, 0 remaining).\n==> G1 ruff\n==> G1 ruff format\n==> G1 mypy\n==> G1 radon cc\n==> G1 radon mi\n==> G1 max_loc\n==> G4 import-linter\n==> G2 pytest unit\n==> G3 pytest integration\n==> G5 pip-audit\n==> G6 schema-drift",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false,
"staleReadFileStateHint": "[This command modified 1 file you've previously read: src\/infrastructure\/clock\/system_clock.py. Call Read before editing.]"
}
}