The host's build ran `bun run site:build` and stopped at `vite: command not
found`, after `registry:build` had already succeeded — which is exactly the
shape of the fault. `registry:build` needs nothing but bun, and bun was
installed; `viewer:build` needs vite, vite is a devDependency, and nowhere in
the build log is there an install step at all. The runner fetched bun 1.3.14,
went straight to the user command, and everything that did not need
`node_modules` passed on the way to the thing that did.
`site:ci` installs from the lockfile and then builds. It lives in the
repository rather than in a dashboard field because a build command typed into
a web form is not versioned, not reviewable, and not visible to anyone reading
this project later.
CI now runs `site:build` too. It had never run anywhere but a Windows laptop —
the workflow built the app and the registry and rendered the contact sheet, and
never once built the thing that actually gets published. This is the second
time in two days that a step nobody exercised turned out to be the broken one,
and the answer is the same both times: run it where it will run.
Also gitignoring `wrangler.toml`/`.json`/`.jsonc`. Cloudflare's "import a
repository" flow offers to write one, and it describes a WORKER serving static
assets rather than a Pages project. The site is Pages. A config for the other
path does not belong in the tree, and it would not be inert there either: the
build log reports "Checking for configuration in a Wrangler configuration
file", so a stray one changes how the project is treated. There is one sitting
untracked in the working copy right now, which is why this is a rule and not a
deletion.
Everything here already ran locally and every one of the checks has caught a
real defect, but "it passed on my machine" is thin evidence for a registry
whose whole premise is that other people install the SOURCE. A broken model
does not reach them as a bad download they can retry; it reaches them as broken
code inside their own project.
The workflow runs the same gate the README documents: types, ~1,000
conformance checks, the support audit across every configuration, the GLB round
trip, the documentation check, the registry protocol validation, the build.
Two things worth noting about it. None of it needs a browser or a GPU — the
conformance checks, the round trip and the renderer were all written headless,
so this is an ordinary ubuntu runner and about a minute. And it uploads the
contact sheet as an artifact, because every check in the list is geometric and
not one of them can say "this does not look like a shovel"; the shovel was
rewritten four times on the evidence of those PNGs and nothing else. Attaching
the picture to the run is what makes that reviewable by someone other than me.
The render invocation was tested rather than assumed: `bun run render -- --size
300 --out renders` does pass its flags through, which is the sort of line that
otherwise fails once, on GitHub, after a push.