Phase 0 In Motion
Landline-first AI monitoring, built for nurse review instead of autonomous decision-making.
The docs are now translated into a live Next.js foundation with a brand-aligned UI shell, environment checklist, health endpoint, and the database/auth scaffolding ready to deepen.
Telephony-first
Outbound calls, TwiML, media streams, recordings, and retry logic are the next integration milestone.
Nurse-led safety
Reports support triage, but all clinical decisions stay with the nurse and site governance model.
HF workflow
The scaffold already mirrors the heart failure monitoring and report-generation journey in the docs.
Service Readiness
10/10
Services detected from local environment variables. This lets us see what is ready before deeper integrations land.
Phase 0 — Scaffold the app shell, env model, health route, and dashboard foundation.
Phase 1 — Materialise the Drizzle schema, seed dev data, and wire Clerk roles/site scope.
Phase 2 — Add Twilio call initiation, webhook validation, and cron scheduling.
Phase 3 — Build the real-time voice pipeline: Whisper, GPT-4o-mini, and ElevenLabs.
Environment Checklist
Infrastructure status at a glance
This surface is intentionally practical. It is here to help us move from docs to execution while keeping the clinical and infrastructure constraints visible.
Neon Database
Neon + Drizzle back the full clinical data model.
Configured
Clerk Auth
Required for nurse sign-in, roles, and protected routes.
Configured
Twilio Voice
Outbound calling, recordings, SMS, and webhook validation.
Configured
Realtime Voice Gateway
Twilio Media Streams need a dedicated WebSocket host outside Vercel Functions.
Configured
OpenAI
Whisper STT, conversation, and structured report generation.
Configured
ElevenLabs
Streaming UK-English TTS for the patient call flow.
Configured
Resend
Email alerts for urgent nurse notifications.
Configured
Alert SMS Target
Emergency alerts need an on-call SMS destination until nurse mobile numbers live in the schema.
Configured
Sentry
Error tracking and deployment visibility.
Configured
Cron Secret
Protects the scheduling endpoint and helps Vercel target the app.
Configured
What Is Already Started
- Next.js 14 App Router, Tailwind, TypeScript, and brand tokens are now wired into the repo root.
- A dashboard shell exists for the nurse workflow, including the main navigation routes from the spec.
- A health endpoint and cron stub are in place so ops surfaces can be verified before telephony and AI are added.
- Drizzle config, Neon client setup, and the initial seed path are ready for the schema layer to come online.