Notes index: How the tree is run
Gates, records and the merge queue: the machinery that keeps many lanes honest.
Part of the notes index, which says how to add a line.
- The
script/entry points (nifeos/nife:notes/scripts.md): the normalized front-door commands and what each does. - The test command: what
cargo xtask testruns and in what order, each flag's reason, and the x86_64 leg's extra machines. Name provisional. - A swish-check leg: what each boot of a
script/swish-checkleg proves, and the boot claims it reads. Name provisional. - Every check in this repository: audit of what runs, blocks, and asserts. Name provisional.
- A workflow records the run it was watched failing in: no gate is trusted until it has been seen to fire. Name provisional.
- Selectors that can select nothing: gates that pass when their pattern matches nothing. Name provisional.
- A mechanism says how many things it examined: workflow steps that swallow a failure, and what each published ratio is of. Name provisional.
- What to do when
maingoes red. Names provisional. - The merge queue, and the three things that watch it: the scripts that land, watch, and flag queue work. Names provisional.
- An open pull request always has an owner:
script/idle-pull-requestsflags a pull request that is green, stale, red or no longer held, and theHeld on #Nline declares a hold. Names provisional. - Why
empty difffails: 609 failures in 14 days, sorted: 95% are claim drafts failing by design; 5% cost a ready pull request time. Name provisional. - A ready pull request failing a required check says so: the scheduled flag that labels and comments once per head. Names provisional.
- A push to a queued branch is refused by the pre-push hook: what GitHub does to a queued pull request on a push, the check, its override and its gaps. Names provisional.
- A merge-queue ejection, caught before the queue and recovered after it: the ready check, the text checks of lint in the pre-push hook, the
needs-maintainerlabel on an ejected pull request, and the drain's hold on an ejected head. Names provisional. - Which pull requests pay down debt: what the
debt-paydownlabel means, the calls that set precedent, and how a lane gets it. Name provisional. - A paused draft names its blocker, and the drain reads it back:
Blocked-by:on a draft pull request, and theunblockedlabel. Name provisional. - Working from a cloud session: what past cloud sessions hit, how to set up, claim and gate in CI, and what needs a local Mac. Name provisional.
- Build output on its own volume: why deleted
target/directories fill a Mac's disk through local snapshots, and the runbook that moves lane worktrees to an unsnapshotted APFS volume. Names provisional. - The automation's own identity: the
smelterGitHub App that replaces a personal token. Name provisional. - Agent sessions act as the App:
helpers/smelter-token, so a lane runs as nife-smelter rather than as calef. Name provisional. - Hardening the repository itself: the GitHub settings that cannot be committed.
- The roadmap: how to add a milestone, and its vocabularies.
- Follow-on work, and what happened to it: the Follow-on section every finished block must answer. Name provisional.
- The untracked-work sweep, and what each finding became.
- The dependency census: real prerequisite edges between milestones, measured against declared ones.
- Citations that name what they cite.
- What Rust comments cost, 2026-10-07: comment-only Rust changes and the CI they ran, why comments change, density against seL4, Linux and Rust's library, and a sampled audit. Name provisional.
- The lint census, 2026-10-09: panics, casts,
static mut, suppressions and function length in the non-test Rust that runs on nife, counted for five proposals. Name provisional. - The Actions cache budget, 2026-10-07: which caches earn their bytes against GitHub's 10 GB limit, why merge groups save nothing now, and the forks left. Name provisional.
- What script/lint costs a lane, 2026-10-18: per-section time locally and in CI, which sections stop the run, reruns per lane on one evening, the pre-push hook, and fixes ranked by time saved. Name provisional.
- Which script/lint sections a crate repository would inherit: each of the 131 sections tagged generic, generic-with-config or nife-only, the couplings that tie portable checks to nife, what crate-workflows already copies, and when to extract a shared tool. Name provisional.
- A shared corpus index for the text gates: what twelve text gates cost, why reading is cheap and deriving is not, and a cache of derived facts keyed by blob hash. A design note for review. Name provisional.
- CI's toolchain download, 2026-10-19: how often the rust-lang CDN failed CI, the retry that answers it, and what caching the toolchain would cost and buy. Name provisional.
- Counted claims: numbers in prose that a gate re-derives. Name provisional.
- The register of measures: the numbers this kernel holds itself to. Name provisional.
- Project metrics: what moved, week by week: weekly charts of the project's measures, from git history. Script and data names provisional.
- How stable the interface is: what the interface is, the weekly counts of what broke and what grew, the proposed threshold, and what the counts cannot see. Names provisional.
- The violation ledger: counting how often each written rule is broken. Name provisional.
- Load-sensitive assertions: the register of assertions that fail under host load, how to fix one, and each site's status. Appendix names provisional.
- The kernel test harness: the two hang watchdogs, skips, filters and repeats, the frame ledger, tick budgets, and the preemption window tests.
- The
uefi-testexit-1-after-green rate: the measured rate, the exit-path protocol the failure message now names, and why the VT-d lines are expected. Name provisional. - The
uefi-boottwo-core rate at-smp 2: the dedicated rate the UEFI gate's two-core assertion was owed, zero in 42 across a load gradient, and which stale records the fix left behind. Name provisional. - The CI log baseline: which check failed each CI job, from expiring logs. Names provisional.
- CI job warnings, classified: the swish-check job's every warning, read and ruled benign, tracked or fixed. Name provisional.
- Every place that enumerates architectures, and whether the list is complete.
- Rustdoc coverage: the doc-example floor and the
missing_docsratchet. - The documentation sweep: how to run a documentation sweep, and what counts.
- Prior art and reuse: where to look before building, and the build-versus-reuse rule.
- Handing a session over: the 2026-07-29 restart point, a record of that session.
- Corrections of error: the register of recorded errors and the mechanisms that replaced them, one dated file each.
- BUGS entries with no milestone: the survey of limitations that are real future work, by area, and the question of a gate.
- Cobble, the mascot: the project's mascot, drawn by calef's kid.
- The system tests and the kernel crate: what the kernel linked for its tests, the gate that keeps them out, and where the tests go. Name provisional.
- The system-test modules: what each module of the whole-system suite proves, and why each test is shaped as it is. Name provisional.
- The suite's frame budget: what the system tests may leave unreturned, what they legitimately keep, the conventions, and every number the ceiling has been. Name provisional.
- The swish-check CI flake, measured: two timing-race reds at one gate, counted over 30 days, explained mechanically. Name provisional.
- How swish-check reads what the shell answered: the transcript readers, the gauges, the timeouts with their measurements, and why each script row asserts what it does. Name provisional.
- swish-check failures, 2026W40: the week's 18 failures classified; the echo splice that looked like it survived milestone 342 (the kernel and the
consoleserver drive one UART from two address spaces) all predates it. Name provisional. - The truncated echo, 2026W42: a typed line whose input stopped mid-echo on aarch64, a receive interrupt cleared while a byte waited in the PL011's FIFO, and the
--input-raceboot that proves the fix. Name provisional. - The Kani runner shutdown flake: a
proveshard lost to a runner shutdown in 16 of 97 queue attempts, why a rerun cures it, the signature inhelpers/known-flakes.tsv, and the 30.0-minute cancellations it does not cover. Name provisional. - Crates that could be released on their own, 2026-10-07: which crates could leave, who else implements each, and whether to offer them our proofs. Name provisional.
- Crates nife could publish from BSD source, ranked: 77 units from the OpenBSD and NetBSD trees, scored on measured crates.io demand, license, separability, hardware-free testing, size and fit, with a top ten and the rejected rows. Name provisional.
- Owned runners: the label, the admission rule, the
NIFE_RUNNER_OWNEDswitch, the canary and the rollback. Name provisional. - Moving a crate out of nife: the runbook for one move, step by step, with each command, its expected result and who takes it. Name provisional.