The guessed status word
An agent wrote "deleted" into a lifecycle field. The canonical word was "archived". Nothing crashed. The write succeeded. For two weeks, a daily job quietly produced orphaned records before a validator caught the pattern.
ForgeValidators catches the mistakes AI coding agents actually make - exposed keys, dead buttons, swallowed errors, invented columns, silent drift. Scan your live site free in seconds, or run the CLI on your codebase before you ship.
npm install -g forgevalidators
Install it, run it, wire it into CI. From zero to a guarded codebase in under five minutes, with no config required to start.
Node 18+, zero dependencies, Windows, macOS, and Linux. No account. Nothing phones home.
Sensible defaults for Netlify + Supabase style projects; one config file adapts anything else. Checks that do not apply skip cleanly.
Exit code 0 or 1: a failure class you have met once never ships twice. Intentional exceptions live inline, visible in review.
25+ checks today, growing as new incidents earn them. Everything below is in the free tier.
response-success-checksinline-handlerspromiselike-catcheffect-target-recheckerror-leaksinput-safetyinjection-safetydead-endpointsanon-clientdead-referencesregistry-mirror-driftaction-paramsjwt-field-accessresponsive-cssThe database-aware checks - invented columns, auth boundaries, schema drift, response envelopes - are Pro. See what they catch.
These rules were not brainstormed. They come from a production codebase where AI agents write effectively all the code - hundreds of serverless functions, tens of thousands of commits, up to twenty agents at once. Every time AI broke something real, the failure became a permanent, machine-enforced check. Three of those days:
An agent wrote "deleted" into a lifecycle field. The canonical word was "archived". Nothing crashed. The write succeeded. For two weeks, a daily job quietly produced orphaned records before a validator caught the pattern.
A UI component called an endpoint that looked right and was wrong. Every call failed with an HTTP error, which an error handler swallowed into an empty list. Users saw nothing. Logs said nothing. Three weeks.
Two agents edited the same hot file in parallel. The merge truncated a core file to zero bytes. No error, no warning - an empty file where working code used to be.
One codebase, one methodology, mostly one family of models. These percentages describe our system, measured carefully. A data point the industry does not otherwise have - not a law of nature.
Pro adds the validators that need to know your actual schema - the ones that catch what an agent invented:
Pro registers each validator as a tool your AI agent can call: Claude Code, Cursor, Copilot, anything MCP-compatible. The agent validates before it claims done, instead of you finding out after.
npm install -g forgevalidators
Detection tells you a bug exists. Prevention makes it impossible to write: query builders that reject invented column names at call time, schema registries that answer "did you mean", and a learning protocol where every AI session leaves the system smarter than it found it. That deeper layer is how the codebase behind these validators actually runs. If catching the same class of bug twice offends you, ask us about it.
// inject-ok) so intentional exceptions live next to the code
they excuse, visible in review. Prevention-class validators warn instead of
fail on principle.Five minutes from now, your codebase can be checking for it on every change.
npm install -g forgevalidators