SaaS Roadmap

KRONOS CORE is evolving from a local demo into a full multi-tenant SaaS platform. This page shows the current configuration state and the planned feature phases.

Live Configuration Status

Implementation Phases

Phase 1

Auth + Database Foundation

  • Supabase project configuration
  • PostgreSQL schema (8 tables)
  • Row-level security policies
  • Supabase client adapter
  • JWT auth dependency (passthrough mode)
  • SaaS status API endpoints
  • Report store service stubs
  • Organisation service stubs

Phase 2

User Login & Registration

  • Email/password sign-up and login
  • Supabase Auth integration
  • Protected endpoints with JWT
  • User profile management
  • Organisation creation flow
  • Session persistence in Next.js

Phase 3

Saved Audit History

  • Persist blueprint results to database
  • Persist npm audit results
  • Persist sandbox inspection results
  • Persist enterprise report results
  • History page with paginated records
  • Re-view any saved report

Phase 4

PDF Export

  • Download enterprise report as branded PDF
  • Report includes compliance alignment tables
  • Signed with unique report ID
  • Retrievable from history by ID

Phase 5

Stripe Subscription Billing

  • Starter / Team / Enterprise pricing tiers
  • Stripe Checkout integration
  • Stripe Customer Portal
  • Webhook handler for subscription events
  • Plan-based rate limits

Phase 6

Organisation Workspace

  • Invite team members by email
  • Role-based access: Owner / Admin / Member / Viewer
  • Custom package allowlist per organisation
  • Usage metrics dashboard
  • Monthly audit / blueprint consumption stats

Phase 7

Production Deployment

  • Custom domain + HTTPS (Certbot)
  • nginx reverse proxy
  • GitHub Actions CI/CD pipeline
  • Sentry error monitoring
  • Production Supabase project
  • Staging environment