roadmap BUILT

14. Kernel objects from untyped: remove the kernel heap

In brief. Retype TCBs, endpoints, page tables; delete the kernel heap

Why it matters. critical path: a verifiable kernel cannot allocate. Built: the kernel has no allocator; see design/kernel-objects-from-untyped.md

Deliverable. Retype TCBs, endpoints, and page tables out of untyped memory, the way milestone 11 already does for user pages, and delete the kernel heap and slab.

Why. This finishes §10's deferred axis. Milestone 11 stopped the kernel allocating for user memory; the kernel's own objects still come from its heap. It is also the real prerequisite for the "small enough to verify" endgame: seL4's proof leans on a kernel that never allocates. Biggest item here, and the seL4 long tail by reputation.

On the critical path (§14 (the project's direction: a verified-Rust capability microkernel)). Verifiability is the goal, so this is not an optional purity win. A verifiable kernel cannot allocate dynamically, so removing the heap is a prerequisite for verifying the kernel at scale rather than only its pure-logic crates. It still also buys the smaller payoff on its own terms: the kernel-heap-exhaustion class disappears entirely.

Follow-on

Index row

removes the kernel heap: the prerequisite for "small enough to verify"