fix(todo): require parallel policy choice

This commit is contained in:
Tianyi Cui
2026-07-29 16:44:13 +08:00
parent 3a61c4c568
commit 4c23b6d7fb
24 changed files with 102 additions and 80 deletions

View File

@@ -1804,13 +1804,13 @@ Requires: `tools`
/** Model-facing todo tool configuration. */
export interface Config {
/**
* Whether several todos may be `in_progress` at once (default true). True suits a deployment
* whose agents run work concurrently — subagents, background commands, workflow fan-out — and
* the description then instructs the model to mark every actively worked task. False restores
* the single-active discipline: the description asks for exactly one, and a call marking more
* is rejected.
* Required deployment choice for whether several todos may be `in_progress` at once. True suits
* agents that run work concurrently — subagents, background commands, workflow fan-out — and the
* description then instructs the model to mark every actively worked task. False restores the
* single-active discipline: the description asks for exactly one, and a call marking more is
* rejected.
*/
allowParallelInProgress?: boolean
allowParallelInProgress: boolean
}
```