claude-evolve 1.8.3 → 1.8.5

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.
@@ -378,6 +378,12 @@ try:
378
378
  if len(rows[i]) > 4 and rows[i][4] == 'running':
379
379
  rows[i][4] = ''
380
380
  changed_count += 1
381
+
382
+ # Reset failed-parent-missing to pending at startup - give them another chance
383
+ for i in range(1, len(rows)):
384
+ if len(rows[i]) > 4 and rows[i][4] == 'failed-parent-missing':
385
+ rows[i][4] = 'pending'
386
+ changed_count += 1
381
387
 
382
388
  # Check for missing Python files for completed/failed candidates
383
389
  for i in range(1, len(rows)):
@@ -603,7 +609,8 @@ for i in range(start_idx, len(rows)):
603
609
  reset_count += 1
604
610
  # Reset unknown statuses like 'ready'
605
611
  elif status not in ['', 'pending', 'complete', 'failed', 'failed-ai-retry',
606
- 'failed-retry1', 'failed-retry2', 'failed-retry3', 'skipped']:
612
+ 'failed-retry1', 'failed-retry2', 'failed-retry3', 'skipped',
613
+ 'failed-parent-missing']:
607
614
  print(f'[WARN] Resetting unknown status \"{status}\" to pending: {candidate_id}', file=sys.stderr)
608
615
  rows[i][4] = 'pending'
609
616
  reset_count += 1
@@ -647,7 +654,8 @@ with open(csv_file, 'r') as f:
647
654
  # Count running, unknown, and retry statuses
648
655
  if status in ['running'] or \
649
656
  (status and status not in ['', 'pending', 'complete', 'failed', 'skipped',
650
- 'failed-ai-retry', 'failed-retry1', 'failed-retry2', 'failed-retry3']):
657
+ 'failed-ai-retry', 'failed-retry1', 'failed-retry2', 'failed-retry3',
658
+ 'failed-parent-missing']):
651
659
  stuck += 1
652
660
  print(stuck)
653
661
  " 2>/dev/null || echo "0")
@@ -643,7 +643,7 @@ with EvolutionCSV('$FULL_CSV_PATH') as csv:
643
643
  elif [[ $process_exit_code -eq 78 ]]; then
644
644
  # Missing parent; mark child as failed and immediately process parent
645
645
  # Use RESOLVED_PARENT_ID which was set by process_candidate
646
- local actual_parent_id="${RESOLVED_PARENT_ID:-$parent_id}"
646
+ actual_parent_id="${RESOLVED_PARENT_ID:-$parent_id}"
647
647
 
648
648
  echo "[WORKER-$$] Parent '$actual_parent_id' missing for $candidate_id"
649
649
  echo "[WORKER-$$] Marking $candidate_id as failed-parent-missing"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",