Skip to content

Commit f9c0c01

Browse files
tzhouamclaude
andcommitted
rebase: raise the module agent turn budget to 400
A flash-class module agent needs roughly 2.3x the turns of the pro tier on the same module (140+ turns vs 62), most of it shell exploration before the first edit. At the old ceiling of 150 the agent loop was truncated and RESTARTED from scratch, discarding its accumulated context -- one module burned 63 minutes across three truncated loops without finishing. 400 lets a loop reach a conclusion instead of being cut off mid-investigation. Exhausting the budget was never fatal (the engine restarts the loop rather than failing the module), so this is a throughput fix, not a correctness one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 28d7b11 commit f9c0c01

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/infermatrix_copilot/rebase_engine/module_rebase.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ class ModuleRunConfig:
3636
last_rebase_vllm_commit: str = ""
3737
cuda_devices: str = "0,1"
3838
hf_home: str = "/model"
39-
max_turns: int = 150
39+
# Raised from 150 for the v0.30.0 campaign (owner decision 2026-09-17):
40+
# a flash-class module agent needs ~2.3x the turns of the pro tier on the
41+
# same module (140+ turns vs 62), mostly shell exploration, and
42+
# exhausting the budget returns done=False, which empties wave 2 at the gate.
43+
max_turns: int = 400
4044
max_debug_retries: int = 3
4145
plan_review_max_rounds: int = 2
4246
model_aliases: Mapping[str, str] | None = None

0 commit comments

Comments
 (0)