Organize/prisma/migrations
Brian Fertig eb32aee653 Add scheduled (recurring) to-dos, AI to-do generation, and in-place building upgrades
- Scheduled to-dos: new ScheduledTodo + ScheduledTodoCompletion models
  (owner-XOR-project ownership like Category, per-occurrence completion
  so a recurring to-do tracks done state per calendar date), recurrence
  built server-side from validated parts via rrule-utils, CRUD +
  occurrence-toggle server actions, add/edit dialog, and a collapsible
  Scheduled side panel (overdue / today / upcoming) with UTC-safe
  date-key formatting.
- AI to-dos: group-level AI dialog (lib/actions/todo-ai.ts) that chats
  then proposes a finalize list of to-dos; editable proposals and bulk
  add via BoardProvider.addTodos; speech recognition gains better error
  handling (network/firewall message, error logging).
- Building upgrades: new `upgradesFrom` rule — Nuclear Power Plant can
  replace a friendly Energy Generator and Advanced Metal Generator a
  Mass Generator (same tile + footprint, per TALogic.findUpgradeTarget),
  crediting a 50% refund of the replaced building's OWN cost;
  compileRules validates the references, topperFrame gets a generic
  spinning-glyph fallback in TAArt.
- Movement rework: pushOutOfObstacles replaces the hard tile-snap with a
  damped circle-vs-tile overlap push, and pathfinding routes at exact-fit
  clearance instead of +1 padding (fixes corner grinding/stalling).
- New map m06 "Annihilation" (medium, snowfields, Klaxon skill 5, seed
  90123 — pre-vetted for early-economy balance).
- Tests: upgrade placement (ownership, type match, exact footprint,
  refund, army-less fallback), obstacle routing/settling, corridor
  moves; sprites.md updated for upgradesFrom and toppers.
2026-08-17 15:03:13 -06:00
..
20260811180929_init
20260811190000_add_group_archived_at
20260811200000_add_user_role
20260812000000_add_site_settings Created different Authorization types 2026-08-12 11:02:40 -06:00
20260813000000_add_projects feat(board): introduce Projects as isolated boards 2026-08-12 12:57:41 -06:00
20260814000000_add_todo_completed_at feat: add AI provider config and todo completion timestamps 2026-08-12 15:01:54 -06:00
20260815000000_add_ai_settings feat: add AI provider config and todo completion timestamps 2026-08-12 15:01:54 -06:00
20260817190137_add_scheduled_todos Add scheduled (recurring) to-dos, AI to-do generation, and in-place building upgrades 2026-08-17 15:03:13 -06:00
20260817190207_add_scheduled_todo_owner_xor_project Add scheduled (recurring) to-dos, AI to-do generation, and in-place building upgrades 2026-08-17 15:03:13 -06:00
migration_lock.toml