Skip to content

📄 完善 PR 修订、范围与发布绑定规则 - #1684

Open
cyfung1031 wants to merge 4 commits into
mainfrom
codex/agent-instruction-preflight
Open

📄 完善 PR 修订、范围与发布绑定规则#1684
cyfung1031 wants to merge 4 commits into
mainfrom
codex/agent-instruction-preflight

Conversation

@cyfung1031

@cyfung1031 cyfung1031 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Checklist / 检查清单

  • Fixes mentioned issues / 修复已提及的问题
  • Code reviewed by human / 代码通过人工检查
  • Changes tested / 已完成测试

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-bindingdocs/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 / 验证

  • 已按当前 PR base/head diff 核对变更范围:4 个 Markdown 文件。
  • 运行时测试不适用,因为本 PR 不修改运行时代码或配置。
  • Prettier 未执行:本地缺少 node_modules/.bin/prettier

Screenshots / 截图

N/A — documentation-only change.

@cyfung1031
cyfung1031 force-pushed the codex/agent-instruction-preflight branch from 47a1815 to 98f92a6 Compare August 21, 2026 22:17
@cyfung1031 cyfung1031 changed the title 📄 绑定 AI 代理审查与发布到最新 PR 修订 📄 完善 PR 修订、范围与发布绑定规则 Aug 21, 2026
@cyfung1031
cyfung1031 marked this pull request as ready for review August 21, 2026 22:47
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.

1 participant