decisions DECIDED

157. A trivial install is a web page, a USB drive, and packages over the internet

calef, 2026-09-19 (16:40 UTC), in conversation with the maintainer:

A trivial install is a web page that lets one download and install a minimal system via a USB drive. That minimal system can then be expanded by installing packages over the internet.

This replaces the definition the scoping lane recommended below (D2, a downloadable QEMU run bundle as the first rung). It is closest to the lane's D1, and goes past it in two ways D1 did not: the system is installed onto the machine, not only run from the stick, and it grows over the network afterwards. The lane's proposal follows unchanged as the evidence he ruled on; its "Recommendation" and "proposed first slice" are therefore superseded as a definition, though its measurements of today stand.

Amended 2026-09-19 (17:12 UTC): the stick is made by one program, unsigned for now

calef, the same day, in conversation with the maintainer:

I'm thinking of making the creation of the flash drive super trivial as in download a program for either mac os, linux, or windows. Running that program formats and creates the image on the flash drive from the contents of the program itself. One file to download and just run it to create the flash drive.

and, on whether to pay for the identities that let a downloaded program open without a warning:

I'm not going to pay yet. People will need to navigate around those restrictions in MacOS and Windows.

So step 2 below is one downloaded program per host operating system (macOS, Linux, Windows), with the system image embedded in it, which writes the stick. The whole x86_64 system is already one file on a FAT32 stick at the removable-media path \EFI\BOOT\BOOTX64.EFI (notes/x86-uefi-boot.md; 10,158,080 bytes on 2026-09-17). So the program's common case is a file copy onto a stick that is already FAT32, which needs no administrator rights, and formatting is the fallback. The design is design/roadmap/proposals/a-program-that-makes-the-stick.md.

The program is not signed or notarized, by decision, for now. macOS Gatekeeper refuses to open an unsigned download by default and Windows SmartScreen warns on one; the person running it steps past that by hand. The cost is paid by the stranger, so the web page must say how, per operating system, where they meet the warning, and that is a precondition on rung 4 (the page). Reversible: signing can be added to the release process later without changing the program. What it would take is an Apple Developer ID with notarization, and a Windows code-signing certificate; neither is bought.

And the stick is for any architecture, made from any machine (calef, 17:19 UTC the same day):

I'd like the program on windows, linux, or macos to be able to build a stick that works on any architecture. If that means one stick that is universal for any architecture or one needs to specify the target when building, I don't really care. The point is from any machine you should be able to build a boot for any other machine.

So the program embeds a boot payload for every architecture nife supports, and runs on every host it ships for, whatever that host's own architecture. Whether one stick carries all of them or the person picks a target is left to the design, and the proposal recommends the universal stick.

