Skip to content

docs: align contributor entry docs with approved-bug-fix-only policy - #3089

Merged
wbxl2000 merged 14 commits into
MoonshotAI:mainfrom
kimi-agent-bot:docs/contributor-entry-alignment
Aug 19, 2026
Merged

wbxl2000 merged 14 commits into
MoonshotAI:mainfrom
kimi-agent-bot:docs/contributor-entry-alignment

Conversation

@kimi-agent-bot

@kimi-agent-bot kimi-agent-bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator

Related Issue

No tracking issue — this PR aligns contributor-facing docs with the issue-first triage policy currently enforced by the maintainers.

Problem

The contributor entry docs contradict the current triage policy:

  • CONTRIBUTING says clear bug fixes and typo/docs changes can go straight to a PR, but external PRs without an approved linked issue are now closed.
  • The feature request template and PR template say feature PRs "may be closed without review", while the current policy is that external feature PRs are not accepted at all.
  • The bug report template invites direct PRs for small bugs, which conflicts with the approval-first flow.
  • All contributor entry docs are English-only, while much of the community is Chinese-speaking.

What changed

  • CONTRIBUTING.md: "Before You Start" now states external PRs are accepted for approved bug fixes only (open an issue, wait for a maintainer /approve, then link it); the feature line states external feature PRs are not accepted; links the new Chinese version.
  • CONTRIBUTING.zh-CN.md: new — full Chinese version of the updated guide.
  • .github/ISSUE_TEMPLATE/1-bug-report.yml: added a "willing to submit a PR" checkbox; intro now points to the approval-first flow.
  • .github/ISSUE_TEMPLATE/2-feature-request.yml: states clearly that external feature PRs are not accepted.
  • .github/ISSUE_TEMPLATE/3-bug-report-zh-cn.yml / 4-feature-request-zh-cn.yml: new — Chinese versions of both issue forms (bug form includes the willing-to-pr checkbox; feature form keeps the no-external-feature-PR statement).
  • .github/pull_request_template.md: header note updated to the approved-bug-fix-only policy, bilingual.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works. — N/A: docs and issue templates only
  • Ran gen-changesets skill, or this PR needs no changeset. — no changeset needed (docs/templates only)
  • Ran gen-docs skill, or this PR needs no doc update. — no doc update needed

@changeset-bot

changeset-bot Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 47e00b7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 793abbc32d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

<!--
Thank you for your contribution to Kimi Code!
Please open an issue before sending a feature PR — PRs without prior discussion may be closed without review.
External PRs are accepted for approved bug fixes only: link an issue that a maintainer has approved (an `/approve` comment). External feature PRs are not accepted.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require the approved issue throughout the PR template

For an external contributor following this template, the new policy requires an approved linked issue, but the unchanged instructions at lines 10 and 25 still explicitly allow submitting without one by merely explaining the problem. This leaves the contributor-facing template internally contradictory and preserves the exact no-issue submission path that this change is intended to remove; update those prompts to require the approved issue.

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@47e00b7
npx https://pkg.pr.new/@moonshot-ai/kimi-code@47e00b7

commit: 47e00b7

Comment thread CONTRIBUTING.zh-CN.md Outdated

[English version](CONTRIBUTING.md)

感谢你花时间贡献!本项目迭代很快,来自社区的用心贡献让它保持锋利。下面的指南介绍了我们的工作方式,让你的 PR 更顺利地合入。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有点 AI 味

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改:「感谢你花时间参与贡献!这个项目迭代很快,离不开社区认真的贡献。下面的指南介绍我们的工作方式,帮助你的 PR 顺利合入。」(ef02557)

Comment thread CONTRIBUTING.zh-CN.md
Comment on lines +28 to +32
- `apps/kimi-code` — CLI / TUI
- `apps/vis` — 会话回放与调试可视化
- `packages/node-sdk` — 公开 TypeScript SDK(`@moonshot-ai/kimi-code-sdk`)
- `packages/agent-core`、`kosong`、`kaos`、`oauth`、`telemetry` — 内部引擎包
- `docs/` — VitePress 双语文档站

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不对

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这条对应英文原文 docs/ — VitePress bilingual docs site;仓库 docs/ 目录确实是 .vitepress + en/zh 双语结构,我没看出错在哪——你指的是哪里不对?盼指正,我立即改。

@kimi-agent-bot kimi-agent-bot Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改(c46681d / 47e00b7):项目结构按现状重写——agent-core-v2 为当前引擎(DI Scope 架构)、agent-core(v1)标注逐步废弃,补上 apps/vscode,内部包列表更新为 klient / kap-server / protocol / transcript / kosong / kaos / oauth / telemetry。中英文已同步。

Comment thread CONTRIBUTING.zh-CN.md
- 用 `pnpm changeset` 生成并按提示操作(涉及哪些包、什么 bump 级别)。
- 包选择与 bump 级别的仓库约定见 `.changeset/README.md`。在本仓库使用编程 agent 时,使用 `gen-changesets` 技能。

## Pull Requests

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

既然我们不接受 feature PR 是不是不需要这个 section 了

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已处理:删掉「feature PR 用模板」的过时表述,本节保留 CI 检查与文档更新提示(中英文两个文件已同步,ef02557 / 1f8bb83)。整个 section 没有删,因为 CI 说明仍然需要;如你认为应整节去掉,说一声我就删。

@liruifengv liruifengv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wbxl2000
wbxl2000 merged commit c8029f9 into MoonshotAI:main Aug 19, 2026
15 checks passed
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Aug 20, 2026
…oonshotAI#3089)

Cherry-picked from upstream 0.38.0 (MoonshotAI#3089) onto fork.
CONTRIBUTING.md: took upstream's expanded package list (adds
agent-core-v2, klient, kap-server, protocol, transcript).
Upstream's CONTRIBUTING.zh-CN.md added (auto-applied).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants