You can use `PreToolUse` for ExitPlanMode or `PermissionRequest` for ExitPlanMode.
Just vibe code a little toggle that says "Stay in plan mode" for whatever desktop you're using. And the hook will always seek to understand if you're there or not.
- You can even use additional hooks to continuously remind Claude that it's in long-term planning mode.
*Shameless plug. This is actually a good idea, and I'm already fairly hooked into the planning life cycle. I think I'll enable this type of switch in my tool. https://github.com/backnotprop/plannotator