Admin and engineering

How this site is built, the gate it passes, and the rules it keeps.

The chain

python3 admin/build/build.py        # every page and twin, llms.txt, the sitemap, the review's derived layers
node admin/build/validate.js        # the gate, below
node admin/build/test_finder.mjs    # the finder's rules against finder.json, with sample answers
node admin/build/test_interview.mjs # the interview page in a real browser (Playwright; skips without it)
python3 admin/build/release.py --what "one sentence" [--minor] [--dev]   # fetch, bump, build, validate, test, tripwire, commit, push, verify live

The gate

Every check fails the build; CI runs the gate and the finder test before it tags a release.

  1. Version agreement: admin/build/version.txt against the badge on every page, the newest row of the release history, and llms.txt.
  2. Internal links resolve, and no page is an orphan: every relative href and src points at a file; every page is reachable from the front page by links.
  3. A markdown twin for every page, and every twin in llms.txt.
  4. Canonical and og:url on every page, on the host in CNAME.
  5. Nothing from another origin: no script, stylesheet or image is fetched from outside this site.
  6. The key tripwire: no private sgit key, private-key block, cloud, model-provider, GitHub, Slack or Google key shape anywhere in the tree. The release script scans the staged diff too, and the secret part of any key kept in admin/credentials/.
  7. Div balance on every page.
  8. No em-dash in any page or twin.
  9. The sitemap and the tree agree in both directions.
  10. The finder's published file is its source: finder/finder.json equals admin/content/finder/finder.json; the deep checks are the finder test.
  11. The review folder is fresh: every source file's hash matches review/graph/files.json, and the coverage on the review page is the join's.
  12. Every script parses: node --check on every JavaScript file, py_compile on every Python file.

Not here, and said so: a linter or a formatter, as on every sibling site; the Type_Safe guards and crypto vectors of the guidance's list, which have no code to guard here. The corrections file records both.

The rules

Where things are

Release history · What exists · Corrections · the repository