You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "PR Review Etiquette" section in AGENTS.md (the verbatim-carry review-loop contract) already says:
mergeStateStatus: CLEAN only checks required statuses; it does not block on bot review comments. Drive the loop to green - review confirmed on the latest head SHA and every actionable finding closed - and then wait for the maintainer's explicit permission to merge.
Despite that caveat, an agent working in a derived repo (ptr727/ESPHome-NonRoot) still read mergeStateStatus: CLEAN (required checks passing) as "safe to merge" and was about to proceed while a Copilot review finding was still open. The maintainer caught it. The contract was correct; the wording was apparently still easy to misapply.
Request
Make the merge gate unambiguous and hard to misread - ideally a single explicit precondition checklist near the top of the section, e.g.:
Do not merge unless ALL hold:
Required status checks are green (mergeStateStatus: CLEAN), and
A Copilot review is confirmed on the current head SHA, and
Zero open/unresolved Copilot review threads remain on that head, and
The maintainer has given explicit merge permission.
And restate the trap directly: "CLEAN reflects only required statuses - it never reflects open bot review comments, so CLEAN alone is never sufficient to merge."
Optionally suggest an enforcement mechanism (a required check / branch-protection rule that fails while unresolved review threads exist) so the gate isn't purely convention.
Why upstream
This is the cross-cutting review-loop contract carried verbatim by every derived repo; fixing the wording here fixes it for all of them. Reported from ptr727/ESPHome-NonRoot per the "Staying in Sync and Reporting Drift Upstream" rule.
Activity
Harden merge gate + prerelease guard, and de-prose comments (#190)
Release: promote develop to main (#191)