Withdraw an offer
A fork's maker can take back an offer they sent to the parent (see offer-commit-upstream.md)
while nobody upstream has merged it. The pull closes as dropped, the receipt reads
Withdrawn, and the commits stay in the fork, so the same commit can be offered again.
Only the one who sent the offer, or the fork's owner, may. Anyone else meets a 404 on the page;
over MCP an upstream writer who can read the receipt is told forbidden. A merged offer is the
upstream's and is refused. The close and the receipt's mark are one transaction.
On the web
The fork's page lists Sent upstream: every offer the fork has sent, each with its state
(waiting, taken, declined or withdrawn). Withdraw shows only beside a waiting offer you may
withdraw; press it and confirm. You land on the receipt at /offers/<receipt>.
In the terminal
Open the palette's Offers upstream, move with j/k to the offer and press w twice: the
first press says what it will do, the second withdraws. Any other key cancels. The screen is
src/tui/screens/offers.ts; it calls withdrawByReceipt, the page's action.
Over MCP
fork with { "action": "withdraw", "receipt": "<id>" } returns the receipt with
state: "withdrawn". A second try says the offer is no longer open.