claude-evolve 1.3.22 → 1.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/claude-evolve-worker +3 -1
- package/package.json +1 -1
package/bin/claude-evolve-worker
CHANGED
|
@@ -144,9 +144,11 @@ else
|
|
|
144
144
|
echo "[WORKER-$$] Copied parent to: $output_file"
|
|
145
145
|
fi
|
|
146
146
|
|
|
147
|
-
# Generate mutation (skip for baseline)
|
|
147
|
+
# Generate mutation (skip for baseline or self-parent)
|
|
148
148
|
if [[ $id == "000" || $id == "0" || $id == "gen00-000" ]]; then
|
|
149
149
|
echo "[WORKER-$$] Baseline algorithm - skipping mutation"
|
|
150
|
+
elif [[ "$parent_file" == "$output_file" ]]; then
|
|
151
|
+
echo "[WORKER-$$] ⚠️ Self-parent detected - skipping mutation to preserve existing code"
|
|
150
152
|
else
|
|
151
153
|
# Check for claude CLI
|
|
152
154
|
claude_cmd="${CLAUDE_CMD:-claude}"
|