Fixes startup slowdown on session resume when saved hook context is present — targeted patch for hook-reliant workflows.
saved_hook_context