learning_ai_clock/backend/src
saravanakumardb1 0e7c1aeb15 feat(backend): state-change event detection + clone template on start
- PUT /timers/🆔 detect state→fired and state→completed transitions,
  emit timer.fired / timer.completed domain events
- PUT /routines/🆔 detect status→completed transition,
  emit routine.completed domain event
- POST /routines/:id/start (TODO-004): when isTemplate=true, clone the
  template into a new RoutineDoc instead of mutating in-place. Original
  template stays reusable. Non-templates still update in place.

All 6 ChronoMind event types are now fully wired end-to-end.
2026-04-13 17:00:05 -07:00
..
lib fix(backend): convert ecosystem-phase2 test to Vitest, fix .ts extension + hardcoded productId 2026-04-13 15:51:58 -07:00
modules feat(backend): state-change event detection + clone template on start 2026-04-13 17:00:05 -07:00
diagnostics.test.ts feat(backend): add GET /api/bootstrap route + test 2026-03-20 21:15:40 -07:00
server.ts feat(backend): add domain event bus + webhook dispatch 2026-04-13 11:28:38 -07:00