chore/pre-commit-autofix
main
- pre-commit: guard ruff --fix + git add with git stash --keep-index so partial-staging (git add -p) workflows are not silently broken - pre-commit: use -z / xargs -0 for null-delimited filename handling - install-hooks.sh: update echo messages to reflect auto-fix behaviour Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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>