r/VibeCodeDevs • • 1d ago

ResourceDrop – Free tools, courses, gems etc. I open-sourced vibecode-enforcer (MIT): an auditing and code guardrail enforcing skill package for coding agents

If you're vibe coding apps with Claude Code, Codex, Cursor, Antigravity, Lovable, or Bolt, the biggest danger isn't what you don't know—it's what you don't know that you don't know.

Across real-world projects, AI-coded apps keep failing in the same three ways: 1. Unreviewed code turns into "cognitive debt" and compounding slop. As a codebase gets messier, AI models actually get worse and more expensive because they pattern-match onto their own past mess. 2. Models grade their own homework. Ask an AI to build a feature and write tests, and it writes the code first and writes tests afterward that the code literally cannot fail. Everything looks 100% green while billing math, data imports, or user isolation is silently broken. 3. Unstructured guardrails swing into process bloat. Pile enough rules and unconstrained review loops onto agents and they start generating multi-revision receipt folders and bloated 50-page instruction files.

So I put together vibecode-enforcer — 100% free and open source (MIT): https://github.com/jimdawdy-hub/vibecode-enforcer

What's inside (written for vibe coders, not just senior engineers): - Plain-English Hooks (ELI5): A rule in a prompt or CLAUDE.md is a polite sticky note an AI ignores when it's 30 steps deep. A hook is a security guard standing at the door—every time the AI tries to edit a file or run a command, the hook intercepts it before it runs and physically blocks rule violations. - TDD + @nizos/probity (Why Order Matters): Test-Driven Development (TDD) simply means: write a test for what the code should do, run it and watch it fail, then write the minimum code to pass it. Left alone, AI models write code first and tests afterward—creating fake "tests" the code literally cannot fail. @nizos/probity** connects straight into your coding agent's PreToolUse hook (./node_modules/.bin/probity --agent claude-code or codex), reads the live session transcript before each file write, and physically blocks the AI from editing production logic until a failing test has been observed (paired with gitleaks and strict CI gates). - Rule Zero (Outside Truth): Never let an AI certify its own work against itself. Compare parsers, math, dates, APIs, and database schemas against independent outside sources of truth. - Cross-Vendor Opposing Counsel (with Cotal): We found strong evidence that pitting agents from different AI companies against each other in a bounded 1-round adversarial review dramatically cuts bugs. We include setup instructions for Cotal (Cotal-AI/Cotal) for multi-vendor peer rooms, plus a zero-install CLI option. - 208 Tiered Checks Across Composable Profiles: A shared 19-check base + SaaS (131), Data Platform (30), and Agent Runtime (28) profiles, plus an OUT OF PROFILE guard so non-SaaS apps never get a false SHIP. - **Anti-Bureaucracy Rules: Guardrails to stop agents from generating endless tracking docs and compliance theater.

Double-blind benchmark results: We tested this across two completely different held-out apps (a TypeScript/Express SaaS and a Python/SQLite FTS5 data pipeline)—both with 100% passing unit tests and zero bug hints—built by one AI model and audited completely blind by other models: - TypeScript SaaS (LedgerPulse): Gemini caught 8/8 planted core defects (0 false positives across 7 clean controls); Claude caught 8/8 + 3 bonus real bugs (0 false positives). - Python Data Pipeline (RecallVault): Claude caught 11/11 planted defects (including 3/3 planted outside the 30-item checklist), 0 false positives, + 3 real unintentional SQLite bugs; Codex caught 11/11 (including 3/3 outside the checklist), 0 false positives, + 7 real unintentional bugs.

Contributors wanted: Right now the repo covers SaaS web apps, data platforms, and agent runtimes. We're inviting developers and domain experts to contribute modules for games, security/cryptography, engineering, science, math, mobile apps, and ML pipelines—with one rule: every contributed profile must include documented double-blind testing on a held-out repo like ours.

Repo (MIT, free & open source): https://github.com/jimdawdy-hub/vibecode-enforcer

0 Upvotes

1 comment sorted by

•

u/endofthread-bot 1d ago

Hey u/Semilearnedhand, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE

• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.

If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.