Living architecture map
PlanItxAI, as a system
Explore the runtime system, the data and trust boundary, and the development-to-deployment pipeline. Select a component to see what it owns and why it exists.
Runtime
Client
iPad / iPhone PWA
Safari or installed Home Screen app; interactive UI and
device-local public weather cache.
→
Application
Next.js + React
App Router, Server Components by default, Client Components
for interaction.
→
Trusted server
Server runtime
Server Actions, API routes, authentication checks and
server-only secrets.
Workflow
Notes + Reflection
Authenticated mutations, owner-scoped persistence and view
revalidation.
Workflow
Weather
Open-Meteo data plus deterministic PlanItxAI weather and ride
interpretation.
Workflow
Transit
Authenticated /api/transit boundary with server-side MBTA
access.
Identity
Authentication
Supabase SSR session verified from request cookies.
Trust boundary: the browser may request an
operation; trusted server and database layers decide whether it is
allowed.
Data + authorization + external services
Backend platform
Supabase
Authentication and PostgreSQL access in the authenticated user
context.
↔
Persistence
PostgreSQL
Notes, categories, labels, reflections, feedback and transit
preferences.
↔
Authorization
Row Level Security
auth.uid() ownership rules are the authoritative privacy
boundary.
External API
MBTA V3
Routes, schedules, predictions and alerts; API key is
server-only.
External API
Open-Meteo
Public forecast data; no weather secret is required.
Development + delivery
Product control
You + ChatGPT
Requirements, architecture, tradeoffs and review.
→
Implementation
Codex Cloud
Ephemeral implementation sandbox for editing, testing and
commits.
→
Source of truth
GitHub
Code, branches, pull requests and durable product/architecture
documentation.
→
Deployment
Vercel
Builds the same codebase using environment-specific
configuration.
→
Running system
Staging + Production
Separate origins and separate Supabase projects, then back to
the client.
Trace a real flow