decisions DECIDED

40. A supervisor's death is its subtree's death; there is no reaper of last resort

Decided 2026-07-30 (calef), from the disown question in milestone 48. When a supervisor dies, its children die with it and the parent restarts the subtree. There is no privileged process that can collect any corpse in the system, and there will not be one.

Why Unix needs one and we do not

Unix reparents orphans to PID 1, which reaps them. That works, and it costs an authority concentration: a singleton whose power is "collect any corpse anywhere". It exists to paper over a structural gap, namely that an orphan has no owner.

Here there is no gap. A child's resources come from its supervisor's region, which is already the shape of the supervision tree built in milestone 22 phase B.2: root_supervisor builds spawner and holds its region; spawner builds children out of its own WRITE-only budget. Destroying spawner's region reclaims spawner and everything built from it, in one act, through §16's object revocation. There is nothing left to reap individually, so the answer is ownership rather than a reaper.

Erlang/OTP reached the same design from the other direction: a dying supervisor takes its children with it and the parent restarts the subtree, rather than orphans being adopted. Convergence from a different tradition is worth something.

The hole in §32 that makes this close to the only coherent answer

§32 authorizes Endpoint::REAP by checking that the named thread's recorded fault_ep is the endpoint being invoked. If a supervisor dies and its endpoint dies with it, nobody can ever satisfy that check for its children: they become permanently unreapable through the supervision path. The memory is still reclaimed when the region is destroyed, so this is not a leak, but the supervision route is closed.

Reparenting would therefore require the endpoint to outlive its holder and something to re-stamp fault_ep on the orphans. That is kernel policy of exactly the kind §4 exists to refuse. The cascade needs neither.

Two caveats, recorded because they are load-bearing

Rejected