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

未关闭
#771 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
cli

调研方向

通过在 Windows cmd.exe 上使用 --yolo 启动 Command Code 1.36.0,并请求一个会触发 enter_plan_mode 的计划来复现该问题。跟踪对模型提议的模式切换的确认处理,并将其与 bypass 行为进行比较。当 enter_plan_mode 在 bypass 模式下不会暂停等待确认,或提供一个明确的永不询问选项时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。