Node.js doesn't load .env files automatically. Using Node 22's
native --env-file flag instead of adding dotenv dependency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Phase 1 implementation with all core modules:
- Fastify webhook server with Meta signature validation
- WhatsApp Cloud API client (send text/template/interactive, mark as read)
- LLM abstraction layer with Claude provider (Haiku for speed)
- BullMQ message processing pipeline (dedup, rate limiting)
- Bot routing (MessageRouter, ConversationManager, EscalationManager)
- Payload CMS integration (InteractionWriter via direct DB, RulesLoader, TemplateResolver)
- Healthcare-safe system prompt with medical keyword detection
- PM2 ecosystem config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>