You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows (OpenClaw 2026.4.21), running openclaw hooks enable self-improvement hangs and is killed by SIGKILL after ~60 seconds.
All CLI commands except --help and --version hang for 60+ seconds. This is consistent with issue #64306 (CLI commands hang in ensureCliPluginRegistryLoaded).
Environment
OpenClaw: 2026.4.21
Node.js: v24.13.0
OS: Windows_NT 10.0.26200
Gateway: running on port 18789
Symptoms
openclaw hooks enable self-improvement → times out, SIGKILL
openclaw hooks list → times out, SIGKILL
openclaw hooks --help → same
openclaw status → times out, SIGKILL
Only openclaw --version and openclaw --help work
Attempted Workaround
Copied hook handler manually to ~/.openclaw/hooks/self-improvement-handler.js (Node module, exports a handler function).
The handler itself works when tested - it exports a valid function.
Root Cause
Consistent with #64306: CLI hangs in ensureCliPluginRegistryLoaded() during bootstrap, which deadlocks on Windows.
Questions
Is there a config-only way to register hooks without using the CLI?
Is there a direct API endpoint to manage hook registration?
Bug Description
On Windows (OpenClaw 2026.4.21), running
openclaw hooks enable self-improvementhangs and is killed by SIGKILL after ~60 seconds.All CLI commands except
--helpand--versionhang for 60+ seconds. This is consistent with issue #64306 (CLI commands hang in ensureCliPluginRegistryLoaded).Environment
Symptoms
openclaw hooks enable self-improvement→ times out, SIGKILLopenclaw hooks list→ times out, SIGKILLopenclaw hooks --help→ sameopenclaw status→ times out, SIGKILLopenclaw --versionandopenclaw --helpworkAttempted Workaround
Copied hook handler manually to
~/.openclaw/hooks/self-improvement-handler.js(Node module, exports a handler function).The handler itself works when tested - it exports a valid function.
Root Cause
Consistent with #64306: CLI hangs in
ensureCliPluginRegistryLoaded()during bootstrap, which deadlocks on Windows.Questions