roadmap PARTIAL

801. Packages over the internet: a host name, HTTPS and the distribution's index

Rung 3c of milestone 198 (a package manager), as a milestone of its own. Milestone 576 (how many systems are out there, and what do they run) depends on this rung and on nothing else of 198. A dependency field names whole milestones, so the rung is its own block rather than a fraction of 198's. The title and slug are drafts. raised is the day §157 put the rung on the path.

What it is

On real silicon of each architecture, a package is fetched through basalt.nifeos.org's index by host name, verified by its digest and installed: radon, an Oracle Cloud Ampere A1 instance and xenon's installed system. That is rung 3c of §157 (a trivial install is a web page, a USB drive, and packages over the internet), which milestone 198's rung table still maps.

Rung 3a, the package client over plain HTTP on a local area network, is built and is milestone 198. Rung 3b, the network card xenon has, is milestone 494 (a driver for the network card a PC actually has). This milestone is what is left: the name, the transport, and §250's index.

The work list

Today's fetch (crates/system_initializer) has the image's catalog and one compiled-in source.

  1. Split the index from the package locations: fetch the index, then each package from where it says, verified by its digest.
  2. The index's format, a crate by rule 7, with its "moved to" field. Ruled before rung 4, which is milestone 802 (the trivial install).
  3. Resolve the index's host name: milestone 384 (in a capability system the resolver is a grant).
  4. Speak HTTPS to it: milestone 501 (a TLS client that speaks to one pinned peer), under §196 (nife carries TLS). Under §195 (a reviewed recipe vouches for a package) a recipe's digest decides what may run, so TLS protects the index, not the package's bytes.

Item 2's five questions, ruled on #1884, add four items:

  1. Q1: each target may list HTTPS locations, tried in order before the repository's own targets/; a listed location never reaches a private or link-local address; an owner may pin one mirror instead. Built in package_index and the client.
  2. Q2: the image carries a second index address, tried when the first stops answering. Built in the client; §250 clause 6 is its wording (question A below).
  3. Q4: the index at /<channel>/metadata/, packages at /<channel>/targets/, one channel per TUF repository, all three architectures in one index. Built; the channel name is provisional.
  4. Q5: the client holds the root zone. Built in the test's grant. Q3 is milestone 894 (an image carries its distribution's TUF root as a default owner trust line).

Where the index and the bytes live

Built under QEMU: the fetch, and item 2's survey

notes/packages/over-the-internet.md has the account, the transcripts and the seams.

Built under QEMU: jig installs from the index at the prompt

This is the exit criterion short of silicon, on all three architectures, in script/swish-check's second boot. notes/packages/jig.md has the transcript and the BUGS.

The status is PARTIAL rather than BUILT. Items 1 to 8 are built under QEMU on all three architectures; none of the three machines has run the exit criterion. Follow-on's Outstanding lines say what is left.

The exit criterion is three machines

Real silicon on three machines, in addition to the QEMU parity CI gives on all three. AWS Graviton is refused for aarch64: its NIC is ENA and nife has no driver for it, while an A1's is virtio-net-pci, which nife drives.

leg machine state, 2026-10-24 waits on procedure
x86_64 xenon's installed system rehearsed under QEMU against the live host 494's bench boot and a fresh install, both on the same evening notes/xenon-bench-2026-10-18.md, steps 1, 2, 4 and 5
riscv64 radon, booted over the network cannot pass: no entropy at the prompt, no file service, no wall clock milestone 966 (radon's booted system runs jig), and the ruling in it on where the time comes from notes/packages/jig-on-radon.md
aarch64 an Oracle Cloud Ampere A1 instance cannot pass: the booted system reaches no PCIe device, and has no entropy, disk or clock milestone 964 (an aarch64 cloud instance drives its PCIe devices), after milestone 578 (an ACPI discovery path for aarch64)'s item 7 boots the instance notes/rented-metal/oracle-a1.md, section 5b

What is calef's

What it waits on

Reuse: the package client, digest check and installer of milestone 198 are this milestone's base. The §46 (thin primitives or whole subsystems) survey of index formats is notes/packages/the-index-format.md; the TUF client it points to is taken, not written (858).

Architectural parity

The capability here is the resolver, the TLS client and fetching the distribution's index over HTTPS. It ships on aarch64, riscv64 and x86_64, proven under QEMU by the same suite on each, as rung 3a's fetch already is: aarch64 and riscv64 since 2026-09-24, x86_64 since 2026-10-05 (milestone 198's rung table and its "x86_64 fetches" entry). On silicon the exit criterion names one machine per architecture. radon's NIC is milestone 53 (the board's own peripherals: network and storage on real silicon)'s network half, which leases; aarch64's machine is a rented A1 instance, not argon.

BUGS

Follow-on

Index row

Rung 3c of the trivial install, a milestone of its own so that milestone 576 (how many systems are out there) can depend on it alone. A package is fetched on silicon through basalt.nifeos.org's index by host name, over HTTPS, verified by digest and installed. It waits on the resolver (384), the TLS client (501) and xenon's network card (494). Built under QEMU: the index split from where the bytes live, a std program resolving through its grant, and the whole fetch over pinned TLS. The fetch has HTTPS locations and a fallback, a backup address, the channel layout and the root zone. The index is on GitHub Pages and the bytes on Releases, reached through one redirect. jig update and jig install do it at the prompt. What is left is the run on three machines: xenon's installed system, radon and an Oracle Cloud A1.