learning_ai_clock/backend/src
saravanakumardb1 c80c1e4462 feat(ai-context): Phase A.4 — context-aware AI messages with LLM fallback
Add AI-enriched context message generation:

- backend/src/lib/ai-context.ts: LLM-powered context generator with keyword fallback
  - Calls extraction-service timer-context task when EXTRACTION_SERVICE_URL is set
  - Falls back to keyword rules, then generic message
  - Gated behind isFeatureEnabled('ai_context_messages.enabled')
- backend/src/lib/config.ts: Add EXTRACTION_SERVICE_URL env var
- backend/src/server.ts: POST /api/context-message route
- web/src/lib/context-messages.ts: fetchEnrichedMessage() with graceful degradation
- Updated AGENTIC_AI_ROADMAP.md checkboxes for Phase A.1 + A.2

All 219 backend tests + 394 web tests pass. No breaking changes.
2026-03-31 23:46:00 -07:00
..
lib feat(ai-context): Phase A.4 — context-aware AI messages with LLM fallback 2026-03-31 23:46:00 -07:00
modules feat(agent-actions): Phase A.2 — agent action audit trail module + tests 2026-03-31 23:38:03 -07:00
diagnostics.test.ts feat(backend): add GET /api/bootstrap route + test 2026-03-20 21:15:40 -07:00
server.ts feat(ai-context): Phase A.4 — context-aware AI messages with LLM fallback 2026-03-31 23:46:00 -07:00