How This Site Is Made
built 2026-09-19
1Nothing is typed twice
The work lives where it was made: essays in the blog repository, chapters in their book folders, the paper next to the database it describes, experiment records in the notebook app. bun run ingest copies them into content/, normalises their front matter, scrubs client identifiers from public copies, and refuses any document that looks like it holds a secret. Private documents are copied only where vault pages can read them. This build holds 45 essays, 112 lessons, 1 paper, 2 notebooks and 39 numbered findings.
2The day is measured
bun run hours reads claude prompts, git commits, files written, shell sessions on the machine — 6,472 timing points in the last collection — and turns them into sittings: sittings split on a 30-minute gap; the last point of a sitting is credited 4 minutes. Only project names and minutes are written out; private projects are folded into one line.
3The assistant may only quote
The corpus is 2,240 passages. A small BM25 retriever written for this site picks the passages; the model (qwen/qwen3.7-flash on OpenRouter, about three cents per million input tokens, with reasoning switched off) is told to answer only from them and to cite them. When nothing matches, the site says so rather than letting the model improvise.
4Recall is graded against the author
1509recall cards. Every answer is a sentence already written — a chapter's key takeaways, a thread's finding, an experiment's verdict. Only the question is written by the model, once, and cached. Scheduling is a small stability-and-difficulty model: a miss returns tomorrow, a confident hit waits longer each time.
5Storage is the author's own database
Every write — recall, progress, notes, office-hours requests, the written day, share links — goes to HanuDB, the bucket-resident document store described in the paper, running on a free-tier virtual machine with its durable state in two cloud buckets. The site runs on Cloud Run. See Appendix A for every folder behind it.
6Each room has its own typography
The lab is the dark sphere you arrive in. Papers are set like preprints. Experiments look like the notebook app they were written in. Essays keep the look of the blog they were published on. Courses are books. Recall is a desk of index cards. The day is an instrument panel. The vault is a locked room.
With the blessings of Bhairava Baba and Hanuman ji.