An approval says what it was given for
An approval is recorded against the head and the base tip it was given for. When the base moves after it (another pull landed), the approval is still counted, and every door says the base moved.
- Page: the reviews chip in the merge box on the pull's Files step reads "the base moved since the approval" in red. Nothing is added while the approval is current.
- API:
GET /api/v1/repos/:owner/:name/pulls/:numbercarriesapprovedAt: { at, head, base, current }, ornullwhen no one's latest verdict approves.baseisnullfor an approval given before the base was recorded;currentisfalseonce the head or the base moved. - MCP:
pullswith arepocarriesmovedSinceApprovalon each row; the card says "moved since approval". - Inbox: a green pull's "look" row, and a pull's "waiting" row, on
/asksand the home's ask lines end "moved since approval" once the head or the base is no longer the one approved. The base is the one the stale-asks sweep last read (no git on the request); before a sweep has read it only the head is compared. One rule for the inbox and MCP:src/core/approval_at.ts. - Terminal: the pull screen's merge box adds "the base moved since the approval" after the approval count.
It is information, not a gate: the base moves with every landing, so refusing a merge on it would ask for a new approval after every unrelated merge. A moved head still dismisses the approval, as before.