Schema Shadow
detected 2026-03-02
trigger
"// Minimal schema matching lib/env.ts structure — the test rebuilds the schema from scratch."
what it is
The test reconstructs a validation schema instead of importing the real one. Changes to the real schema go undetected. Born stale by design.
what it signals
instead
Export the schema separately from the module-level parse call. Test the exported schema directly.
refs
- wake:tests/unit/env.test.ts
← all patterns