Instead of failing and requiring manual fix + re-commit, the hook now runs ruff check --fix first, re-stages the fixed files, then checks for remaining unfixable issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>