Skip to content

feat(workflow): expose max_turns and time_budget_ms, default 40 turns - #186

Merged
chubes4 merged 1 commit into
mainfrom
feat/turn-budget
Nov 15, 2026
Merged

chubes4 merged 1 commit into
mainfrom
feat/turn-budget

Conversation

@chubes4

@chubes4 chubes4 commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Docs Agent never passed max_turns to WP Codebox's run-agent-task.yml, so every run got the producer default of 12 turns.

On v0.33.4 the new apply-outcome evidence shows what was really happening in the "lost writes" runs (wp-codebox#2567). The agent made zero write calls: it spent all 12 turns reading and ran out before writing. Extra-Chill/extrachill runs 43725846859 (bootstrap, failed) and 43725849809 (maintenance, false no_changes pass) both show write_tool_calls.attempted: 0 and tool calls on turns 1–12, all of them reads, greps and listings.

This PR exposes max_turns (default 40) and time_budget_ms (default 30 min) and passes both through. The contract test asserts the delegation.

AI assistance: Extra Chill Bot (Claude).

@chubes4
chubes4 merged commit 4897641 into main Nov 15, 2026
3 checks passed
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