Vibe Verify
A multi-language guide to testing and verification — mapping each ecosystem's checkers (property tests, formal models, fuzzers, contracts, mutation testing) to the properties they can hold, and the code structure that keeps those checkers reachable.
Sibling of vibe-types. The two projects share one question with two answers: what is the strongest checker that can hold this property? When the answer is "a type", vibe-types takes over. When it is anything weaker, this project does.
Approach: For each language, a Technique Catalog documents what each verification technique checks, and a Use-Case Index shows which techniques fit which problem. A shared Taxonomy provides cross-skill coverage matrices. A cross-cutting Quint skill covers formal models, because a model is language-agnostic and pairs with any implementation.
Core tenets
Make correctness a checked artifact, not a belief. Every property you care about should be something a machine re-checks on every change, and the code should be shaped so that checking it is cheap. Each skill embeds an adapted copy; the canonical wording lives in docs/core-tenets.md.
- Climb the ladder of evidence — type > model > property > fuzz > model-based > example > snapshot > assertion; use the strongest rung that can express the property.
- Promote tests to types when you can — invariant-shaped tests are a queue for vibe-types, not a permanent fixture.
- State the property, not the example — every test starts from "for all X such that P, Q holds".
- Make the model the oracle — drive the real system and a dumb reference model with the same generated operations.
- Model before you build — for anything concurrent, distributed, or protocol-shaped, check a formal model before writing the implementation.
- Design for testability by controlling the seams — functional core, imperative shell; capabilities passed as values.
- Replace at the seam, never at the module — monkey-patching is a symptom of a missing seam; the rule is graded, not absolute.
- Determinism is a prerequisite — a failure that cannot be replayed from a seed is an anecdote, not evidence.
- Fuzz everything that parses — untrusted bytes to structure gets a fuzz target and a corpus.
- Shrink to understand — a minimized counterexample is the bug's specification.
- Turn every bug into a checker — fix the class, not the instance.
- Measure the suite, not the coverage — mutation score over line coverage.
- Keep the tests honest about their scope — every test declares its layer.
The ladder of evidence
| Rung | Checker | Exhaustive? | Lives in |
|---|
| 1 | Type / compiler proof | yes, ∀ | vibe-types |
| 2 | Formal model, model checker | yes, within bounds | Quint skill |
| 3 | Property-based test | sampled | language skills |
| 4 | Fuzzing | sampled, coverage-guided | language skills |
| 5 | Model-based / stateful test | sampled sequences | language skills |
| 6 | Example-based test | one point | language skills |
| 7 | Snapshot / golden | one point, pinned | language skills |
| 8 | Contract / runtime assertion | at runtime only | language skills |
| M | Mutation testing, flakiness work | checks the checkers | language skills |
Skills
| Skill | Status | Guide |
|---|
| Quint (cross-cutting) | In Progress | formal models, invariants, temporal properties, conformance |
| Python | In Progress | Hypothesis, pythonfuzz/Atheris, mutmut, pytest seams |
| Rust | In Progress | proptest, cargo-fuzz, loom, turmoil, cargo-mutants, insta |
| TypeScript | In Progress | fast-check, vitest, msw, Stryker |
| Scala 3 | In Progress | ScalaCheck, Hedgehog, discipline, TestControl |
| Lean 4 | In Progress | Plausible, decide/native_decide, test→proof promotion |
Shared Resources
| Document | Contents |
|---|
| Techniques | Cross-skill technique coverage matrix (stable T## IDs) |
| Use Cases | Cross-skill use-case coverage matrix (stable UC## IDs) |
| Sources | References and primary sources per skill |
| Authoring guide | Templates and rules for writing skill entries |
Structure