There are also Stop and TaskCompleted hooks that can check whether certain conditions have been met before Claude finishes ...