# I started writing a book, on coding any interest?

> Source: <https://github.com/posix4e/growing-verified-systems>
> Published: 2026-11-28 15:48:05+00:00

**Recommendation:** Gate AI-written code behind Lean 4 proofs, a sorry-freedom check, and a snippet verifier that fails CI on drift, so unproved or stale claims never ship.
More in the playbook "Verifying model output": <https://wpnews.pro/playbooks/output-verification>

*Journeys, Invariants, Unikernels, and Truthful CI in the Age of AI*

In 2009, *Growing Object-Oriented Software, Guided by Tests* (GOOS) taught a generation of engineers how to grow reliable systems from the outside in using walking skeletons, real acceptance tests, and fast mocked unit loops.

That book assumed typing code was expensive. In the age of AI coding agents, generating code is almost free—while **specifying what must never break, catching plausible lies, and minimizing what you have to trust** have become the whole job. Practices that once looked like NASA cosplay—machine-checked formal proofs, visual QA teams on every commit, independent zero-shared-code reference implementations, continuous fuzzing, and bare-metal unikernels without Linux—are now practical for a single engineer or a small team.

This repository holds both the manuscript and the compiling, proof-gated companion codebase (**Vouch**, a policy-enforced co-signing vault that starts as an iOS app on LeanNative and shrinks its server into a `silo-os` unikernel with proved constant-time cryptography and remote attestation).

- `chapters/` — Manuscript chapters in Markdown (each code listing verified byte-for-byte against`code/` ).
- `OUTLINE.md` — Full 19-chapter + 2-appendix book blueprint.
- `code/vouch/` — Companion Lean 4 package (`VouchCore` , proofs, axiom gate, and living-spec test suite).
- `scripts/` — Zero-dependency static web-book builder, snippet drift verifier (`--check` /`--sync` ), negative-control test (`test-build.mjs` ), and print stylesheet.
- `.github/workflows/ci.yml` — Truthful CI pipeline checking proofs,`sorry` freedom, tests,`SPEC.md` freshness, snippet drift, and the built web-book.

```
# 1. Build Vouch, check all proofs and axiom gates, run tests, and regenerate SPEC.md
cd code/vouch
lake build
./.lake/build/bin/vouch-test
./.lake/build/bin/vouch-test --spec > SPEC.md
cd ../..

# 2. Run the snippet-verifier negative control, verify all book snippets, and build dist/
node scripts/test-build.mjs
node scripts/build.mjs --check
node scripts/build.mjs
```

Open `dist/index.html` in a browser (or print any chapter to PDF via your browser's print dialog).
