roadmap BUILT

889. The tree's gates stop depending on the fleet tooling

(Promoted 2026-10-12 (UTC) by lane milestone/889-the-trees-gates-stop-depending-on-the-fleet-tooling from the proposal the-trees-gates-stop-depending-on-the-fleet-tooling, at the next free number. The number is provisional until the merge queue lands it; the title, the slug and every new name below are drafts for calef's naming pass.)

Raised 2026-10-12 (UTC) by lane maintainer/tooling-inventory. It is the first step calef ruled on pull request #1976: Fork 4 of nife's tooling, sorted by who needs it, answered "A" on 2026-10-12 (UTC). The edges are cut in place, in one nife lane, before any fleet tooling leaves. The title, the slug and every new name below are provisional, for calef's naming pass.

Reuse: nothing new is written beyond a split of existing files. toolchain-bump.yml already skips its App token step when the App is absent, and the other four workflows take that pattern as it is.

Why

The inventory found six places where a build, proof or standards item cannot run without the agent-fleet tooling (class 3). Until they are cut, moving class 3 to its own repository (Fork 2, ruled A) is a rewrite rather than a move. Cutting them also gives a stranger a script/lint and a pre-push that never touch the merge queue or GitHub.

The work

Each item is one edge from the inventory. Nothing moves to another repository in this milestone.

  1. script/lint stops running class-3 checks. The 22 checks (19 selftests of the queue, label and identity machinery, rules 4 and 4b, and the agent-instruction index) move into a new entry point, provisionally script/lint-fleet. A new ci.yml job runs it on every pull request and merge group, so no check stops gating. script/claim keeps calling helpers/branch-name-check.sh.
  2. .githooks/pre-push runs helpers/push-queued-check.sh only on a checkout that opts in, provisionally with git config nife.fleet true. script/bootstrap sets it where it already installs the hooks for a lane. A stranger's push then asks GitHub nothing.
  3. falsifications, mutation, vendor-watch and verify-shard-refresh gate their create-github-app-token step on the App's id being present, as toolchain-bump.yml does. They fall back to GITHUB_TOKEN, so a fork runs them without the nife-smelter App.
  4. metrics.yml splits in two. Its method collectors, merge_queue_share.py and debt_paydown_share.py, move to a new scheduled workflow, provisionally fleet-metrics.yml, that writes the same CSV files. Everything else, CI and proof times included, stays. script/metrics already reads those files and needs no change.
  5. script/cadence-check stops calling script/effort --check and helpers/watcher_watch.py itself. Both checks move into fleet-metrics.yml.
  6. notes/scripts.md lists the fleet entry points in their own section. AGENTS.md's skills index is left alone: it is calef's to edit, and the lane proposes the wording in its report.

Two edges are kept on purpose, and the lane records why where a reader meets each:

Exit

Where it stands, 2026-10-21 (UTC)

BUILT. Every cut is made and all five exit checks were run and pass. calef ruled on the fifth (below): with the App absent, a workflow completes through its push, and all four do. Each tie from the inventory, checked against the code first:

Tie What the code did What happened
1, lint 22 fleet checks ran inside script/lint, about 170 lines Moved whole to script/lint-fleet, a step of CI's lint job
2, pre-push Every push asked GitHub twice, queued and ready Behind nife.fleet, in helpers/pre-push-fleet.sh
3, App token Four workflows could not run without the App Token step skipped without it; github.token falls back
4, draft gate Reads GitHub's own draft flag only Kept; the reason is written in ci.yml
5, metrics metrics.yml ran two fleet collectors Moved to fleet-metrics.yml, same CSV files
5, cadence cadence-check called script/effort and watcher_watch.py Both asked by helpers/trunk-health.sh instead
6, shared helpers ci_job_times.py's selftest read two fleet files That check moved to the fleet's selftest; the rest kept

Four places differ from the text above, each for a reason found in the code:

Exit checks, as run on 2026-10-19 (UTC) against 42836328b plus this block's commits:

Workflow Run on calef/nife Exit, measured
vendor-watch 39364813031 Green. Upstream had moved, but the report was unchanged, so the job exited before gh pr create. The pull request path did not run.
verify-shard-refresh 39364815886 Red at its last step. The branch metrics/verify-shards pushed on github.token, then gh pr create was refused: "GitHub Actions is not permitted to create or approve pull requests".
mutation 39364805264 Red at its last step. All eight shards, the baseline report and the inflow check passed. The record job pushed mutation/census on github.token, then gh pr create was refused the same way.
falsifications 39364802502 Red. The seeded system call driver and the arm64 replay passed. The confined fuzzer failed on its own finding (BUGS). The replay job was cancelled at its two-hour limit (05:32 UTC), so the record job was skipped and never reached gh pr create.

calef, 2026-10-20 14:30 (UTC), on the fallback: "a". With the App absent, a workflow that has something to record measures, writes and pushes, ends green, and puts the compare link in its run summary. No repository is asked to let Actions open pull requests, and the exit is read as "the run completes through the push". All four workflows now call helpers/pull-request-by-hand.sh (provisional) after their push when no App token was minted. The fork's main was fast-forwarded to the branch carrying that change and the other three were dispatched again:

Workflow Run on calef/nife Exit, measured
verify-shard-refresh 39441127380 Green. It pushed metrics/verify-shards, opened no pull request, and wrote the compare link to its summary.
mutation 39442048323 Green. All eight shards passed; it pushed mutation/census, opened no pull request, and wrote the compare link to its summary.
falsifications 39515487551 Green. Five shards, the KVM job and the three other replays passed; the record job read 355 record times, pushed falsification/times, opened no pull request, and wrote the compare link to its summary.

falsifications reaches its push because its replay is sharded. script/falsifications --plan-sweep packs every replayable record into shards of at most 40 minutes by measured replay time, which run as a matrix on arm64. The swish-check records with an x86_64 leg replay in their own job under KVM, as ci.yml runs that leg. On the same commit in nife (run 39501631197) the five shards took 12.6 to 53.6 minutes and the KVM job 8.5.

BUGS

Follow-on

Index row

The tree's own gates stop calling the agent-fleet tooling. script/lint's 22 fleet checks move to script/lint-fleet, which CI's lint job still runs. The pre-push hook asks GitHub nothing unless a clone opts in, four scheduled workflows run without the automation App, and the method-metric collectors leave metrics.yml. It is the first step of calef's Fork 4 ruling on #1976, and what makes moving the fleet tooling to its own repository a move rather than a rewrite.