claude-evolve 1.3.21 → 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.
@@ -136,13 +136,19 @@ else
136
136
  output_file="$FULL_OUTPUT_DIR/evolution_${id}.py"
137
137
  fi
138
138
 
139
- # Copy parent to output
140
- cp "$parent_file" "$output_file"
141
- echo "[WORKER-$$] Copied parent to: $output_file"
139
+ # Copy parent to output (skip if destination already exists)
140
+ if [[ -f "$output_file" ]]; then
141
+ echo "[WORKER-$$] ⚠️ Skipping copy - child algorithm already exists: $output_file"
142
+ else
143
+ cp "$parent_file" "$output_file"
144
+ echo "[WORKER-$$] Copied parent to: $output_file"
145
+ fi
142
146
 
143
- # Generate mutation (skip for baseline)
147
+ # Generate mutation (skip for baseline or self-parent)
144
148
  if [[ $id == "000" || $id == "0" || $id == "gen00-000" ]]; then
145
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"
146
152
  else
147
153
  # Check for claude CLI
148
154
  claude_cmd="${CLAUDE_CMD:-claude}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.3.21",
3
+ "version": "1.3.23",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",
@@ -13,7 +13,6 @@
13
13
  "claude-evolve-config": "./bin/claude-evolve-config"
14
14
  },
15
15
  "files": [
16
- "screenshot.png",
17
16
  "bin/",
18
17
  "lib/",
19
18
  "templates/"
package/screenshot.png DELETED
Binary file