claude-evolve 1.7.18 → 1.7.20

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.
@@ -176,6 +176,12 @@ call_ai_for_ideation() {
176
176
  fi
177
177
  else
178
178
  echo "[INFO] CSV unchanged after $model (exit code: $ai_exit_code)" >&2
179
+ # Log last few lines of AI output to help debug why it succeeded but didn't change the file
180
+ if [[ -n "$ai_output" ]]; then
181
+ echo "[AI] Last 10 lines of $model output:" >&2
182
+ echo "$ai_output" | tail -n 10 >&2
183
+ echo "[AI] ---" >&2
184
+ fi
179
185
  # Continue to next model
180
186
  fi
181
187
  else
@@ -255,6 +255,14 @@ with EvolutionCSV('$FULL_CSV_PATH') as csv:
255
255
 
256
256
  if [[ "$current_status" == "complete" ]]; then
257
257
  echo "[WORKER-$$] Already evaluated - skipping"
258
+ # Reset status back to complete since get_next_pending_candidate() set it to running
259
+ "$PYTHON_CMD" -c "
260
+ import sys
261
+ sys.path.insert(0, '$SCRIPT_DIR/..')
262
+ from lib.evolution_csv import EvolutionCSV
263
+ with EvolutionCSV('$FULL_CSV_PATH') as csv:
264
+ csv.update_candidate_status('$candidate_id', 'complete')
265
+ " 2>/dev/null || true
258
266
  return 0
259
267
  fi
260
268
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.7.18",
3
+ "version": "1.7.20",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",