Skip to content

fix: bound auto optimization prompts - #6

Merged
Pigbibi merged 1 commit into
mainfrom
fix/auto-optimization-prompt-bounds
Apr 1, 2026
Merged

fix: bound auto optimization prompts#6
Pigbibi merged 1 commit into
mainfrom
fix/auto-optimization-prompt-bounds

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • export only the selected low-risk task summary into the Claude prompt
  • add claude_args: --max-turns 8 so auto optimization runs do not wander too long

Testing

  • python3 -m unittest tests/test_prepare_auto_optimization_pr.py tests/test_auto_optimization_pr_workflow_config.py
  • python3 -m py_compile scripts/prepare_auto_optimization_pr.py
  • uvx ruff check scripts tests src
  • ruby -e 'require "yaml"; Dir[".github/workflows/*.yml"].each { |f| YAML.load_file(f) }; puts "yaml ok"'

@Pigbibi
Pigbibi merged commit e3a51d8 into main Apr 1, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/auto-optimization-prompt-bounds branch April 1, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant