Skip to content

References: Rules That Enforce Themselves

  1. Continuous integration - Wikipedia - Explains merging small changes often and checking each one automatically. It is the base for the chapter's CI pipeline section.

  2. Lint (software) - Wikipedia - Covers tools that flag suspicious code without running it. It supports the chapter's sections on linters and formatters.

  3. Poka-yoke - Wikipedia - Describes mistake-proofing, the Toyota practice of designing steps so errors can't happen or are caught at once. It is the factory version of enforcement over memory.

  4. Zero Quality Control: Source Inspection and the Poka-Yoke System - Shigeo Shingo - Productivity Press, 1986 - Shingo introduced poka-yoke devices that stop a defect at its source instead of inspecting for it later. Pre-commit hooks and CI gates apply the same idea to code.

  5. The Checklist Manifesto: How to Get Things Right - Atul Gawande - Metropolitan Books, 2009 - Gawande showed with surgery and aviation cases that short checklists prevent failures that skill alone misses. It explains why lessons should become written rules.

  6. Continuous Integration - Martin Fowler - The widely cited article on CI practice. It explains why every commit should trigger a build and tests.

  7. GitHub Actions documentation - GitHub Docs - Official guides for running checks on every push and pull request. It shows how to add the one-line CI gate described in this chapter.

  8. pre-commit - pre-commit - A framework for managing git pre-commit hooks across a team. It backs the chapter's pre-commit secret scan.

  9. Git Hooks - Pro Git - Explains how git runs scripts before commits and pushes. It also shows why hooks are opt-in per clone, which is the gap CI closes.

  10. Getting Started with ESLint - ESLint - The official guide to setting up a JavaScript linter. A common first automated check for an AI-built app.