notes

Fork 8: which programs a scheduled job may run on the real boot

Milestone 152 (durable delegation), written 2026-09-27 (UTC) to the seven questions of CLAUDE.md's "A fork reaches an architect with its questions already answered". Status: DECIDED, option D, calef, 2026-09-27 (UTC), on #1377; built the same day (below). The code cited is as of the commit that added this file.

The question

When a timetable fires on the real boot, which program bytes may it load, and who puts a program in that set?

What the tree does today

Is the premise true? One correction

Fork 3's recommendation says §220 (signed builds)'s drop of a distrusted key "reaches scheduled work at its next fire, through the progenitor's ordinary activation-set lookup". That is false as built. A job's bytes are checked against the boot measurement table once, when login starts, and the progenitor never sees a fire. The system-log section on #1423 says the same: "A scheduled job is spawned by its timetable, not the progenitor". So fork 3's property holds only under an option below that resolves jobs through the activation set. The note's fork 3 text is corrected in the same commit.

Options

option what a job may run who decides cost reversible verdict
A. The slot's whole measured catalog as jobs every program in the boot archive the image build 8.8 MB (target/initial-ramdisk-riscv64.img, 2026-09-21), copied twice per session, against a 640-page (2.5 MiB) durable budget (DURABLE_BUDGET_PAGES in components/src/login.rs) yes Refused: does not fit, and after the threadbare base the slot holds only the floor
B. A named list, in the image e.g. the 12 command-line tools the image build 926 KB (#1421's table), larger alone than the session's region (192 pages, DURABLE_UT_PAGES in components/src/login.rs) or the timetable's (224 pages, TIMETABLE_REGION_PAGES in components/src/user_timetable_keeper.rs) yes Refused: does not fit, and names bytes the threadbare base moves out of the slot
C. Owner-vouched programs only vouch ./x rows the owner, per digest a schedule line would have to name a digest or path, since the bare-name ruling says a vouch claims no name yes Refused: excludes every installed package, which after the threadbare base is the whole userland
D. The live activation generation, resolved at registration and re-checked at each fire what a bare word runs at the prompt, minus D2 the owner by installing (§208 (installing a package is granting it)), the user by naming it not built. The timetable gains read access to activation/ and packages/, and the jobs archive and its two copies go. Each fire reads one image into its 48-page instance (INSTANCE_PAGES in components/src/timetable.rs), a limit every option already has yes: login_contract::user_timetable_keeper is provisional and only this lane speaks it Recommended
E. D's set, snapshotted by login at SCHEDULE and at boot the programs the user's document names, as installed then as D copies stay, and a REPLACE naming a new program fails until the session is rebuilt, since the archive is fixed at spawn. A revoked key reaches a job at the next boot, not the next fire yes Refused, the runner-up: it keeps the timetable directory-free and pays for it with fork 3's property
F. Status quo nothing nobody zero yes What a no leaves

Prior art, read 2026-09-27

None of the three keeps a second list of schedulable programs. Each resolves, at the fire, in the system's standard set. D is that shape with the standard set as the activation generation and no search order, which is the bare-name ruling's shape at the prompt.

Recommendation: D

One rule for what may run, at the prompt and on a schedule: installed and vouched, never D2. Installing is granting (§208), so the owner already decides the set, and a user who wants a job installs or vouches it first, as fork 3 said. It is the only option under which §220's revocation reaches a job at its next fire, which is what fork 3 was ruled for. It removes the jobs archive and its two copies instead of sizing them, and it still works when the threadbare base empties the slot.

Would we choose D if every option cost the same? Yes. B is the least work and E is close to it, so D is not chosen for effort. The price is real: the timetable holds a read-only view of two store directories, which its module doc lists as a thing it does not have today. A job gains nothing from it, since the timetable endows a job only with what its entry grants.

If calef says no, and what is blocking

What building D found (2026-09-27)