notes

Every check in this repository: does anything run it, does it block, and what does green mean

Milestone 232 (audit every check against two questions: does anything run it, and does it block). Measured on 2026-09-03 against a0059022, on patagonia and against the live repository settings. Every number below was taken by running the thing or by reading the API, not recalled.

Why an inventory and not a sweep of new gates. Four findings on 2026-09-02 each showed this tree's verification reporting something that was not true, and no two were the same defect:

script/lint has had three checks deleted for the "only ever rejects legitimate work" signature, so the answer to four bad checks is not six more.

How to re-run this audit

gh api repos/nifeos/nife/rulesets                                    # find the ruleset id
gh api repos/nifeos/nife/rulesets/19596094 \
  --jq '.rules[] | select(.type=="required_status_checks")
        | .parameters.required_status_checks[].context'                   # what blocks
grep -n 'name:' .github/workflows/*.yml                                   # what runs
for w in .github/workflows/*.yml; do
    gh run list --workflow "$(basename "$w")" --limit 6 \
        --json conclusion,event,createdAt; done                           # what is red

The third command is the one that pays. Two of the five findings below are visible only in run history and in nothing that lives in this tree.

The three questions, and which one has teeth

  1. Does anything run it? An entry point nothing calls has whatever result somebody last saw.
  2. Does it block? CI runs nineteen checks on a pull request and the main ruleset requires eleven. The other eight are worth deciding rather than inheriting.
  3. What does a green result actually assert? This is the one an inventory cannot answer by listing. script/swish-check was green while login was dead on every boot; that check ran and would have blocked, and its passing simply meant less than its name.

A. The workflow jobs

Nineteen check names reached a pull request then. The 2026-09-30 split (#1468) replaced the first row with four jobs pending calef's ruleset edit; later checks have no rows yet. "Blocks" means in ruleset 19596094's required_status_checks. Without full-ci, a pull request skips the heavy checks, which report Success, but a Kani harness change runs verify.yml's (notes/merge-queue.md).

check name workflow trigger blocks result 2026-09-03
test, swish-check, boot-check ci merge queue, push, full-ci PR pending new
rustfmt ci PR, merge queue, push yes green
lint ci PR, merge queue, push yes green
cpu matrix (riscv64 across QEMU CPU models) ci merge queue, push, full-ci PR yes green
bench (icount regression tripwire) ci merge queue, push, full-ci PR yes green
coverage (host crates) ci PR, merge queue, push yes green
supply chain (advisories, licences, vendored integrity) ci PR, merge queue, push yes green
fastpath footprint (the IPC path must stay L1i-sized) ci PR, merge queue, push yes green
stack frames (no frame over a third of a thread stack) ci PR, merge queue, push yes green
fuzz (parsers, 60s per target) ci merge queue, push, full-ci PR yes green
verify (Kani proofs) verify merge queue, push, full-ci PR yes green
image permissions (no kernel image ships a writable-executable segment) ci PR, merge queue, push no green
re-falsify the harnesses this change can reach verify merge queue, push, full-ci PR no green today, was red through a merge
architect hold (needs-architect label) architect-hold PR, merge queue no green
verify scope verify merge queue, push, full-ci PR no green
prove (shard N/5) verify merge queue, push, full-ci PR no green
draft gate (two jobs, one name) ci, verify PR, push no green

Three of the unrequired five are correct as they stand. verify scope and the two prove shards are aggregated by verify (Kani proofs), which is required. It fails unless scope succeeded and every shard reported success or skipped. Requiring the shards as well would add names to keep in sync and catch nothing. draft gate produces an output rather than a verdict.

The scheduled workflows, which nothing blocks by construction, are nine: mutation testing, the undefined-behavior check, toolchain drift, audit cadence, the falsification sweep, project metrics, stranger cadence, vendor watch and toolchain bump. script/cadence-check, from milestone 238 (two scheduled checks have never once succeeded), now derives their last result rather than leaving it to the Actions tab. On 2026-09-03 the first two had never once succeeded. The table of each one's cadence, result and purpose is in check-inventory/scheduled-workflows.md.

B. The script/ entry points

Fifty-four files. Not all of them are checks: apropos, bootstrap, setup, update, console, server, board-console, board-image, catch-up, qemu-check, ci-qemu and runner-container are tools or provisioning. What follows is every entry point that renders a verdict or a measurement, and who calls it.

The "called by" column names script/ci-build's table (milestone 286 (one enumeration of the checks that gate a pull request)); the measurements are 2026-09-03's.

script called by blocks a merge result 2026-09-03
fmt --check ci-build (local), ci rustfmt, the pre-push hook yes green
lint ci-build (local), ci lint yes green
test ci-build (local), ci test, toolchain-drift yes green
swish-check ci-build (local), ci swish-check yes green
icount ci-build (local), ci bench yes green
image-permissions ci-build (local), ci image permissions no green
bench --check ci bench yes green
coverage ci coverage, script/metrics yes green
cpu-matrix ci cpu matrix yes green
fastpath-footprint ci fastpath footprint yes green
stack-frame-check ci stack frames yes green
stack-depth-check ci stack frames (same job) yes green
fuzz ci fuzz yes green
supply-chain ci supply chain, vendor-watch yes green
vendor-verify script/supply-chain, vendor-watch yes, transitively green
verify verify.yml prove shards yes, via verify (Kani proofs) green
falsifications --affected-since verify.yml falsify no green
falsifications --check script/lint yes green
roadmap --check script/lint yes green
decisions --check script/lint yes green
citations --check script/lint yes green
fatal-risks --check script/lint yes green
fatal-risks --selftest script/lint yes green (11 fixtures; 8 must go red, 3 must stay quiet)
names --check script/lint yes green
audits --check script/lint yes green
stranger-test --check script/lint yes green
audits --due audit-cadence.yml no red, and correctly: two audits are due
stranger-test --due stranger-cadence.yml no green
mutation mutation.yml no red every week since it was written
undefined-behavior-check undefined-behavior-check.yml no red
drift toolchain-drift.yml no red (against a nightly newer than the pin)
metrics metrics.yml no unknown, never run
vendor-watch vendor-watch.yml no green
toolchain-bump nothing no unknown; toolchain-bump.yml reimplements a subset
interleaving-check the interleavings job in ci.yml (milestone 746, provisional) yes green, 24 seconds cold (2026-10-03)
crate-probes the crate-probes job in ci.yml, a ci row of script/ci-build (milestone 341 (give the three instruments nothing runs a caller)) not yet; the ruleset lists the job's name green with 43 of 50 built and seven known failures listed in the script, about seven minutes cold (2026-10-27)
repeat-under-load script/runner-container, which nothing calls no unknown
soak-test nothing no unknown
rule-violations --check the rule-violations local row of script/ci-build, run as a step of the lint job (milestone 341 (give the three instruments nothing runs a caller)) yes green (2 open strikes, threshold 3), 0.07 seconds (2026-10-27)
journeys --check script/lint yes green
apropos, catch-up nothing no tools, no verdict

script/lint is one required check carrying 136 sections (helpers/lint-section-index.tsv lists them, and grep -c '^echo "==>' script/lint is the derivation, since a number written here goes stale). They all block: it runs every section and fails if any one failed, and its summary names each failed section. That concentration is worth knowing: a slow or wrong sub-check there stalls every lane at once, which is why three have been deleted rather than fixed.

C. Checks that are neither a script nor a workflow job

An inventory that stopped at script/ and .github/ would miss the two mechanisms the four 2026-09-02 findings actually left behind, because both live inside the thing under test.

What a green result asserts, where that is not obvious

Six checks pass for reasons narrower than their names. Every one of these is already recorded somewhere in the tree; collecting them is the point.

The five findings

Ranked by what a wrong answer costs. Each is stated here as it stood on 2026-09-03; the evidence for each is in check-inventory/the-five-findings.md.

  1. The mutation workflow had never produced a result, and fatal risk 3 cited it as though it had. Four scheduled runs, zero successes, and nobody noticed for four weeks, because a scheduled workflow's red has no badge and no notification.
  2. The Miri check was red for three weeks on a missing environment variable, not on undefined behavior. The one-flag fix turned out to be three layers, each hiding the next (milestone 238).
  3. re-falsify the harnesses this change can reach does not block, and PR #663 merged with it red on 2026-09-03, leaving two stale falsification patches on main.
  4. Three instruments ran nowhere: script/interleaving-check (since in CI, milestone 746 (Loom runs in CI)), script/crate-probes and script/rule-violations --check.
  5. image permissions and architect hold were already-recorded open asks, both waiting on one ruleset click.

The recommendation on the required list

Which checks join the list is a repository setting and calef's. Four to add, with what each would have caught:

add what it would have caught cost of adding
re-falsify the harnesses this change can reach PR #663 merging with two stale falsification patches, 2026-09-03 it already runs on every PR and every merge group; making it required adds no minutes
image permissions (no kernel image ships a writable-executable segment) the x86_64 image's RWX segment (milestone 208), which shipped through every gate already runs; no minutes
architect hold (needs-architect label) the 2026-08-27 gh pr merge --auto on a needs-architect pull request already runs; one API call
nothing else

On architect hold, milestone 232's own block says the third is correct as it stands, since a label gate should not block a queue. The evidence in the tree disagrees and is worth reading before deciding. The workflow was built to be required. It listens for merge_group for that reason alone, it listens for labeled/unlabeled so the result flips without a push, and it holds its runtime to one API call so it can never be the check that jams a queue. Its founding incident is a merge that a non-blocking check could not have stopped. The honest cost is real and is the reason to decide rather than assume. A label added to a pull request already sitting in the merge queue turns this red mid-group, and an ALLGREEN group of up to five is evicted together. That is a narrow window and the label is normally applied long before enqueue.

Do not add verify scope, prove (shard N/5), or draft gate, for the reasons under A.

What this said about fatal risk 3, without changing its status

The status is design/fatal-risks/README.md's question and calef's. On 2026-09-03 two facts belonged in front of him. The 92.4% was a month old and could not be refreshed in CI, where the mechanism had failed every attempt. And the sentence "the weekly workflow already publishes the report" was false, which is the clause that made a stale number acceptable. Neither said the 92.4% was wrong when it was taken. The full argument is in the five findings. The number has since been refreshed: the 2026-09-14 census found no fall (notes/mutation-testing/first-weekly-runs.md).

BUGS