MoonshotAI / MoonshotAI/kimi-code

write_goal cannot draft goals in auto permission mode

Open
#1,329 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

Apologies if this is a naive report, but it felt related to the user experience. This can currently be worked around by manually exiting auto (or yolo) mode before invoking write_goal.

After a goal finishes in auto permission mode, invoking write_goal to plan the next goal fails to collect user
input:

  Could not collect your input
  AskUserQuestion is disabled while auto permission mode is active. Make a reasonable decision and continue
without asking the user.

This is an intentional design conflict:

• write_goal is defined as an interactive skill that drafts a /goal objective together with the user via
AskUserQuestion.
• auto mode explicitly tells the model not to call AskUserQuestion and to continue without asking.
• The permission policy enforces this by denying AskUserQuestion in auto mode, and tests confirm the block.

Because auto is the intended mode for unattended goal work, this creates a rough hand-off: the user returns to
write_goal after one goal ends, but the remaining auto state prevents the skill from functioning.

Proposal
When write_goal is invoked in auto/yolo mode, ask whether to exit auto so the goal can be drafted interactively.
For example:

• "Exit auto/yolo mode and draft the goal"

After the goal is drafted, CreateGoal can use the existing goal-start menu to let the user pick the mode for
the actual run.

Scope
Focus on the write_goal → next goal flow under auto permission mode.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the write_goal → next goal flow and trace how AskUserQuestion is handled while auto/yolo permission mode is active. Review the permission-policy tests that confirm the block and the existing CreateGoal goal-start menu. Done means invoking write_goal in auto/yolo mode can transition to interactive drafting, while the actual run still lets the user choose its mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.