feat: zod를 사용하여 외부 JSON 데이터 입력 검증 추가 및 스키마 리팩토링

This commit is contained in:
2025-12-28 14:53:52 +00:00
parent ed9ee671a7
commit 174c171e10
2 changed files with 34 additions and 36 deletions
+1
View File
@@ -40,6 +40,7 @@ monorepo plan is prepared alongside it.
## Cross-Cutting Policies
- No ad-hoc randomness for gameplay; use deterministic RNG
- External JSON/data inputs must be validated with zod; name zod schemas with a `z` prefix.
- Keep domain logic independent of endpoints or UI
- Prefer clear Korean comments in core gameplay logic for maintainers
- Test strategy and layering: `docs/testing-policy.md`