verify: run the load-order gate, and fix the race that hid it

boot-smoke.js parses index.html, replays its classic block in a vm sandbox, and fails if a script moves, disappears or stops publishing its window global. It is the gate that makes moving engine files survivable — and it lived only in `npm run test:pure`, which CI never calls.

Adding it surfaced a latent race. The wait loop sized itself with `jobs -rp | wc -l`, which lists only jobs still RUNNING, so any suite finishing before the count was taken went unrecorded: the loop exited…

Also adds doc-counts.test.js: the anchor count has been wrong in the docs three times over and drifts silently because nothing reads it.

And corrects the header, which advertised four suites while the body forked ten, and pointed at scratch/.verify-cache when the cache is under engine/scratch/.

▶ Play it: Food Court Eternity → Smoke Arithmetic → Barometric Stampede — a constellation across three families — the path is the mix

f6ebdd2 · colophon · source