Why it exists
- A WhatsApp auto-reply assistant I run produced about a dozen defects over two days: a duplicated greeting, internal model details sent to a contact, assistant-sounding replies where a person was expected, a group chat silently skipped.
- Every defect was found by reading what real people had already received. I wanted to find the same failures at my desk instead.
What it does
- A catalogue of 34 recurring failure shapes, each with a real or honestly labelled hypothetical instance and a way to detect it.
- A card per branch, stored outside the repository: the failure, the enforcement, and the executed proof for each shape that applies.
- Proofs are hashed against the files they covered, so editing code after the test is detected instead of trusted.
- A hook that checks the card at the end of a session when risky files changed, and blocks once for the red zone: auth, outbound delivery, credentials, schedulers, deployment.
Decisions worth explaining
- Size is not a risk proxy. The size floor that skips tiny changes is suspended for the red zone, because a one-line change can flip a security setting.
- Prefer a mechanism to an instruction. A voice rule held 5 times in 6 trials, which is not a guarantee on a surface a real person reads, so the hard constraint also exists as an outbound filter.
- Never use an unaware real person as the test. Use a test recipient, a sandbox or a canary I own.
- Hashes bind code, not the world, so proofs that depend on external state record what was observed and when.
Where it stands
- In use on every change that touches a person, shared state or an outside system. It has caught its own mistakes: running the gate on the gate's construction found defects the tests had missed.
What I learned
An instruction is a hint. A control is a mechanism sitting on the surface the caller can actually reach.
Evidence
- the skill and its worked example in a private, version-controlled skills repository
- the 34-row catalogue; failure counts from repeated trials
Most source material lives in private repositories. I am happy to show it in a live walkthrough.
Risk analysisChange controlVerificationDefence in depth