Skip to content

[WIP] Update Avenger max-turns budget to match documented hard limit - #50319

Closed
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/squad-plan-tighten-avenger-max-turns
Closed

[WIP] Update Avenger max-turns budget to match documented hard limit#50319
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/squad-plan-tighten-avenger-max-turns

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>[squad-plan] Tighten Avenger max-turns budget to match documented hard limit</issue_title>
<issue_description>## 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

Comments on the Issue (you are @copilot in this section)

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.

[squad-plan] Tighten Avenger max-turns budget to match documented hard limit

2 participants