Using git hooks vs an LLM to run pre-commit checks does not require hindsight.