Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
This repository was archived by the owner on Sep 23, 2026. It is now read-only.

Plan mode: agent loops indefinitely on Bash echo / ReadFile instead of writing plan (kimi-code 0.38.0, K3) #2623

Description

@zheng001001001

What version of Kimi Code CLI is running?

0.38.0

Which open platform/subscription were you using?

uv

Which model were you using?

k3

What platform is your computer?

linux

What issue are you seeing?

Plan mode 下,探索完成后模型不执行写计划/ExitPlanMode,
而是死循环重复调用:

  1. Bash echo <任意字符>
  2. ReadFile 同一文件
    每次人工打断并告知"不要循环"后,模型表面认错,
    下一轮又进入同样的循环。

What steps can reproduce the bug?

  1. kimi --plan 进入 plan 模式
  2. 给它一个需要较多探索的任务
  3. 探索完成后观察行为

What is the expected behavior?

探索完成后应写入 plan 文件并调用 ExitPlanMode。

Additional information

kimi-session-session_af4f4c16-51c8-446d-9892-53c2406d2e86.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions