{"slug": "i-started-writing-a-book-on-coding-any-interest", "title": "I started writing a book, on coding any interest?", "summary": "An engineer has published a GitHub repository containing the manuscript and companion codebase for a proposed 19-chapter book, \"Journeys, Invariants, Unikernels, and Truthful CI in the Age of AI,\" which argues that AI coding agents make code generation nearly free while specifying invariants and minimizing trust become the core engineering work. The companion Lean 4 package, VouchCore, powers 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. A CI pipeline checks proofs, sorry freedom, tests, SPEC.md freshness, snippet drift, and the built web-book, with each code listing verified byte-for-byte against the code directory.", "body_md": "*Journeys, Invariants, Unikernels, and Truthful CI in the Age of AI*\n\nIn 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.\n\nThat 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.\n\nThis 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).\n\n- `chapters/` — Manuscript chapters in Markdown (each code listing verified byte-for-byte against`code/` ).\n- `OUTLINE.md` — Full 19-chapter + 2-appendix book blueprint.\n- `code/vouch/` — Companion Lean 4 package (`VouchCore` , proofs, axiom gate, and living-spec test suite).\n- `scripts/` — Zero-dependency static web-book builder, snippet drift verifier (`--check` /`--sync` ), negative-control test (`test-build.mjs` ), and print stylesheet.\n- `.github/workflows/ci.yml` — Truthful CI pipeline checking proofs,`sorry` freedom, tests,`SPEC.md` freshness, snippet drift, and the built web-book.\n\n```\n# 1. Build Vouch, check all proofs and axiom gates, run tests, and regenerate SPEC.md\ncd code/vouch\nlake build\n./.lake/build/bin/vouch-test\n./.lake/build/bin/vouch-test --spec > SPEC.md\ncd ../..\n\n# 2. Run the snippet-verifier negative control, verify all book snippets, and build dist/\nnode scripts/test-build.mjs\nnode scripts/build.mjs --check\nnode scripts/build.mjs\n```\n\nOpen `dist/index.html` in a browser (or print any chapter to PDF via your browser's print dialog).", "url": "https://wpnews.pro/news/i-started-writing-a-book-on-coding-any-interest", "canonical_source": "https://github.com/posix4e/growing-verified-systems", "published_at": "2026-11-28 15:48:05+00:00", "updated_at": "2026-11-28 16:13:45.942696+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-agents"], "entities": ["Vouch", "VouchCore", "Lean 4", "LeanNative", "silo-os", "Growing Object-Oriented Software, Guided by Tests"], "also_reported_by": [], "takeaway": "Pair AI-generated code with machine-checked proofs, an axiom gate, and a snippet-drift verifier that checks every listing byte-for-byte against the source, so the build fails on unproved claims rather than plausible-looking output.", "recommendation": {"advice": "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.", "playbook": "output-verification", "playbook_url": "https://wpnews.pro/playbooks/output-verification"}, "alternates": {"html": "https://wpnews.pro/news/i-started-writing-a-book-on-coding-any-interest", "markdown": "https://wpnews.pro/news/i-started-writing-a-book-on-coding-any-interest.md", "text": "https://wpnews.pro/news/i-started-writing-a-book-on-coding-any-interest.txt", "jsonld": "https://wpnews.pro/news/i-started-writing-a-book-on-coding-any-interest.jsonld"}}