Evolver Watchdog
A robust self-healing mechanism for the OpenClaw Evolver loop.
Problem
The evolver loop (daemon) runs as a background process. If it crashes, is killed, or the server restarts, evolution stops until a human manually intervenes. This leads to stagnation.
Solution
This skill installs a standard Linux cron job (via crontab) that runs every 10 minutes. It executes node skills/evolver-control/index.js start.
- •If the loop is already running,
evolver-controldetects the PID/lock and exits gracefully (no-op). - •If the loop is missing,
evolver-controlstarts it immediately.
Usage
Install Watchdog
bash
node skills/evolver-watchdog/index.js install
Expected output: [Watchdog] Installed cron job: */10 * * * * ...
Uninstall Watchdog
bash
node skills/evolver-watchdog/index.js uninstall
Expected output: [Watchdog] Removed cron job.
Check Status
bash
node skills/evolver-watchdog/index.js status
Expected output: [Watchdog] Cron job is INSTALLED. or [Watchdog] Cron job is MISSING.
Logs
Watchdog execution logs are appended to:
logs/evolver_watchdog.log
Dependencies
- •
skills/evolver-control(must be present) - •
crontab(must be available in OS)