hn.today

Started writing book on how ai changes development.formals, docs, tests

github.com7 points1 comments
Screenshot of Started writing book on how ai changes development.formals, docs, tests

Growing Verified Systems, Guided by Proofs argues that AI coding agents have shifted the bottleneck in software development. When code generation is cheap, the harder work is specifying what must remain true, detecting convincing but incorrect output, and limiting how much of a system must be trusted. The project adapts the test-guided approach of Growing Object-Oriented Software to this setting, arguing that formal proofs, continuous fuzzing, visual review, independent reference implementations, and minimal operating systems are now practical for individuals and small teams.

The manuscript is paired with Vouch, a Lean 4 codebase for a policy-enforced co-signing vault. It is intended to begin as an iOS app and evolve into a server running as a silo-os unikernel, with proofs for constant-time cryptography and remote attestation. The repository includes a 19-chapter outline, two appendices, and book chapters whose code examples are checked against the implementation. Its CI is designed to verify proofs and axiom restrictions, run tests, check that the generated specification is current, detect drift in book snippets, and validate the built web book. Together, the book and codebase demonstrate a development process centered on enforceable claims rather than confidence in generated code.

Read on github.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.