Commit Graph

4 Commits

Author SHA1 Message Date
cbd2559169 🐛 fix: normalize AI-generated dates to valid ISO offset datetimes
- add normalizeAiDateString() to coerce bare ISO datetimes, date-only
  strings, and fractional-second variants into offset-aware format
- apply via z.preprocess in AiEventResponseItemSchema so Zod validation
  no longer rejects AI responses missing a timezone offset
- fix system prompt to use toISOString() (unambiguous UTC) and clarify
  expected datetime format for the AI model
- install bun-types and add to tsconfig so bun:test resolves cleanly
- add 8 behaviour-driven tests covering all normalizer edge cases
2026-04-07 23:01:42 -04:00
db9d6399dd style(config): standardize configuration file formatting 2026-04-07 08:09:09 -04:00
1e6e7d50aa init nextjs 2025-08-16 01:54:30 -04:00
396f83b366 init bun 2025-08-16 01:54:30 -04:00