What the ruling contains, step by step

  1. A web page. Publishing it is the moment calef's no-third-parties precondition is spent and DECISIONS §135's amendment 1 starts applying, so putting it up is his act, not a lane's. Where it is hosted is not decided here.
  2. Download a minimal system, and write it to a USB drive. A PC-shaped machine is implied; the x86_64 UEFI boot is already one 10 MB file on a stick (the lane's measurement below).
  3. Install it. The minimal system writes itself onto the machine's own disk and boots from it afterwards, without the stick.
  4. Expand it with packages over the internet. Installing onto a running system is now part of the definition, so the format, activation and trust forks are on this definition's path. Those forks are DECISIONS §197 (a package is one archive file), the activation proposal installing-a-package-mutates-or-composes.md, and DECISIONS §195 (a reviewed recipe vouches for a package). The lane had sequenced them after a first slice that installed nothing.

What the tree has for each step, checked 2026-09-19

Step Present Missing, and where it is tracked
Boot from a USB drive on a PC x86_64 UEFI boot from one file (xenon, milestone 87) an interactive prompt on the PC (milestone 182, PARTIAL); a keyboard that is not a UART (milestone 242, NOT-STARTED; milestone 192, PARTIAL)
Install onto the machine's disk a GPT parser; an NVMe driver on xenon (milestone 261, PARTIAL) an installer; partitioning and formatting a disk this system did not create (milestone 140, NOT-STARTED, is the read half); a bootloader written to that disk. No milestone owns the installer yet
Packages over the internet a network stack (smoltcp) and a userspace virtio-net driver (milestone 30) a driver for a real network card (only virtio-net exists); DNS was not checked; TLS does not exist in the tree, and taking one is a dependency decision (§46)
A web page nothing hosting and publication, calef's

What this does not decide

What is being decided

Milestone 198 names the constraint and not the definition: "a person with hardware and no prior knowledge of this project reaches a running system." This proposal writes the ten minutes down as they are today, from the tree and from commands run on 2026-09-19, and then proposes the smallest definition that passes principle 3's test.

A stranger's first ten minutes today

Minute 0. There is nothing to download. gh release list on nifeos/nife returns nothing: no release has ever been published. The repository is public and 35,985 KB (gh api repos/nifeos/nife). The only path is to build.

Minutes 1 onward. The build path is a developer's path. README.md's "Try it" says script/setup, which runs script/bootstrap and then cargo xtask build. Bootstrap installs:

Then the build. The cold build time was not measured by this lane: two other lanes were gating on this machine (QEMU for milestones 150 and 168 was running), and AGENTS.md records that timing assertions fail under oversubscription. The nearest recorded figure is a stranger run's script/test at "about 25 minutes wall clock" on a warm machine (notes/stranger-test/run-4.md).

Ten minutes in, a stranger on a cold machine is still installing a toolchain.

The first prompt they can reach is in QEMU. script/console boots aarch64 to $, and script/console --hvf does it on the Apple Silicon core. That is the only interactive nife a stranger can reach, on any hardware, today.

Which hardware a stranger most plausibly has, and what it does today

A judgment, not a measurement: an x86-64 PC with UEFI firmware, or a Mac. A Raspberry Pi is the most common hobby board and nife does not boot on one (notes/target-hardware.md's recast, 2026-07-27, moved first silicon to RISC-V).

Hardware Install today What it reaches Blocked by
A Mac (Apple Silicon) Build, then script/console --hvf The prompt, interactive Nothing; this works
A Linux PC, QEMU Build, script/ci-qemu for riscv64 The prompt The apt QEMU gap above
An x86-64 UEFI PC Build cargo xtask uefi-image, copy one file, EFI/BOOT/BOOTX64.EFI (10,158,080 bytes in the main checkout's target/esp today), to a FAT32 stick; Secure Boot off (notes/x86-uefi-boot.md) The boot tour on the screen (xenon's first light, 2026-09-05). Not a prompt x86-64 has no interactive boot (milestone 182, PARTIAL); no USB keyboard driver (milestone 242, NOT-STARTED); xenon has no PS/2 port (milestone 192)
VisionFive 2 script/board-image: three files that must match (kernel Image, nife-initrd.img at 8,641,024 bytes, boot.scr.uimg) on FAT32, U-Boot in flash, a serial adapter The tour over serial; a keystroke at the prompt reached nothing on silicon on 2026-08-15, fixed in code since and not yet confirmed at the bench (notes/visionfive2.md) A bench session
Raspberry Pi None Nothing No port

The x86-64 row is the nearest thing to a trivial hardware install the tree has, and it is close. It needs one file, the firmware's removable-media fallback path, and no configuration file, because the loader carries the kernel and the archive inside itself (uefi_loader/build.rs). What stops it is input, not installation.

Prior art for the first ten minutes (read)

Haiku, Redox and Fuchsia each ship something a stranger can run without a compiler. SerenityOS does not, and that is the position nife is in.

Options for the definition

Definition Reachable in Why it lost, or did not
D1. Hardware, from a download A stranger writes one image to a stick for a PC and reaches the prompt Milestones 182 and 242 first; 242 is "months" by milestone 192's own estimate Right destination, wrong first rung: the blockers are input drivers, not installation, and 198 would wait on them
D2. QEMU, from a download A stranger with a Mac or Linux PC and QEMU, and no Rust toolchain, downloads one bundle per architecture, runs one command, and reaches $ One milestone: every piece exists except the bundle and the launcher Recommended as the first rung. It is Redox's and Fuchsia's shape, and it removes the 1.9 GB toolchain and the contributor tools from the path
D3. From source, faster Keep the build path and make it quicker and quieter Incremental Loses: it is SerenityOS's position, and principle 3 is about "a person with hardware and no prior knowledge", not a contributor

Recommendation: D2 now, D1 as the named second rung, with the hardware row chosen as the x86-64 UEFI PC because it is the most plausible stranger hardware and already has the one-file layout. The test for D2 is the stranger harness pointed at running rather than building: a cold container with QEMU and nothing else, the bundle, and a clock.

§92 test. Would D2 be chosen over D1 if both cost the same? No: D1 is the better definition, and D2 is recommended because it is reachable within a milestone and D1 is not. This recommendation is about effort and sequencing, stated as such. The non-effort argument for D2 is that it is also the one an outside reviewer (fatal risk 7's adversarial exercise, gated on this milestone by calef's no-third-parties position; design/fatal-risks.md) would use first.

Reversibility. A definition is text. Publishing the bundle is not: it is the first artifact this project conveys, which is the moment DECISIONS §135's amendment 1 starts applying and the moment calef's precondition is spent. So building the bundle is a lane's work, and publishing it is calef's act, kept separate on purpose.

The proposed first slice of milestone 198

Sized to be adequate within a milestone or two (principle 1's lesson), and needing no ruling on the format, activation or trust forks, because it conveys no package and installs nothing at runtime. Every piece is host-side and reversible.

  1. A package, as a host-side recipe. A directory per package (provisional: packages/<name>/) declaring how to build it for each triple, its license, and its documentation bundle. The build declaration is an in-tree [[bin]] after milestone 150 (adding a program should not need eight hand-maintained lists), or a fetch-and-build script, which helpers/build-ripgrep.sh already is. One producer and one consumer, both in this tree, so the recipe shape is reversible. It generalizes the two things already doing this by hand: build-ripgrep.sh and milestone 40's DOC_BUNDLES table.
  2. Image composition from a declared package set (provisional command: cargo xtask compose), producing the existing sealed kernel-and-archive pair per architecture. This is option C1 of the format proposal and T1 of the trust proposal, used as a stopgap rather than chosen as an answer.
  3. A run bundle and a launcher (provisional: nife-<arch>.tar and run-nife), holding the kernel, the archive, the disk image and a script that needs only QEMU. Built and tested by the stranger harness from a cold container; not published until calef says so.
  4. Removal and listing for free: because the set is declared, removing a package is deleting a line, which answers milestone 150's "removal has no page" for packages as well as programs.

What it unblocks.

What it does not do, recorded so nobody mistakes it for the whole milestone: install onto a running system, let a third party author a package without cloning this repository, or reach a prompt on hardware.