claude-evolve 1.7.3 → 1.7.4

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.
@@ -893,6 +893,8 @@ Current evolution context:
893
893
  - Algorithm: algorithm.py (base algorithm)
894
894
  - Brief: $(head -5 "$FULL_BRIEF_PATH" 2>/dev/null | head -c 500 || echo "No brief file found")
895
895
 
896
+ IMPORTANT: DO NOT read algorithm.py or any evolution_*.py files. Focus on creative ideation based on the brief and CSV context only. Reading code files wastes tokens and time.
897
+
896
898
  CRITICAL INSTRUCTIONS:
897
899
  1. Use the Read tool to examine the current CSV file
898
900
  IMPORTANT: If the CSV file is large (>200 lines), read it in chunks using the offset and limit parameters to avoid context overload
@@ -994,10 +996,19 @@ IMPORTANT: You MUST use one of these exact parent IDs: $valid_parent_ids
994
996
  Successful algorithms to tune:
995
997
  $top_performers
996
998
 
997
- OPTIONAL: If needed for context, you may read parent algorithm source files at: evolution_<PARENT_ID>.py
998
- However, you can often generate good parameter tuning ideas just from the descriptions and performance scores above.
999
- IMPORTANT: If you read .py files, read them in chunks using offset and limit parameters to avoid context overload
1000
- Example: Read(file_path='evolution_gen01-001.py', offset=0, limit=100) then Read(offset=100, limit=100), etc.
999
+ IMPORTANT: Generate parameter tuning ideas based primarily on the descriptions and scores above.
1000
+
1001
+ ONLY read parent source files (evolution_<PARENT_ID>.py) if:
1002
+ - The description is too vague to identify specific parameters
1003
+ - You need to verify actual parameter names/values
1004
+ - Reading is absolutely necessary for meaningful tuning
1005
+
1006
+ If you must read source files:
1007
+ - Read in small chunks (offset/limit) to minimize token usage
1008
+ - Focus only on finding parameter definitions at the top of the file
1009
+ - Do NOT read the entire implementation
1010
+
1011
+ Most of the time, you can infer parameters from descriptions like "RSI with threshold 30" or "MA period 20".
1001
1012
 
1002
1013
  CRITICAL INSTRUCTIONS:
1003
1014
  1. Use the Read tool to examine the current CSV file
@@ -1082,10 +1093,11 @@ IMPORTANT: You MUST use one of these exact parent IDs: $valid_parent_ids
1082
1093
  Successful algorithms to modify structurally:
1083
1094
  $top_performers
1084
1095
 
1085
- OPTIONAL: If needed for context, you may read parent algorithm source files at: evolution_<PARENT_ID>.py
1086
- However, you can often generate good structural ideas just from the descriptions and performance scores above.
1087
- IMPORTANT: If you read .py files, read them in chunks using offset and limit parameters to avoid context overload
1088
- Example: Read(file_path='evolution_gen01-001.py', offset=0, limit=100) then Read(offset=100, limit=100), etc.
1096
+ IMPORTANT: DO NOT read evolution_*.py files. Generate structural ideas based ONLY on:
1097
+ - The algorithm descriptions above
1098
+ - The performance scores
1099
+ - Your knowledge of common algorithmic structures and patterns
1100
+ Reading code files wastes tokens and time. Focus on high-level architectural ideas based on the descriptions.
1089
1101
 
1090
1102
  CRITICAL INSTRUCTIONS:
1091
1103
  1. Use the Read tool to examine the current CSV file
@@ -1170,10 +1182,11 @@ IMPORTANT: You MUST use ONLY these exact parent IDs: $valid_parent_ids
1170
1182
  Top performers to combine (reference at least 2 in each idea):
1171
1183
  $top_performers
1172
1184
 
1173
- OPTIONAL: If needed for context, you may read parent algorithm source files at: evolution_<PARENT_ID>.py
1174
- However, you can often generate good hybrid ideas just from the descriptions and performance scores above.
1175
- IMPORTANT: If you read .py files, read them in chunks using offset and limit parameters to avoid context overload
1176
- Example: Read(file_path='evolution_gen01-001.py', offset=0, limit=100) then Read(offset=100, limit=100), etc.
1185
+ IMPORTANT: DO NOT read evolution_*.py files. Generate crossover ideas based ONLY on:
1186
+ - The algorithm descriptions above (which describe their key features)
1187
+ - The performance scores
1188
+ - Your knowledge of how different algorithmic approaches can be combined
1189
+ Reading code files wastes tokens and time. Focus on combining the described features creatively.
1177
1190
 
1178
1191
  CRITICAL INSTRUCTIONS:
1179
1192
  1. Use the Read tool to examine the current CSV file
@@ -1260,9 +1273,7 @@ Current evolution context:
1260
1273
  - Algorithm: algorithm.py (base algorithm)
1261
1274
  - Brief: $(head -10 "$FULL_BRIEF_PATH" 2>/dev/null | head -c 1000 || echo "No brief file found")
1262
1275
 
1263
- IMPORTANT: DO NOT read all evolution files - that uses too many tokens. Just generate creative ideas based on the brief.
1264
- IMPORTANT: If you read .py or .csv files, read them in chunks using offset and limit parameters to avoid context overload
1265
- Example: Read(file_path='temp-csv-123.csv', offset=0, limit=100) then Read(offset=100, limit=100), etc."
1276
+ IMPORTANT: DO NOT read algorithm.py or any evolution_*.py files - that uses too many tokens and is unnecessary for ideation. Just generate creative ideas based on the brief and top performers listed above. Focus your creativity on the problem space, not the implementation details."
1266
1277
 
1267
1278
  if [[ -n $top_performers ]]; then
1268
1279
  prompt+="
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-evolve",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "bin": {
5
5
  "claude-evolve": "./bin/claude-evolve",
6
6
  "claude-evolve-main": "./bin/claude-evolve-main",