756. process-tools, core-tools and disk-tools are the first code to leave this repository
(Number provisional until the merge queue lands it. Title and slug are drafts.) It began as
the proposal which-repository-split-goes-first, written and promoted inside pull request #1609
on 2026-10-04 (UTC), so it never reached main and carries no promoted_from line. Written by the lane
lane/split-order-proposal on calef's prompt of 2026-10-04: "I do think we should soon be breaking
things out of the mono repo and into their own repos. I also think the basalt repo is sitting there
waiting to package up those repos for its distribution." §151 (the goal of the repository split is
independent release) ruled the destination and left the order "to be ruled on its own". The
measurements are in notes/the-first-split.md.
The ruling
calef ruled both questions on 2026-10-04 (UTC), relayed by the maintainer on pull request #1609.
§247 (the split begins with basalt holding nife, and procps moves first) records them.
- Yes, basalt v0 is the first step, including the go-ahead for a lane's first write to
nifeos/basalt. That is milestone 755 (basalt v0 pins nife and runs its gate). - Yes, the first code cut is
procps+coreutils+util-linux, and only once all six conditions below hold. This block is that cut. - Ruled 2026-10-28 (UTC): the cut leaves as three repositories named after the packages,
nifeos/process-tools,nifeos/core-toolsandnifeos/disk-tools. Each holds that package's programs and every crate only that package uses, in a workspace beside the programs (ruled 2026-11-04 UTC). The crates the package shares with other repositories, and any crate published on its own, have already left, each as its own repository, and the programs depend on them by version. One repository holding all three packages came up; the ruling refuses it. The packages'homelines inpackages/*.package.tomlkeepstatus = "provisional"until each repository exists; this rules the destination and does not flip that status. §201 (one roadmap until a citation has to cross), amended the same day, rules the citation identity across repositories. The home's grain is one repository for a package's programs and the crates only it uses (§316 (a program package leaves as one repository, with the crates only it uses)). The naming review ratified the names the same day, now milestone 978 (the first cut's names),design/roadmap/0978-first-cut-names.mdand pull request #2870. Still open, and not blocking until this block starts: the citation identity the first crossing writes (§201). - Ruled 2026-11-01 (UTC): code that leaves this repository references nothing back in it, so moves
go bottom-up in the dependency graph. A crate with a repository of its own leaves before the
programs that link it; a crate only one package uses leaves with that package (§316).
That settles the SDK's place in milestone 691 (packages move out of this repository, one per pull
request)'s order, and recommendation 3 below (programs first, the SDK last of the leaves) no
longer holds. It also rules out the third condition's exception, a git dependency on
nifeat a commit. The analysis below stands as written. Pull request #3026 rules the order the contract crates leave in. - Sequenced 2026-10-28 (UTC): the update path goes first, milestones 911 (scripted installs grant only what the owner's approval file allows), 909 (basalt composes the bootable image from its packages), then milestone 607 item 5. This cut waits for its conditions.
- calef ruled on 2026-11-01 (UTC) that this cut follows the bottom-up order: nothing that leaves nife
may reference back into it. The tools no longer leave first. The leaf pilot
jh7110_entropygoes first, then the contract crates bottom-up, and this cut comes after the shared crates it links have moved and carry versions. §247's other conditions and its destination stand. Its condition 4 (moho_abi,address_space_layout,byte_globandmachine_statistics_protocolstable under 610's rule for four weeks) gives way to a new gate (ruled 2026-11-01 (UTC)). No time-based measure remains, and a crate whose interface still breaks may leave, each break a new version and a new tagged release. A crate leaves when it falls under milestone 956, has a tagged release whose commit carries the Cargo version and passescargo-semver-checks --baseline-revagainst that tag, nife consumes it as a git dependency pinned by revision with the version requirement stated. A producer release can move each consumer's pin (the proposala-producer-release-moves-each-consumers-pin.md, or an agreed manual step until it exists). Last, the architect reads the crate's code by hand before it leaves, initially for every crate, the first in particular. Feedback from those reviews becomes automated gates over time. §247 states the gate in full. - Ruled 2026-11-01 (UTC) on pull request #3026's questions: departure package by package replaces
the single cut. Each package leaves as soon as the shared crates it links have left, in the
order
disk-tools,process-tools,core-tools, and takes the crates only it uses with it. TheINTERFACESnote type moves into a leaf crate of its own sodisk-toolsneed not wait forgrant_plan, andblock_roster_contractstays the first crate a consumer outside nife reads. Each shared crate gets a repository of its own once the architect approves that repository. The order is in the proposal.
Renamed 2026-10-06 (UTC). calef ruled that util-linux becomes disk-tools ("util-linux is a
horrible package name for a nife package"), coreutils becomes core-tools and procps becomes
process-tools, and moved uuid from the disk tools to core-tools. The cut holds the same 15
programs, so the six conditions and the measurements stand. The title and slug changed with it.
The title was procps, coreutils and util-linux are the first code to leave this repository,
and older records cite it by that or as procps, coreutils and util-linux leave first. The ruling
above and the analysis below keep the names they were written with. The homes are
nifeos/process-tools, nifeos/core-tools and nifeos/disk-tools (ruled 2026-10-28); the
packages' home lines keep status = "provisional" until each repository exists.
What is below is the proposal's analysis. The argument is its author's; it changes only where a ruling above makes it false.
The finding that shapes the options
Protocol churn is far from settled, and under §151's bottom-up order it does not hold a move. The
contract crates took 157 breaking changes in the last four weeks, against milestone 610 (the
interface's stability is measured weekly)'s proposed threshold of four. No IPC protocol carries a
version a peer could check. Two more preconditions block any cut that moves code. One crate
(components) holds 56 programs from 18 packages. There is no SDK archive.
One first step needs none of them: basalt itself, holding one component. It moves nothing. It builds the piece §151's BUGS calls the real cost of a split (the whole-system gate living somewhere other than the monorepo) before any repository pays the price of a two-repo change.
Options for the first cut
| option | what moves | cost, measured | verdict |
|---|---|---|---|
| A. basalt v0 | nothing; basalt pins nife at a commit and runs its image build and system test |
zero cross-repository changes; one scheduled basalt run per pin bump | recommended now |
B. procps with coreutils and util-linux |
8 crates and 15 programs | 32 commits in thirty days, 26 crossing; 21 of those were sweeps; 1 Cargo dependent; 0 path references | recommended as the first code cut, once its preconditions hold |
C. redoxfs |
the vendored engine, server and host tool | 31 commits, 26 crossing, 12 of 17 focused ones crossing; 0 Cargo dependents; 254 path references; links the least settled interfaces (file_system_contract 10 breaking in four weeks, the partition table 27) |
second; cheapest to move today, which is an effort argument. Ruled 2026-11-01 (UTC): it leaves as one repository holding all three, after the shared crates it links, in step 9 of the proposal |
D. contracts and runtime (milestone 691 (packages move out of this repository, one per pull request)'s order) |
42 crates | 298 commits, 187 crossing; 35 dependents | refused for the first cut |
E. host-tools |
xtask and friends |
227 commits, 139 crossing; 276 references in 152 files | refused |
| F. Wait for every precondition before doing anything | nothing | the integration gate is still unbuilt when the first cut arrives | refused |
The recommendation
- Now: basalt v0. One manifest file pinning
nifeby repository and commit, a workflow that checks that commit out and runs its own image build and system test on all three architectures, and the image as an artifact. A scheduled job bumps the pin the waytoolchain-bump.ymlbumps the nightly. No toolchain of its own: it builds at the pin the component's commit carries. It cites no milestone and no section, so it does not trigger §201 (one roadmap until a citation has to cross)'s revisit. The file's name and format are provisional. - Next: the first code cut is option B, when all of these hold, each checkable by a command:
- 610 carries the per-package co-change column. Met; under §235 (the OS is built and updated from packages) the column informs how packages group and holds no move.
componentsis split so the moving programs are in crates of their own (milestone 691).- The moving repository builds without a clone of this one: §235's S2 archive (milestone 607 (nife is built and updated from packages)
item 4), or a dated, recorded exception for a git dependency on
nifeat a commit. - Every interface the cut links (
moho_abi,address_space_layout,byte_glob,machine_statistics_contract) carries a checkable version, which for a pure library is its crate version. The moved package declares what it links (milestone 956 (the linked interfaces carry checkable versions), minted 2026-10-28 UTC). The cut re-derives the linked set at its start rather than trusting this 2026-10-04 list. - basalt can take a component's output as a package by digest: §235's P1, milestone 607 item 1.
- The home and its repository name are ratified, and §201's citation identity is ruled, since this cut is its revisit event. Ruled 2026-10-28 (UTC): the three repositories above, the names ratified on the naming review (pull request #2870), and §201 (one roadmap until a citation has to cross) as amended. What remains of this precondition is the homes: each flips to ratified when its repository exists.
- Milestone 691's order is amended: leaves of the release graph first, the SDK last of the leaves, not first. Its rule is right for a settled tree and moves the most volatile piece first on this one.
The seven questions
- What else was considered? C loses to B on coupling with sweeps excluded (12 of 17 focused commits crossing against 5 of 11) and on the stability of what it links. D makes 187 of 298 changes in a month into two-repo landings. E is the build of everything else. F leaves the integration gate unbuilt when it is most needed.
- What does the tree already do? It builds
redoxfsas three workspaces outside the root one and gates them by--manifest-path, which is the in-tree rehearsal of a separate repository. It pins artifacts by digest in reviewed recipes (§195 (a reviewed recipe vouches for a package)), and bumps a pin on a schedule (toolchain-bump.yml). basalt v0 is those two habits pointed at a commit. - Prior art. Android's
repomanifests, Yocto with kas, and Fuchsia's integration repository all pin components by revision and roll the pin forward with a bot. Fuchsia split its tree into layered repositories and later folded them back. All of this is recalled, not re-read for this proposal, and should be read before a ruling leans on the Fuchsia case. - Is the premise true? Partly. "Soon" is true for basalt and false for moving code: the protocol churn is 157 breaking changes in four weeks.
- What does each option cost? The table above, from the note. Unmeasured: the gate subset a moved repository needs, until a cut is chosen.
- How reversible? A is fully reversible: nobody outside the project builds from basalt, and archiving it undoes it. B is reversible as code and expensive as names: the repository name, the ratified home and the first cross-repository citation are acted on by every later reader. Nothing published reaches a stranger until milestone 198 (a package manager)'s rung 4.
- Same cost, same choice? Yes for A over F and for B over D and E. C over B would be about
effort:
redoxfsis cheaper to move today only because its build is already separate, while B needs thecomponentssplit first. That split is owed by milestone 691 for every package anyway, so it is not extra work, only earlier work. On equal effort B wins on coupling and on the stability of what it links.
BUGS
- The coupling numbers are a one-off at one commit over one month, not 610's owed weekly column.
- basalt v0 runs nife's system gate a second time per pin bump. That doubles the system-test minutes for whatever crosses, and it is the price of the gate living in basalt before it has to.
Index row
The first code to leave the monorepo: the programs of the process-tools, core-tools and
disk-tools packages. They leave as three repositories named after the packages, each holding
the crates only it uses, after the shared crates they link, and reach the image through basalt, once six measured preconditions hold (ruled by calef
2026-10-04). The homes and the sequencing carry the 2026-10-28 ruling.