CommandCodeAI / CommandCodeAI/command-code

--yolo/bypass still asks for confirmation when model calls enter_plan_mode

未關閉
#771 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

描述

Summary

In --yolo/bypass mode, Command Code still prompts for confirmation when the model calls enter_plan_mode, which breaks expected non-interactive behavior.

Expected Behavior

When running with --yolo/bypass, there should be no interactive confirmation prompts for model-proposed mode switches (including enter_plan_mode), or there should be a clear option/flag for “never ask” behavior.

Actual Behavior

A confirmation prompt appears when the model calls enter_plan_mode, even with --yolo/bypass enabled. and just pauses

Steps to reproduce the issue
  1. Start Command Code with bypass enabled (--yolo).
  2. Run a prompt/task that causes the model to call enter_plan_mode. or just ask it say "plan differently"
  3. Observe a confirmation prompt asking to approve the mode switch.
Command Code Version

1.36.0

Operating System

Windows

Terminal/IDE

Unknown

Shell

cmd.exe

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

在 Windows cmd.exe 上使用 --yolo 啟動 Command Code 1.36.0,並要求一個會觸發 enter_plan_mode 的計畫,以重現此問題。追蹤對模型提議的模式切換之確認處理,並與 bypass 行為比較。當 enter_plan_mode 在 bypass 模式下不會暫停等待確認,或提供明確的永不詢問選項時,即代表完成。

由索引模型根據 Issue 內容生成。

評估

領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。