claude-evolve 1.8.4 → 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.
- package/bin/claude-evolve-run +10 -2
- package/package.json +1 -1
package/bin/claude-evolve-run
CHANGED
|
@@ -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")
|