Shadow Validation
detected 2026-03-02
trigger
"Zod schemas for every simple route. Hand-rolled validation for the critical route."
what it is
A good validation abstraction applied to the easy cases and skipped for the hard one. The most complex, highest-risk route retains hand-rolled validation that bypasses the new system's guarantees.
what it signals
instead
Start the migration with the most complex route, not the simplest.
refs
- wake:lib/api-schemas.ts vs wake:lib/bout-engine.ts
← all patterns