decisions AMENDED

151. The goal of the repository split is independent release and third-party programs

calef, 2026-09-15, in conversation, thinking through the eventual multi-repository structure: "Independent releases is the goal and third party programs is the goal."

What this settles

Milestone 39 (repository structure for a loosely-coupled OS) recorded four options and took no decision, on the ground that nothing external needed one yet. Its options B, C and D were three ways of reaching, or deferring, a decoupled structure; the open question underneath them was what the structure is for. This decides that:

So the endpoint is the decoupled ecosystem, not the monorepo held forever. Milestone 39's own recommendation is consistent with this: get there through option B (workspaces inside one repository) and let the distribution be a manifest repository (basalt, reserved by milestone 120 (the rename)). Each piece leaves that repository whole, in the order below, rather than by directory surgery up front.

The order: bottom-up

Nothing that leaves this repository refers back into it. So the split goes bottom-up in the dependency graph, and nothing that has left depends on a path or a pin into this repository. This repository may depend on what has left. The crates that get repositories of their own leave first: the publishable crates and the crates more than one repository consumes. The packages follow, each once the shared crates it links have left, and each takes the crates only it uses with it in the same move. The leaf pilot jh7110_entropy (milestone 818 (proven JH7110 TRNG logic, released on its own)) leaves first, then the contract crates, then the program packages and tooling. The kernel leaves last among the code, to a repository named nife-kernel (ratified 2026-11-03, the name only). The name is distinct on disk from the kernel/ directory inside this repository, matches the hyphenated repositories that are not crates (crate-workflows and fuzz-host), and says what the repository holds. Creating the repository still needs the architect's separate, named go. Once everything has left, nifeos/nife holds only the history.

Churn does not hold a move. A contract crate leaves and carries a version while its interface still changes, and each consumer checks that version (milestone 956 (the linked interfaces carry checkable versions)). The single-command, all-architecture script/test proves the whole system today, and the split has to keep that proof running (see BUGS).

The model is a Linux distribution, not a BSD (calef, 2026-09-15)

A BSD ships a base system: kernel plus core userland as one cohesive tree, developed and released as a unit, with ports layered on top. There is a privileged base, and it is the OS. A Linux distribution has no base tree. The kernel is one upstream project on its own cadence, and every userland piece is a separately-versioned upstream. The distribution is an integrator that packages those independent pieces together with glue and a package manager, owning none of them.

nife is the second. Three consequences that are the point of naming it rather than a stylistic note:

The model does not set the order. The bottom-up rule above does. A piece lives in this repository until its move, and the moves start at the leaves. The target model being a distribution rather than a base system neither hastens nor holds a move. It corrects the mental model of the endpoint, and with it the maintainer's earlier BSD-leaning comparison.

What is unblocked

BUGS