A new CLAUDE_CODE_ENABLE_FUNCTION_HOOKS environment variable can force-override the function-hooks feature gate, taking precedence over the existing remote/experiment gate. A debug string documents this as "overridden by the CLAUDE_CODE_ENABLE_FUNCTION_HOOKS environment variable".
Names in the bundleCLAUDE_CODE_ENABLE_FUNCTION_HOOKS
Documented inclaude-code/plugins/mods/admin
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: CLAUDE_CODE_ENABLE_FUNCTION_HOOKS