feat: map engine max-turns and timeout-minutes to Copilot CLI arguments#134
feat: map engine max-turns and timeout-minutes to Copilot CLI arguments#134jamesadevine merged 5 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/75070f2d-6d49-4a55-b510-334a170b04af Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
|
@copilot document the role of max turns in agents.md |
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/8c7be6ee-473d-4cde-96ca-67ec8b8ca65c Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Added an "Engine Configuration" section to |
|
@copilot can we add and document --max-timeout too? Reference GH-aw as before. |
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/37d8db70-af7e-4c5b-bbab-e3c097d5c2e2 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Added Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
/rust-review |
|
✅ Rust PR Reviewer completed successfully! |
🔍 Rust PR ReviewSummary: Looks good — clean, correct implementation with solid test coverage. Findings✅ What Looks Good
|
|
src/compile/common.rs:313-318 — No validation that max_turns > 0 or timeout_minutes > 0. A user setting max-turns: 0 will emit --max-turns 0, which could silently mean "zero turns allowed" and cause confusing pipeline behavior. Consider either clamping to a minimum of 1 at compile time or emitting a warning. This is low priority since u32 makes it an explicit opt-in to zero, but worth a follow-up. AGENTS.md (new sections) — The closing sentences of both max-turns and timeout-minutes sections still say "in the generated pipeline's agency params". Given PR [WIP] Remove agency references and update agency_params to copilot_params #135 is in flight to remove all agency terminology, these new docs will immediately need updating. Consider using "copilot params" here to stay consistent with the direction of the project. |
…pilot params terminology Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/8826b5cb-7d91-4b7b-9e18-6b5f9e1d02f7 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Both addressed in b61c58b:
|
engine: max-turns:andengine: timeout-minutes:were parsed and stored inEngineConfigbut never forwarded to the Copilot CLI, unlike gh-aw which maps them to--max-turns <value>and--max-timeout <value>.--max-turns {n}togenerate_copilot_params()when set--max-timeout {n}togenerate_copilot_params()when setmax-turns: 0ortimeout-minutes: 0are set, following the existingeprintln!warning patternAGENTS.md, including a field reference table and dedicated subsections explainingmax-turnsandtimeout-minutes{{ agency_params }}section inAGENTS.mdto list both--max-turnsand--max-timeoutagency_params→copilot_params, remove built-in MCP spawning, and update docs #135Now produces
--max-turns 50 --max-timeout 30in the generated pipeline's copilot params.