OPENCLAW AGENT EXECUTION BUG — ROOT CAUSE ANALYSIS
CONTEXT:
OpenClaw environment where:
• Existing agents (e.g. systemarchitect) execute normally
• ANY newly created agent hangs indefinitely on execution
• Hanging occurs even with minimal prompt: "Respond with exactly: OK"
• Happens across different agent names and templates
• Cloning working agent directories does NOT fix it
• Config restore + session clearing + cache clearing performed
• Gateway restart successful
• Runtime confirmed healthy (existing agents respond instantly)
SYMPTOMS:
• openclaw agent --agent <new-agent> → hangs / no output
• No errors surfaced
• No difference between stdout or telegram channel
• Agent appears correctly in registry
ALREADY TESTED:
• Session deletion
• Workspace prompt clearing
• Model switching
• Agent recreation
• Config restore
• Runtime reset (/tmp + sessions)
• Template cloning from working agent
WORKING:
• systemarchitect agent executes normally
FAILING:
• market-brief
• market-brief-v2
• trading-desk
• any newly created agent
QUESTION:
What internal OpenClaw component could cause:
• New agents failing at execution
• Existing agents continuing to work
Specifically:
Is there a known issue with:
• agent lifecycle registry
• workspace binding cache
• agent ID/context initialization
• gateway routing layer
GOAL:
Identify ROOT CAUSE and minimal fix path
NOT workaround