Severing a fork from its upstream
A fork's admin can stop following its parent: Settings › Danger zone › Sever from upstream.
- The confirm names the parent (
ann/yard) and says what stops: updates from it and offers to it. A parent the viewer may not read is shown as "its parent". - Only an admin, from this origin, can post it; anyone else is refused and nothing changes.
- The confirm, the Danger zone and the MCP say the same preview (
severPreview): what stops flowing down (updates) and up (offers, with how many are open), and who is affected. - The fork's code and history stay. The history records
repo.detached. - Undo (on the fork's home, beside the receipt "Severed <when>; undo until <when>") restores following for seven days: it names the parent again and borrows its objects, so what the parent did meanwhile arrives as an ordinary update. Offers sent before the sever are listed at the parent again; none could be made during the gap. The history records
repo.reattached. - The fork's home then reads "On its own since <date>." in the following card's place, with Follow upstream again (Settings › Follow upstream) for an admin.
In the terminal it is the repository's About screen (src/tui/screens/about.ts): an admin presses x on a fork, reads the plan in the confirm and picks Detach. Both doors run detachFromParent, so the gate and the repo.detached event are the same.
On the MCP it is the fork tool: { repo, action: "sever" } plans; add confirm: true to do it; undo: true follows again.