{"version":"2.1.288","anchor":"plugin-loading-memoization-keyed-by-trust-state-hook-module","canonical_anchor":"plugin-loading-memoization-keyed-by-trust-state-hook-module","heading":"Plugin hooks are reloaded when the state they loaded under changes","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/plugin-loading-memoization-keyed-by-trust-state-hook-module","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288","markdown":"### Plugin hooks are reloaded when the state they loaded under changes\n\nPlugin hooks are now loaded again if the state they were first read under has changed, instead of always reusing the first load\n\n**Unclear.** It is not clear what state the record represents.\n\n**What**\n\nPlugin hooks are scripts a plugin runs when certain things happen in Claude Code. Claude Code used to load plugins once and reuse the result. It now records the state each load happened under, and reads the hooks again when that state is different. Hook modules are also registered before Claude Code's first update cycle.\n\n**Why**\n\nThis stops plugins from running on out-of-date information after that state changes.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}