chore(agents): place Polish before Bug Fixes in changelog sections - #1527
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 732f94bbd9
ℹ️ 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".
|
|
||
| ```text | ||
| Features → Bug Fixes → Polish → Refactors → Other | ||
| Features → Polish → Bug Fixes → Refactors → Other |
There was a problem hiding this comment.
Keep pre-changelog ordering instructions in sync
Changing this canonical order leaves the preview workflow with contradictory hard-coded ordering: .agents/skills/pre-changelog/SKILL.md still says to bucket/render Features / Bug Fixes / Polish / Refactors / Other and lists the Chinese headings as 新功能 / 修复 / 优化 / 重构 / 其他 (lines 42-43, with the sample output showing 修复 before any polish section). For release PRs that contain both fixes and polish, running pre-changelog can therefore produce the old preview order while the post-release docs sync uses the new order, defeating the intended pre-release review of the final changelog layout.
Useful? React with 👍 / 👎.
Related Issue
N/A — agent workflow tweak.
Problem
The
sync-changelogskill ordered changelog sections as Features → Bug Fixes → Polish → Refactors → Other. We want Polish (优化) to appear before Bug Fixes (修复) so user-visible improvements are listed ahead of fixes in the docs changelog and the pre-release preview.What changed
Reorder the section order in
.agents/skills/sync-changelog/SKILL.mdto Features → Polish → Bug Fixes → Refactors → Other, and update the section-definition table to match.pre-changeloginherits this order automatically since it delegates ordering tosync-changelog.Checklist
gen-changesetsskill, or this PR needs no changeset. (No changeset — skill doc, not bundled)gen-docsskill, or this PR needs no doc update. (N/A — skill doc change)