Plugin hooks now wait for workspace trust before loading, instead of loading unconditionally
Claude Code requires you to trust a workspace (a folder you're working in) before certain actions run. Now, plugin hook modules are also gated on this: if the workspace isn't yet trusted, hook modules from otherwise-loadable plugins are skipped at registration time, and Claude Code logs a message naming which hooks weren't loaded. A new session field, hookModulesAwaitTrust, tracks this state, and once you accept trust for the workspace, hook loading is retried and the deferred hooks register.
This prevents plugin hook code, which can run automatically at defined points, from executing in a workspace you haven't yet confirmed you trust.