1# Chapter 13: tools, the helpers backstage 2 3Nothing in this folder is part of the site. These are the things that help 4build it, run it on a laptop, and decide how it should behave. Several of them 5are small shell scripts with one job each; the last, `eval/`, is a whole 6program and gets the next chapter. 7 8> **Aside.** Why does a dev server need a script to report its own exits? 9> Because wrangler's wrapper exits with status 0 when the runtime under it 10> is killed (measured 2026-10-02), and pitchfork, which supervises it, only 11> restarts something that failed. So `wrangler-dev` treats any exit nobody 12> asked for as a failure, and pitchfork brings it back. 13 14## For the people who maintain it 15 16| Path | What | 17| --- | --- | 18| [eval/](eval/) | Picks the LLM, and checks the nine questions Jev is asked first. Chapter 14. | 19| [wrangler-dev](wrangler-dev) | The Worker under `wrangler dev`, for pitchfork: it reports an exit nobody asked for as a failure, so pitchfork restarts it. | 20| [check-hosts](check-hosts) | Curl checks of a running dev server's host handling (`apps/lmjtfy/src/host.rs`): `lmjtfy.fun` redirects every served repository to `code.lmjtfy.fun` with its path and query (redirect on) or serves it itself (off), and the code host has the code and nothing that asks Jev. Takes the mode as an argument. Needs a dev server per host and mode, because `wrangler dev` overwrites the Host header; the header says how. | 21| [wrangler](wrangler) | wrangler in `apps/lmjtfy`, for the dev daemon and the deploy tasks: the owner's credentialed `lmjtfy-wrangler` where it is on PATH, plain `wrangler` with the token from the environment otherwise. | 22| [with-secrets.sh](with-secrets.sh) | Runs a command under `fnox exec` when fnox is set up for the names in `fnox.toml`, plainly otherwise. | 23| [check-versions.sh](check-versions.sh) | Fails when a version written outside `mise.toml` (the wasm-bindgen pin, hk's release) differs from it. Part of `mise run check`. | 24 25← Previous: [Chapter 12½, tree/src/](../packages/tree/src/) · Up: [lmjtfy](../) · Next: [Chapter 14, eval/](eval/) →