fix(agents): pr-approver gates AUTO_MERGE on review:pass / human-approved #74
No reviewers
Labels
No labels
adr
agent:blocked-ci
agent:blocked-human
agent:blocked-resolver
agent:done
agent:in-progress
agent:no-touch
agent:pinged
agent:pr-open
agent:queued
agent:wip
area:board
area:funding
area:infra
area:phy
area:poplink
area:rtl
area:software
area:supply-chain
area:verification
ci-failed
ci-timeout
docs
do-not-merge
human-approved
needs-human-approval
needs-rebase
needs-triage
phase:1
ready-for-review
review:findings
review:pass
risk:tripwire
swarm:quarantined
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Fluid/fluidpop-v1!74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/pr-approver-gate-on-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #70. After
pr-reviewerstarted running,pr-approverwas still happy to auto-merge any PR withready-for-review+ green CI on its 60s loop — racing against the reviewer's 120s loop. So a PR could land before any semantic review had been recorded.This adds one triage row (Row 4b) immediately after the mergeability check:
review:pass— the new positive verdict frompr-reviewer(#70).review:findings— a blocking hold; never auto-merge a flagged PR.human-approved— keeps the governance-path bypass for PRs touching off-limits paths (PLAN.md, Accepted ADRs).SKIP_AWAITING_REVIEWdispatch is a silent noop (no label churn, no Telegram).pr-reviewerdrives the state forward.Test plan
bash -nclean.pr-approver. Verify#69(already labelledreview:pass) auto-merges. Verify that a fresh PR without review labels stays open (and pr-reviewer catches it within ~2 min, then approver merges).Notes
Off-limits per ADR-017 — manually merged after CI green.
CI green (head
3c321abc00), auto-approving3c321abc00398aa4e031CI green (head
398aa4e031), auto-approving