-
Notifications
You must be signed in to change notification settings - Fork 2k
exit_plan_mode returns false rejection in YOLO mode #2522
Copy link
Copy link
Closed
Labels
type/bugSomething isn't working as expectedSomething isn't working as expected
Description
What happened?
The exit_plan_mode tool does not work correctly in YOLO mode. When the model calls exit_plan_mode to present a plan and exit plan mode, it returns:
Plan execution was not approved. Remaining in plan mode.
The agent loop continues, but the model believes the user rejected its plan. This causes the model to behave incorrectly — it may try to revise the plan, ask clarifying questions, or otherwise stall instead of proceeding with implementation.
What did you expect to happen?
In YOLO mode, exit_plan_mode should auto-accept the plan and transition out of plan mode, allowing the agent to proceed with coding without user confirmation.
Additional context
- The behavior of
exit_plan_modein non-interactive CLI mode and ACP mode has not been verified and may have similar issues — these modes should also be checked.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugSomething isn't working as expectedSomething isn't working as expected