Source / Inspiration: Verification-Driven Development (VDD) via Iterative Adversarial Refinement
VDD is a high-integrity development mode designed for mission-critical or complex components. It shifts the focus from "Validation" (Does it work?) to "Verification" (Is it robust/secure/correct?).
It uses an Adversarial Agent (often called "Sarcasmotron") to actively try to break the code, find logical inconsistencies, or point out "slop" (lazy implementation).
- Build: Developer implements the feature (often using Stub-First TDD).
- Attack (The Roast): The Adversarial Agent reviews the code with the specific goal of finding flaws, security holes, or bad practices.
- Refine: Developer fixes the identified issues.
- Repeat: The loop continues until the objective bar is met — the full test run has executed, zero CRITICAL, zero legitimate logic/security/slop findings, and only bikeshedding remains (the "Objective Convergence" exit). Approval is bound to that bar — never to "the adversary was forced to invent nitpicks".
- Security-sensitive modules (Auth, Payments).
- Complex algorithmic logic.
- Core system architecture.
- Smart contract development (Solidity, Solana).
- When "good enough" is not enough.
VDD pairs naturally with the security-audit skill (v3.2). The adversarial loop can include automated scanning (run_audit.py) to verify that the scanner itself catches real-world vulnerability patterns. This was validated in VDD Rounds 1-3 against recent DeFi hacks (Dec 2025 – Mar 2026), resulting in 16 new Solidity-specific detection patterns.