pub fn hook_state_dir() -> Result<PathBuf>
Get the path to the hook state directory.
This is where hook execution state files are stored.