anomalyco / anomalyco/opencode

[FEATURE]: Remove overly strict git mutation restriction in Kimi system prompt (kimi.txt)

Open
#48,780 1 comment 0 reactions 1 assignee View on GitHub

@nexxeln is already working on this.

Since Sep 13, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

PR #20259 introduced a dedicated system prompt for Kimi, but it contains a very strict restriction on git mutations:

https://github.com/anomalyco/opencode/blob/dff8fbc149fb7492e4f07b713ac31ea70d9a541c/packages/opencode/src/session/prompt/kimi.txt#L45

Because of this, the agent cannot automatically make atomic commits or other git actions when using Kimi, even if I have allowed commits in AGENTS.md.

Also, none of the other model system prompts have restriction like that.

I think this rule is unsuitable and should be removed.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.