Repository navigation
docs(agents): external contributors' PRs — review, don't take over; post-merge supplements go to follow-up PRs - #1825
Merged
Conversation
…ost-merge supplements go to follow-up PRs Lesson from #1765 (2026-10-01): a first-time contributor's PR whose head branch was deleted was still MERGEABLE, but the Agent opened a replacement PR and suggested closing the original. Pin the rules: - external PRs: review + verification only — never push to their branch, never replace with an Agent-owned PR, never suggest closing; owner decides - deleted head branch ≠ dead PR (refs/pull/N/head freezes; check mergeable) - BEHIND is not a blocker - post-merge supplements: small follow-up PR referencing the original PR number, never appended to the merged PR
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.1803-pr.1825.b712480This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr1825.tgz
npm install -g packageInstall instructions are refreshed on each push. |
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.
把今天 #1765 事件的教训固化进 AGENTS.md(§4 Git Safety Rules 之下新增两小节):
1. External Contributors' PRs — Review, Don't Take Over
refs/pull/N/head,重建同名分支也不会重新挂上,但冻结的 head 仍可能MERGEABLE且检查全绿——先查mergeable/mergeStateStatus再下结论BEHIND不是阻塞:PR 不需要包含最新 master,合并按钮会处理2. Supplements After a Merge — Follow-up PR, Never the Merged PR
背景:#1765(InCerryGit 首次贡献)分支被删后 PR 仍 mergeable,Agent 却开了替代 PR #1822 并建议关闭原 PR;现已回滚(替代 PR 关闭、分支还原、留言撤回),教训入档。
纯文档改动(AGENTS.md +29 行),无代码。