MoonshotAI / MoonshotAI/kimi-code

Agent does not read AGENTS.override.md

Open
#3,566 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What version of Kimi Code is running?

0.41.0

Which open platform/subscription were you using?

OAuth

Which model were you using?

kimi-k3

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

I have have ~/.codex/AGENTS.md which is read.

The current project has as project root (the git root) $REPOBASE
and $REPOBASE/AGENTS.override.md exists.

Kimi code cli does not read $REPOBASE/AGENTS.override.md.

What steps can reproduce the bug?

$REPOBASE/AGENTS.override.md

What is the expected behavior?

No response

Additional information

No response

Contribution
  • I am willing to submit a PR for this bug fix myself (please wait for maintainer approval in this issue first)

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 by reproducing the issue with ~/.codex/AGENTS.md and $REPOBASE/AGENTS.override.md, then trace the CLI's instruction-file discovery entry point. Check how the project root is determined and how AGENTS files are selected. Done means a project-root AGENTS.override.md is read by Kimi Code CLI alongside the existing supported instructions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.