-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
In orchestrator mode, the model can call attempt_completion even when:
- No todo list exists (no plan was created)
- Todo items remain incomplete (pending or in_progress)
The existing preventCompletionWithOpenTodos setting defaults to false, making it opt-in. Orchestrator mode relies on structured delegation through todo lists, so completion without verifying the plan is structurally premature.
After context condensation, the model may lose visibility of outstanding work and attempt completion early. While a separate PR (#11434) addresses the visibility side by including the todo list in the system prompt, completion enforcement is still needed.
Expected Behavior
In orchestrator mode:
- Completion should be blocked if no todo list exists
- Completion should be blocked if any todo items are not completed
- This should apply regardless of the global
preventCompletionWithOpenTodossetting
Impact
Orchestrator mode is designed for multi-step coordination. Premature completion means delegated subtasks may be abandoned or their results never synthesized.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working