Repository navigation
Show remaining turns to execution subagents - #332704
Merged
Bhavya U (bhavyaus) merged 1 commit intoSep 1, 2026
Merged
Bhavya U (bhavyaus) merged 1 commit into
Bhavya U (bhavyaus) merged 1 commit into
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: 62f6758b-a71d-4533-8f3d-9028975772bf
Contributor
There was a problem hiding this comment.
Pull request overview
Adds iteration-budget guidance to execution-subagent prompts.
Changes:
- Reports remaining iterations on every request.
- Directs the subagent to return
<final_answer>without tools on its final iteration.
Show a summary per file
| File | Description |
|---|---|
extensions/copilot/src/extension/prompts/node/agent/executionSubagentPrompt.tsx |
Adds and displays the remaining-turn countdown. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
Vikram Nitin (vikramnitin9)
approved these changes
Aug 31, 2026
Bhavya U (bhavyaus)
approved these changes
Sep 1, 2026
Martin Aeschlimann (aeschli)
approved these changes
Sep 1, 2026
Raymond Zhao (rzhao271)
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<final_answer>when one iteration remainsScope
One existing execution-subagent prompt file: 4 additions and 5 removals.
The prompt already receives
maxExecutionTurnsand the completed tool-call rounds, so this does not add settings, feature flags, evaluation plumbing, model-selection changes, or new abstractions.Validation
tsc --noEmit --project tsconfig.jsonfee800cee6e8c59ccfbbfcf5f218de141074b9f1539b2915f29ff37ee949e4f510 → 1sequenceCanaries:
2026082630511001202608263052309220260826305341782026082630545601Full paired eight-arm matrix (
execution_subagent_turn_warning_minimal_v1):0/6,801countdowns; treatment6,192/6,192103/1,842empty; treatment0/1,886-1.70,-0.39,+0.58,+1.32pp), so no benchmark-score improvement is claimedTwo treatment trials lacked output ZIPs even though CES reported them complete; they are excluded from artifact-level comparison rather than counted as benchmark failures.
Full sanitized report and trace proof:
https://github.com/argos-gh/memory-bank/blob/piyushmadan/c4/aug24-week/execution_subagent_countdown_offline_eval/docs/minimal-final-report.md
Cross-model merge-confidence matrix (
gpt-5.6-luna,gemini-3.5-flash):0/6,819countdowns; treatment7,397/7,3970 → 072 → 1+9.28 pp, Luna SWE-2.92 pp, Gemini Terminal+12.05 pp, Gemini SWE+0.15 ppp=0.424, providing no evidence of a statistically significant regression-7.4%/+6.1%, Gemini+8.3%/-1.0%for Terminal/SWEFull Luna/Gemini regression report:
https://github.com/argos-gh/memory-bank/blob/piyushmadan/c4/aug24-week/execution_subagent_countdown_offline_eval/docs/luna-gemini-regression.md