mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-05 05:38:22 +00:00
* chore: add regression and user-impact review to the PR workflow The review-pr skill now runs a separate regression pass with impact levels and a repository-specific list of user populations and contract files, the PR template asks authors for a behavior-change table, Code Review Rules in AGENTS.md encode the same checks for automated review, and changesets must name the behavior users lose when a default flips. * chore(agents): stop instructing agents to invoke the review-pr skill The skill is user-triggered only (disable-model-invocation), so AGENTS.md no longer tells agents to run it; the Code Review Rules keep pointing at surfaces.md for the population and contract list. * chore(review): define impact levels by consequence and close inventory gaps Impact levels are now decided in three steps from the change itself (consequence, escape hatch, silent-input upgrade) with changeset and docs kept in the remediation check; escape-hatch wording allows explicit maintainer sign-off; prompt-text rule names the receiving population; one-sided diff evidence is accepted; release and packaging CI, the klient facade, the transcript contract, kosong providers, and all env-var access forms are added to the surfaces inventory.
45 lines
2.2 KiB
Markdown
45 lines
2.2 KiB
Markdown
<!--
|
||
Thank you for your contribution to Kimi Code!
|
||
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.
|
||
外部 PR 仅接受获批准的 bug 修复:请链接维护者已批准(`/approve` 评论)的 issue;不接受外部 feature PR。
|
||
|
||
See https://github.com/MoonshotAI/kimi-code/blob/main/CONTRIBUTING.md for more.
|
||
-->
|
||
|
||
## Requirement or Bug
|
||
|
||
<!-- If there's an issue, write Resolve #(issue_number).
|
||
If it's a requirement, describe it briefly in plain language (under 100 characters). -->
|
||
|
||
## Bug Reproduction Steps
|
||
|
||
<!-- Required for bug PRs only; write N/A for feature PRs.
|
||
Prefer writing in the issue and linking here; if no issue exists, write directly. -->
|
||
|
||
## Root Cause
|
||
|
||
<!-- Required for bug PRs only. Explain the root cause.
|
||
State whether this is a fundamental fix or a workaround. -->
|
||
|
||
## Code Changes
|
||
|
||
<!-- Describe the code changes in plain, easy-to-understand language for the reviewer. -->
|
||
|
||
## Behavior Changes and Affected Users
|
||
|
||
<!-- List every observable behavior this PR changes, one row each, including behavior you
|
||
consider "unchanged" whose branch conditions moved, and prompt-text edits sentence by sentence.
|
||
| Behavior | Before | After | Who relies on the old behavior | Escape hatch |
|
||
Name affected users concretely (client, provider dialect, platform, config state, data written
|
||
by older versions, external scripts); see .agents/skills/review-pr/surfaces.md.
|
||
Write "None" with evidence if nothing observable changes.
|
||
Then list affected modules and the test coverage for each row. -->
|
||
|
||
## Checklist
|
||
|
||
- [ ] I have read the [CONTRIBUTING](https://github.com/MoonshotAI/kimi-code/blob/main/CONTRIBUTING.md) document.
|
||
- [ ] I have linked a related issue (external PRs: issue must have a maintainer's `/approve`).
|
||
- [ ] I have added tests that prove my feature works.
|
||
- [ ] The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR.
|
||
- [ ] Ran `gen-changesets` skill, or this PR needs no changeset.
|
||
- [ ] Ran `gen-docs` skill, or this PR needs no doc update.
|