Repository navigation
Description
Goal
Fold back finding 10 on #73: task finish passed its gates and then GitHub refused the merge, so three numberguess PRs merged around the protocol's one merge point. Implement the R1 Decision: when the PR's only approving reviews are from App identities and GitHub's review decision still demands review, refuse with a precise machine code and guidance naming the supported configurations (bypass actor for solo operator-authored PRs; non-author human approval on the App's recommendation for App-authored PRs). Add an explicit bypass path inside the verb — permitted only when the ruleset lets the caller bypass — that performs the admin merge and records the bypass as a PR comment, keeping the audit trail in the protocol instead of around it. Tests ride along per #46.
Requirements
M5-R1
Plan
tracker.PRgainsReviewDecision(gh'sreviewDecision: empty when no rule,APPROVEDwhen satisfied,REVIEW_REQUIREDwhen GitHub still demands review);PRInfopopulates it.MergePRBypassjoins the Tracker interface: rebase-merge with--admin.task finish: after the protocol's own review gate passes (non-doer approval or recorded operator confirmation), aREVIEW_REQUIREDdecision refuses withrefused[REVIEW_NOT_COUNTED]naming the supported paths from the R1 Decision — a non-author human approves on the reviewer's recommendation, or--bypass. With--bypass: the invoker must be a human identity (crew identities refuse — a bypass is an operator act), a**Merge bypass:**comment is recorded on the PR citing the R1 Decision, then the admin merge runs; if the ruleset lists no bypass actor GitHub's own rejection surfaces unchanged.- The merge-path choice is extracted pure (
mergeGate) and unit-tested per feat: request review from the reviewer-role holder #46; usage text, SPEC §6's task-finish row, and the identities.md "Known quirks" bullet (which said "verify before depending" — it now has the verified answer) updated in the same PR.
Ask-the-human points
None — implements the R1 Decision as recorded on #73.
Activity
radiusred-cody commentedon Aug 25, 2026
Started by @radiusred-cody[bot].
feat: refuse and bypass task finish under uncounted App approvals (#82)
fix: gate before recording, and word the bypass as the act (#82)
feat: refuse and bypass task finish under uncounted App approvals (#82)
fix: gate before recording, and word the bypass as the act (#82)