roadmap BUILT

590. The booted system starts its network stack

(Number provisional: minted by the lane, to be confirmed at merge.) Promoted from the proposal the-booted-system-has-no-network, filed 2026-09-24 by the rung 3a consumer lane of milestone 198 (a package manager, and the trivial install that makes a second customer possible). That lane found its package fetch could run only inside the kernel's test harness. Built 2026-09-24 on aarch64 and riscv64 under QEMU; x86_64 has no NIC under QEMU, recorded below.

The proposal was filed at Gate: DECISION, naming three questions. The maintainer promoted it for building with a standing limit (no new system call, spawner method or wire format), and each question got the answer the tree already gives in the analogous case. All three are code and cheap to reverse; calef can overrule any of them without a migration.

What it does

The progenitor (crates/system_initializer) now builds net_stack at boot, from a virtio-net device the kernel grants it, and a program whose manifest declares network is endowed a WRITE view of the stack's endpoint. A person at the prompt can reach the network, and one who types a program that did not declare it cannot.

progenitor: network stack up; DHCP leased 10.0.2.15
...
$ caps network_echo_client --mem 4
  network_echo_client would grant the new process, and nothing else:
    cap 0  endpoint  result   report its answer back
    cap 1  untyped   4 pages  split from this shell's budget
    cap 10 endpoint  network  WRITE. it may open outbound sockets through the network
                              stack, and nothing else: it cannot reach the card, cannot
                              listen, and cannot hand the network to anything it spawns.
                              each socket it opens is a capability of its own; it cannot
                              reach another program's sockets
                              a program without this row reaches no network at all
$ network_echo_client --mem 4
  echo peer 10.0.2.9:7777 answered: nife-net!
$ unreachable_network_witness
  network: refused (no capability at slot 10)

That transcript is script/swish-check's, on both legs, and it is the milestone's claim. Every earlier network test started net_stack from the kernel harness (kernel/src/user/virtual_io_service.rs), so none of them said anything about the system a person boots.

The pieces

The proposal's three questions, answered

What this unblocks for milestone 198

Rung 3a's package fetch (pull request #1273) runs as a role of net_stack's binary under the kernel harness. It can now be a program at the prompt: declare network, take --mem for its page, and the progenitor endows it the stack this milestone builds. The proposal's exit criterion named that fetch; the echo peer stands in for it here because #1273 had not landed when this was built. The move is milestone 198's, and needs no new mechanism from this one.

BUGS

Follow-on

Index row

The progenitor builds net_stack from a NIC the kernel grants it, and a program declaring network is endowed its endpoint at slot 10. swish-check reaches the runners' echo peer from the prompt on aarch64 and riscv64, and a witness that declares nothing is refused.