tkinter was imported at module level, before the try/except that was meant to catch a missing display or toolkit. On a Python install without the (often separately packaged) tkinter module, the script crashed instead of falling back to notify-send. The import is now wrapped in its own try/except with the same fallback. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Hooks
Hooks are conservative entry points shared by clients. They validate obvious command hazards, check repository-local configuration inputs, and provide an optional post-change verification command. They do not bypass client permission prompts or grant access.