Private Next.js App Router foundation for Braxton Core — the command brain for DrH / LightGod / IPXS and manager of the owned IPXS Agent Roster infrastructure.
Braxton Core is an internal executive command center with protected dashboard routes, Supabase Auth, mock task APIs, and Supabase-ready schema.
- Next.js (App Router) + TypeScript
- Tailwind CSS (premium dark theme)
- Supabase Auth (email/password)
- Supabase-ready schema + server-side API routes
Create .env.local from .env.example:
cp .env.example .env.local
Required values:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYSUPABASE_SERVICE_ROLE_KEY(server-only, never expose in client)OPENAI_API_KEY(reserved for future server-side generation)NEXT_PUBLIC_SITE_URL(defaulthttp://localhost:3000)BRAXTON_APP_ENV(defaultdevelopment)
- Create a Supabase project.
- In Authentication → Providers, enable Email provider.
- In Authentication → URL Configuration, set site URL to your local/dev URL.
- Run
supabase/schema.sqlin SQL editor. - Create first user:
- Option A: use Authentication → Users → Add user in Supabase dashboard.
- Option B: use the app
/loginCreate account button.
MVP security note: current RLS policies are per-user owner access only. Tighten role-based policies before collaborator access.
Protected routes include:
/dashboard/dashboard/tasks/dashboard/approvals/dashboard/memory/dashboard/outputs/dashboard/settings/dashboard/agents/dashboard/agents/factory/dashboard/agents/roster/dashboard/agents/skill-packs/dashboard/agents/applications/dashboard/agents/recruiter/dashboard/agents/moltbook/braxton
Behavior:
- Logged-out users are redirected to
/login. - Logged-in users visiting
/loginare redirected to/dashboard. - Dashboard topbar shows authenticated user email and supports sign out.
Braxton Core includes a mock-first architecture for managing specialist agents through:
- Agent Factory (categories, templates, and mock deployment planning)
- IPXS Agent Roster (owned roster profiles and hiring-readiness structure)
- Skill Pack Library from RUN GPT Source Library conversion
- Recruiter Agent rubric-based application review
- Subscription-readiness table/layout placeholders
- Optional Moltbook Identity Bridge fields only (never required)
RUN GPT (legacy family of 70+ custom GPTs) is represented as source capability inventory and converted into categorized Skill Packs that can be attached to reusable Agent Blueprints (templates) and deployable agents.
- Categories: see
lib/agents/agent-categories.ts - Starter templates: see
lib/agents/agent-templates.ts
Moltbook is optional external identity/reputation metadata only. Braxton Core and the IPXS Agent Roster remain system-of-record for agents, approvals, subscriptions, logs, and hiring workflows.
POST /api/braxton/task— mock Braxton task output.POST /api/agents/create— mock agent profile generation from selected template/category/skill packs.POST /api/agents/recruiter-review— mock rubric scoring for applications.POST /api/moltbook/mock-verify— mock optional identity verification payload.
- Agent creation execution is planning output only.
- Recruiter decisions are simulated.
- No real OpenAI generation or autonomous agent execution.
- No real public onboarding flow.
- No real payments or subscriptions.
- No real Moltbook API calls.
- Auth-aware CRUD APIs with RLS policies for new agent tables.
- Billing provider integration for subscription tiers.
- Verified external identity sync adapters (including optional Moltbook connector).
- Real execution runtime for specialist agents and audited approval gates.
npm install
npm run dev
npm run lint
npm run build