decisions AMENDED

270. A package manager holds an installer endpoint, not the spawn endpoint

Section number provisional until the merge queue lands it; 269 was the highest on main when this was written. Raised by milestone 809 (the package client becomes a program)'s plan on 2026-10-07 (UTC), as its fork 1, and written by its building lane on 2026-10-10.

calef ruled the package client a program, jig, on 2026-10-06 (UTC). The progenitor stays the installer (§208 (installing a package is granting it, and the installed programs are versioned)), so the program needs a way to ask it. On 2026-10-10 (UTC) calef approved fork 1, the block's design for that request. Milestone 911 (scripted installs grant only what the owner's approval file allows) added Approve, Revoke and the delegated badge, on rulings recorded on #2030 and #2031 (2026-10-12 UTC). On 2026-11-02 (UTC) calef ruled that the endpoint belongs to whatever bytes the owner grants it, not to a program name. This section records the method's semantics, which §10 (process model: capability-based, microkernel) requires written here.

The installer endpoint

A copy of the progenitor's spawn endpoint, badged for one job and narrowed to WRITE, on which the progenitor serves install, remove and rollback and nothing else.

spawnproto's module documentation and grant_plan::Manifest::installer carry the same contract at the definition. system_initializer's serve_installer and package_manager_parts are the code.

Approve and Revoke, and the delegated badge

Milestone 911 added two methods to the endpoint, and a way to delegate it.

What was refused

Prior art, read 2026-10-10 (UTC)

Each keeps the authority to change what runs with one trusted installer, and lets a client ask it through a narrower channel. That is this section's shape: the progenitor decides, jig asks.

What proves it

script/swish-check, on aarch64, riscv64 and x86_64. jig install from a file and by name, and jig remove and jig rollback across a reboot, with no package builtin in the shell. caps jig install ... prints the installer row and what it cannot do. And installed/jig rollback, the same bytes run by path as unvouched installed bytes, holds no installer endpoint, and is refused before anything reaches the progenitor. activation_set's a_manager_may_not_undo_another_managers_rows and spawnproto's an_installer_badge_carries_its_job_and_is_no_other_senders are the host tests.

BUGS