Sequencing

Roadmap

What we are building, in what order, and why. Keep platform/ and mobile/ aligned without duplicating the plan in the root README.

Source: docs/roadmap/README.md

Now (shipped)

Public marketing site plus Authlogic actors (staff User, platform SuperUser), email and social signup, founder tenant provision, a staff workspace at /app (home clinic radar, settings with SaaS billing, clinic workflows from scheduling through invoicing, payments, tips, and commissions), free trial with testing credits, Stripe subscriptions, a SuperUser Admin console, a staff JSON API at /api/v1, and an Expo app.

ItemWhere
Monorepo: platform, mobile, docs, wikirepo root
Rails 8.1.3.1, Ruby 4.0.2, PostgreSQL, Tailwind, Hotwire; S3 storage in every environmentplatform/
Register, login, Google / Apple / Facebook, founder provision/register, /login, /auth/:provider
Workspace shell: greeting, clinic radar, SaaS widgets, Location switcherGET /app, PATCH /app/workspace — Home clinic radar
Header breadcrumb trail (per User, persisted) and collapsible sidebar with Settings flyoutBreadcrumbTrail, UserPreference — Breadcrumbs
Trial days in the header; workspace lock gate (trial ended without subscription, or credits exhausted)Home subscribe / buy-credits gate; API 402
Free-trial length and 500 testing credits on provisionPlatformSetting, CreditAccount, /admin/settings
Organization settings, location groups (Elite), staff invite (pending), RBAC assignment, disable/enable/app/settings, /app/staffs — Organization, Staff access
Stripe SaaS subscriptions, credits, proration, plan changes, auto-recharge, disputesBilling::PlanChange, POST /webhooks/stripe — SaaS billing
Admin console (directories, impersonation, RBAC catalog, plans, translations, platform catalogs, audits, billing transactions)/admin
Patient admission, chart tabs, intake magic link, header search/app/patients, /app/clients, /intake/:token — Patients
Appointment calendar with recurrence, appointment types, deposits, walk-in bookings, check-in and undo check-in (web and API)/app/schedule, /app/appointment_types, /api/v1/appointments — Appointments
Visits, whiteboard, Visit 360 workspace/app/whiteboard, /app/visits/:id — Visits
SOAP notes (templates, apply last visit), diagnostic orders, treatment plansSOAP
Master catalog with Location / group overrides, locks, pricing and patient groups, taxes/app/catalog — Catalog
Per-Location stock (quantity / batch) and bundle availability/app/inventory — Inventory
Checkout, clinic invoices, credit notes, payments, deposits/app/checkout, /app/invoices — Billing
Staff tips and commissions/app/tips, /app/commissions — Tips
Client email/SMS notifications and appointment reminders/app/notification_settings, AppointmentReminderJob
Staff API (Bearer + org/location headers): session, social, home, billing, organization, entities, location groups, locations, staffs, clients, patients, schedule, appointments/api/v1 — API
Expo SDK 58 app: login, register, Home (sample stats), Schedule, Patients, Clients, Staff, Organization settingsmobile/ — Setup

Next

Prefer models in platform/ before duplicating behavior in Expo.

  1. Invite email and accept-by-token — Deliver the pending Staff invite and a public page that calls Staff#accept!. Until then, invited emails cannot log in.
  2. Admin console (manage tenants) — Create and manage Organizations, Legal Entities, and Locations from /admin; let SuperUsers open any organization workspace.
  3. Authenticated organization shell — Billing, Messages, and Reports stay disabled placeholders until specs exist. Location switching, the Settings flyout, and breadcrumbs ship.
  4. Geocoding — Fill Location latitude / longitude, reusing AddressGeocoder.
  5. Hands-off uploads for documents and captures — Extend the QR upload session to vaccine certificates and other documents, then SOAP / observation / sample captures.
  6. Mobile client — Subscribe the Schedule to the Action Cable refresh (Bearer cable auth and Staff id on GET /api/v1/home first), then the Whiteboard, real Home stats and agenda, and API header search. Push is not the live-board path.

Later (product, not scheduled)

Promised on the landing page. Write acceptance in docs/functional first: