Enforcement Is Not Verification
A passing check is evidence only about what it evaluates.
- Kind
- Principle
- Stage
- Review
- Role
- Factory designer
- Evidence
- Proposed
- Entry
- Abridged
This page is the abridged form. The full entry, with its reasoning, costs and evidence, is in preparation for the book The Engineering of Confidence.
Use when
A check passes and you are about to treat the rule it stands for as held.
In brief
Keep apart the intended invariant, its machine-readable form, the mechanism that enforces it, and the evidence that the mechanism covers the invariant. Get that evidence by attempting each forbidden action, or by guarding where the effect happens and testing that guard.
Evidence
ProposedThe author’s own framework or experiments. No outside source yet.
No outside source is named for this pattern yet.
Related patterns
Full entry
The full entry is in preparation for the book.
How to cite this page
Vibhor Mahajan. (2026). Enforcement Is Not Verification. In Design Patterns for AI Software Factory. Last changed 2 December 2026. https://softwarefactorypatterns.com/patterns/enforcement-is-not-verification/
In the manuscript: Chapter 3.