MoonshotAI / MoonshotAI/kimi-cli
Kimi CLI is prompting for approval in yolo mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
Kimi Code v0.12.0
Which open platform/subscription were you using?
the one with the api key
Which model were you using?
k2.6
What platform is your computer?
debian
What issue are you seeing?
I'm in yolo mode, but keep getting prompted for approval to write a file. I think this is when the agent is writing a file outside of the CWD, eg. in /tmp
What steps can reproduce the bug?
Use the thing in yolo mode, have it create a file in /tmp
What is the expected behavior?
Creates the file without approval
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Kimi Code v0.12.0 on Debian with yolo mode and a file write under /tmp, then trace the approval handling for paths outside the current working directory. Done means the file is created without an approval prompt in yolo mode, with a regression test covering this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100