claude-evolve 1.3.16 → 1.3.18
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-ideate
CHANGED
|
@@ -23,9 +23,9 @@ call_ai_with_limit_check() {
|
|
|
23
23
|
if command -v codex >/dev/null 2>&1; then
|
|
24
24
|
echo "[INFO] Using codex o3-pro for ideation (smartest available model)" >&2
|
|
25
25
|
|
|
26
|
-
# Call codex with o3-pro model
|
|
26
|
+
# Call codex with o3-pro model using -q flag and --full-auto
|
|
27
27
|
local ai_output
|
|
28
|
-
ai_output=$(
|
|
28
|
+
ai_output=$(codex -m o3-pro --full-auto -q "$prompt" 2>&1)
|
|
29
29
|
local ai_exit_code=$?
|
|
30
30
|
|
|
31
31
|
if [[ $ai_exit_code -eq 0 ]]; then
|
package/bin/claude-evolve-run
CHANGED
|
@@ -340,6 +340,11 @@ echo "[INFO] Using Claude Sonnet for development"
|
|
|
340
340
|
# Create mutation prompt - Claude will edit the file directly
|
|
341
341
|
prompt="Edit the file $output_file to implement this specific change: $description
|
|
342
342
|
|
|
343
|
+
IMPORTANT: Before starting the task, you MUST read and understand:
|
|
344
|
+
1. The project's CLAUDE.md file (if it exists) - this contains project-specific instructions
|
|
345
|
+
2. The user's global CLAUDE.md file at ~/.claude/CLAUDE.md (if it exists) - this contains general development principles
|
|
346
|
+
3. Ensure all your work follows the architectural and development guidelines from both files
|
|
347
|
+
|
|
343
348
|
Requirements:
|
|
344
349
|
- Edit the file directly (don't just provide comments or suggestions)
|
|
345
350
|
- Maintain the same function signatures and interfaces
|
|
@@ -347,7 +352,7 @@ Requirements:
|
|
|
347
352
|
- Ensure the code runs without syntax errors
|
|
348
353
|
- Add proper error handling if needed
|
|
349
354
|
|
|
350
|
-
The file currently contains the parent algorithm. Modify it according to the description above."
|
|
355
|
+
The file currently contains the parent algorithm. Modify it according to the description above while adhering to all guidelines from the CLAUDE.md files."
|
|
351
356
|
|
|
352
357
|
# Generate mutation (skip for baseline)
|
|
353
358
|
if [[ $id == "000" || $id == "0" ]]; then
|