FormaOS is a compliance operations platform built on Next.js, Supabase, Stripe, Trigger.dev, and a growing control-plane/admin operating layer.
app/: product app, marketing site, admin console, API routeslib/: domain services for billing, security, reporting, control-plane, onboarding, and compliance logicsupabase/migrations/: schema history and platform/security hardening worktrigger/: background jobs and workflow exportse2e/,tests/,__tests__/: browser, integration, and unit coverage
- Multi-tenant compliance workspace with organization onboarding and role-aware access
- Billing, trials, entitlements, exports, and report generation
- Executive/compliance posture, evidence, controls, and automation workflows
- Admin console for platform support, security, releases, and control-plane operations
- Marketing/trust surfaces for enterprise buyers
Next.js 16,React 19,TypeScript 5Supabasefor auth, database, and storageStripefor subscriptions and billing operationsTrigger.devfor async/background workflowsUpstash Redisfor rate limiting and operational cachingOpenTelemetry,Langfuse,Sentry, and internal monitoring hooks for observability
The admin surface now supports:
- delegated platform-admin roles in addition to founder access
- immutable/legacy unified audit reads
- reason-gated admin mutations
- approval-gated high-risk changes for delegated admins
- customer-360 org view with members, entitlements, support, activity, sessions, security, and exports
- live ops surfaces for security, sessions, and activity
Relevant areas:
app/admin/app/api/admin/app/app/admin/access.tslib/admin/lib/control-plane/
cd ~/formaos
npm install
npm run devBefore builds and dev, the project checks root and environment setup:
npm run check-root
npm run check-envnpm run typecheck
npm run build
npm run qa:smoke
npm run qa:a11y
npm run audit:marketing-copy
npm run check:security-baseline
npm run check:admin-nav- Prefer
rgfor search andnpm run typecheckbefore large merges. - Treat
supabase/migrations/as the source of truth for data model changes. - Admin/security changes should preserve auditability, CSRF protection, and org isolation.
- Keep marketing claims aligned with implemented product capabilities.
- Multiple parallel operating surfaces: product app, marketing site, admin console, control-plane, and async jobs.
- Reliability depends heavily on strong validation around billing, onboarding, provisioning, and admin actions.
See also:
CHANGELOG.md— release notesSECURITY.md— vulnerability disclosureRUNBOOKS.md— incident playbooksONCALL.md— on-call rotation and pagingENGINEERING_CHANGE_MATRIX.md— required checks per surfaceRELEASE_DISCIPLINE_CHECKLIST.md— pre-ship checklistADMIN_OPERATING_POLICY.md— admin access modelPLATFORM_CONTROL_CONTRACTS.md— platform control stream definitions