Objective
Reduce Avenger's max-turns frontmatter budget from 50 to a tighter limit that matches the prompt's own documented turn budget.
Issue context
Issue #50312 found Avenger frontmatter sets max-turns: 50, but the workflow's own "Execution Guidelines" state "Hard limit is 25 turns." The looser config allows expensive outlier runs (the highest-cost audited run also had the highest cache-read volume) and weakens budget enforcement (~3-5% estimated AIC savings on outliers).
Implementation guidance
- Edit
.github/workflows/avenger.md.
- Change top-level
max-turns from 50 to a tighter value, preferably 25 (matching the documented hard limit) unless a strong implementation reason justifies up to 30.
- Ensure the prompt wording and frontmatter stay consistent — there should be exactly one clear turn-budget story, not two conflicting numbers.
- Run
make recompile after editing so the .lock.yml is regenerated.
Acceptance criteria
- Avenger frontmatter
max-turns value is aligned with the prompt's documented guidance (no contradiction between the two).
make recompile succeeds and the generated lock file updates cleanly with no unrelated diffs.
Dependency / ordering notes
Independent quick config/doc change; can be done in parallel with the Step 0 CI re-check fix. Consider bundling both Avenger markdown edits into one PR if per-issue assignment granularity isn't strictly required, since both touch the same file.
Generated by 🧑🤝🧑 Squad Plan · auto · 37.1 AIC · ⌖ 2.24 AIC · ⊞ 9.5K · ◷
Comment /squad-plan to run again
Objective
Reduce Avenger's
max-turnsfrontmatter budget from 50 to a tighter limit that matches the prompt's own documented turn budget.Issue context
Issue #50312 found Avenger frontmatter sets
max-turns: 50, but the workflow's own "Execution Guidelines" state "Hard limit is 25 turns." The looser config allows expensive outlier runs (the highest-cost audited run also had the highest cache-read volume) and weakens budget enforcement (~3-5% estimated AIC savings on outliers).Implementation guidance
.github/workflows/avenger.md.max-turnsfrom 50 to a tighter value, preferably 25 (matching the documented hard limit) unless a strong implementation reason justifies up to 30.make recompileafter editing so the.lock.ymlis regenerated.Acceptance criteria
max-turnsvalue is aligned with the prompt's documented guidance (no contradiction between the two).make recompilesucceeds and the generated lock file updates cleanly with no unrelated diffs.Dependency / ordering notes
Independent quick config/doc change; can be done in parallel with the Step 0 CI re-check fix. Consider bundling both Avenger markdown edits into one PR if per-issue assignment granularity isn't strictly required, since both touch the same file.