Architecture
Internal app boundaries, data model, agentic guidance, and extension points for Varel.
Varel combines a SaaS foundation with repo-native agentic guidance for disciplined agent-assisted changes.
The private source-of-truth monorepo keeps the internal Varel app and core template source in apps/marketing.
Route groups separate public marketing, Clerk auth pages, authenticated app routes, and API handlers.
Data access is isolated behind repository interfaces and backed by Convex when configured.
Polar checkout and webhooks write shared customer, purchase, subscription, and entitlement records.
The workspace launch checklist proves the route, data, entitlement, email, and agent-preflight path end to end.
The operator dashboard is gated by ADMIN_EMAILS and reads users, workspaces, purchases, subscriptions, and integration health through repository boundaries.