Cross-layer checklist
From the repositorypacks/sdd/skills/sdd-verify/checklist-cross-layer.md ↗
Cross-layer checklist
Section titled “Cross-layer checklist”Added/renamed/retyped cross-layer fields; one layer => n/a. Compilation misses runtime drift. Fix now or record mismatch in spec/baseline; NEVER silently defer.
- Entity/model field/type/nullability; DB decimal may arrive string.
- Migration exists/idempotent; honest down(); comment irreversibility/data loss.
- DTO validator; optionality matches entity BOTH ways.
- Shared model/request/response back↔front ONCE in shared package, not duplicates.
- EVERY writer: public checkout/admin/webhook/job/import…
- Readers’ old assumptions (e.g. ×100 for expected cents).
- Seeds/fixtures: clean reseed reflects new state. Typechecks prove compatible types, not data flow. Critical => local dod-critical.md.