-
Notifications
You must be signed in to change notification settings - Fork 198
Description
内容:
Bug Description
The evolver's validation script uses a hardcoded path ./src/evolve which doesn't exist in the OpenClaw environment.
In OpenClaw, the evolver skill is located at skills/evolver/ (not src/), so the validation always fails with:
Error: Cannot find module '/home/gem/workspace/agent/src/evolve'
Environment
- OpenClaw workspace:
/home/gem/workspace/agent/ - Evolver location:
/home/gem/workspace/agent/skills/evolver/ - Node.js: v22.22.1
- Evolver version: 1.39.0
Expected Behavior
Validation should use a relative path that works regardless of where the evolver is installed, or use __dirname to resolve paths dynamically.
Actual Behavior
The hardcoded ./src/evolve path resolves to an absolute path /home/gem/workspace/agent/src/evolve which doesn't exist, causing validation to fail every time.
Workaround Attempted
Created a symlink /home/gem/workspace/agent/src -> /home/gem/workspace/agent/skills/evolver/src, but the issue persists because the evolver's internal Gene (gene_gep_repair_from_errors) has recorded this error in its history, creating an infinite loop of failed repair attempts.
复制以上内容直接粘贴到 GitHub issue 里就行 🦞