System Blueprint

Live AI Architecture

A state-dependent life operating system built as a Vercel-ready Next.js application with Supabase authentication, row-level security, typed data access, and mock-mode continuity.

Next.js App Layer

App Router pages render the landing site, protected cockpit, Tracks, Builder, Content Factory, Library, and Automation Hub.

TrackSwitch Runtime

Central Station converts unstructured input into state-fit tasks, stations, related apps, and AI next steps.

Supabase Data Layer

Typed query helpers map Postgres rows into Live AI domain objects while preserving mock-data fallback for local design work.

Auth & RLS Boundary

Supabase Auth, middleware protection, and owner-scoped RLS policies keep user workspaces isolated.

Request Flow

Step 1

User signs in through Supabase Auth

Step 2

Middleware protects operational routes

Step 3

Server loaders fetch workspace records

Step 4

Client components preserve fast local interaction

Step 5

Routed tasks and automation rules persist back to Supabase