roadmap BUILT

105. The two forks milestone 22 named and left

Raised 2026-08-04. Milestone 22 (trusted init) built the supervision tree and, in notes/trusted-init.md, recorded two questions it deliberately did not answer, both marked "calef's call, not a thing to slip in". This block stated them precisely enough to be decided and picked neither. Both are answered now, and the one that needed building is built. §164 (whether the kernel resolves a tid it already sent), written up 2026-09-19 by milestone 435 (forty-five milestones are gated on a decision nobody wrote down)'s lane, asked fork two again, and §148 answers it.

Fork one: a reap-only right, answered without one

The fact was that Untyped::DESTROY and RETYPE both need WRITE, so a root supervisor able to restart a dead tier-one server would be one able to build processes.

Answered twice over, and neither answer is a rights bit.

Nothing was built for fork one, because it is a ruling about a pattern. See Follow-on.

Fork two: which child died, answered by §148 as amended, and built

The fact was that the death message names the dead thread by tid (§26 (the fault endpoint), item 5). Nothing turned a tid into something a builder holds, so a supervisor with several children could not say which one died.

calef's ruling, 2026-10-04 (UTC), recorded as §148's amendment: "R3, unless the IPC benchmarks move." The kernel keeps the badge on a child's supervision capability and delivers it, the label the builder set, with the death message. No RESOLVE method, so there is nothing to probe with and REAP's single-refusal design is untouched.

What was built (2026-10-05)

Proven

These pass on aarch64, riscv64 and x86_64 under QEMU, as do the existing supervision, authority and reap tests on aarch64.

The benchmark condition, measured against the base commit

script/fastpath-footprint is where ipc_send_receive and ipc_call_reply are named, and both are byte-identical to the base commit (1b4e13ef3) on all three ISAs: aarch64 4828 and 6084 bytes, riscv64 4040 and 5048, x86_64 5303 and 6666. The R3 kernel code is off both closures.

script/bench (icount, deterministic, base against branch, each run three times with identical results): ipc_rtt and call_reply unchanged on aarch64 and x86_64, call_reply unchanged on riscv64. Three rows moved, all inside the 10% band: riscv64 ipc_rtt 174 to 176 (+1.15%), riscv64 ipc_rtt_el0 373 to 377 (+1.07%), aarch64 ipc_rtt_el0 2194 to 2233 (+1.78%). The riscv64 ipc_rtt move persists with the base kernel built against this branch's userspace, so it is not the kernel IPC path. Removing the new Thread field changed nothing; removing the zeroing mov took riscv64 ipc_rtt_el0 back by 2 ticks and aarch64 by none. Those are layout and userspace effects, reported rather than explained further. Neither named benchmark left its band, so the ruling stands at R3 and the R2 fallback was not reached.

Re-measured after merging main at d0ca36c5b (which moved each thread's capability table behind its own lock). Both footprint closures are byte-identical to that main on all three ISAs. Against it, script/bench moves only aarch64 ipc_rtt_el0 (2200 to 2187) and riscv64 ipc_rtt (181 to 178), both downward, which is what layout noise looks like when it is not a cost.

Follow-on

BUGS

Index row

A reap-only right split out of WRITE, and a way for a supervisor of several children to say which one died. The first is answered by §32 and §148 without a right; the second is §148 as amended (R3), built: the kernel keeps the badge on a child's supervision capability and hands it to the supervisor beside the death message