📄 完善 PR 修订、范围与发布绑定规则 - #1684
Open
cyfung1031 wants to merge 4 commits into
Open
Conversation
cyfung1031
force-pushed
the
codex/agent-instruction-preflight
branch
from
August 21, 2026 22:17
47a1815 to
98f92a6
Compare
cyfung1031
marked this pull request as ready for review
August 21, 2026 22:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist / 检查清单
Description / 描述
完善贡献流程中的 PR 修订、范围与发布绑定规则,确保 branch/PR 的 review、report、PR metadata 更新和 branch publication 基于当前 live PR / remote state,而不是本地或已过期的 revision。
本 PR 仅修改以下文档:
AGENTS.md:统一 branch/PR review、report、PR create/update 和 branch publication 的文档入口,指向docs/develop.md#revision-scope-and-publication-binding与docs/pull-request.md。docs/develop.md:新增 revision、scope 与 publication binding 流程,包括绑定 live PR 的 repository/base/head/SHA、发现 revision 不一致时重新绑定并重新 review、从 live base-to-head diff 得出 scope/review 结论,以及发布前检查 remote head;明确授权的 branch rewrite 需要针对已绑定 SHA 使用 lease-protected force update。docs/pull-request.md:要求 PR 的 inclusion/exclusion scope claim 由最终 live base/head diff 支持,并在 commit、force-push、rebase、base change、conflict resolution 或 scope-claim edit 后重新验证。docs/DOC-MAINTENANCE.md:增加文档插入边界检查,要求保留既有逻辑块及其相邻说明,并重新检查周围顺序和链接。当前最终 diff 仅包含上述四个 Markdown 文件,不涉及运行时代码或配置。
Verification / 验证
node_modules/.bin/prettier。Screenshots / 截图
N/A — documentation-only change.