I'm experiencing significant, persist ent, and intermittent instability with the exec tool, causing various tasks to fail. openclaw doctor --deep reports no core issues.
Primary issues and observed
1. [openclaw] missing tool result in session history errors: β’ Description: Common, disruptive. Commands execute, but OpenClaw fails to capture subprocess result (likely due to crash/hang/unexpected exit).
β’ Affected scenarios: β’ browser(action="snapshot"), browser(action="open"): Frequent failures, often leading to "Can't reach browser control service" and Gateway restarts. Browser processes terminate unexpectedly.
β’ gog gmail thread get --full --json: Failed with large email content.
β’ git clone: Intermittent missing tool result even on successful clones.
β’ cp -r: Intermittent failures, especially with directories.
β’ openclaw hooks enable: Failed repeatedly.
β’ khal new: Caused partial calendar event creation failures.
β’ browser(action="type"): Failed with "Unknown ref" after browser restart.
β’ default_api.write to ~/.clawface/avatar_state.json: Intermittently failed to update avatar state.
2. Commands hanging/silent failures: β’ Description: Commands appear to hang indefinitely within exec.
β’ Affected scenario: curl -s "wttr.in/Sao+Paulo?format=3": Reported as "stuck/frozen" in cron reports, missing weather data.
3. gog calendar events instability: β’ Description: Even after fixing syntax for gog calendar calendars, gog calendar events list shows intermittent failures like "Google API error (404 notFound)" in cron jobs, despite valid calendar IDs. Not a permissions issue for listing.
4. sudo commands: β’ Description: sudo commands (e.g., sudo apt install) consistently fail in background exec without pty=true (password prompt) or with pty=true if timed out.
General observations:
β’ Intermittent: Not always reproducible; retries or Gateway restarts sometimes work.
β’ Complexity: More complex commands/large output prone to failure.