# Nexus Road Community Platform — TODO

## Phase 1: Foundation
- [x] Upgrade to web-db-user (database + auth + server)
- [x] Terminal hacker aesthetic CSS (acid green, JetBrains Mono, scan-lines)
- [x] Database schema: users, saas_projects, courses, lessons, lesson_progress, posts, comments, post_likes, events, resources, messages, swarm_agents
- [x] pnpm db:push — all 12 tables created
- [x] Seed initial data: Swarm agents (Brain, Auditor, Warden, Comptroller, Counsel, Sentry)
- [x] Seed initial data: SaaS projects (Hutstat, ForgetHumans, ISO tool, Nexus Road SaaS)

## Phase 2: Server Routers
- [x] community router: list/create posts, comments, likes
- [x] courses router: list courses, lessons, mark progress
- [x] events router: list upcoming events, toggle isLive
- [x] resources router: list/download resources
- [x] messages router: send/receive DMs, unread count
- [x] swarm router: list agents (public)
- [x] saas router: list projects (public, respects showRevenue flag)
- [x] content router: AI-powered multi-platform snippet generation
- [x] admin router: MRR, member stats, churn, content pipeline, ForgetHumans Kanban stub
- [ ] forgethumans router: live proxy to ForgetHumans API (pending API endpoint + key from user)

## Phase 3: Public Homepage (no MRR visible)
- [x] Top navigation bar with login/join CTA
- [x] Hero section — "I'm 57. I'm replacing myself as CTO with AI agents." brand story
- [x] Live session banner (shown when any event has isLive=true)
- [x] Swarm agent status strip (6 agents, live status from database)
- [x] SaaS portfolio section (Hutstat, ForgetHumans, ISO tool) — optional revenue toggle per project
- [x] Community value pitch — what members get (courses, live calls, blueprints, community)
- [x] Content platform links (YouTube, TikTok, Instagram, LinkedIn, X, Hacker News, Bluesky)
- [x] CTA section — "Join the Build" ($7 trial)

## Phase 4: Gated Member Area
- [x] Auth guard — redirect to login if not authenticated
- [x] Member dashboard home (welcome, recent posts, upcoming events, new resources)
- [x] Courses page — list all published courses with progress indicators
- [x] Community board — threaded posts, comments, reactions, pinned announcements
- [x] Event calendar — upcoming lives with one-click join (Teams/Zoom/Google Meet/YouTube)
- [x] Resource vault — categorised downloadable files, prompt chains, scripts
- [ ] Course detail page — module/lesson list, video embed, markdown content, mark complete (deep-link)
- [ ] Member directory — browse members, their background, what they're building
- [ ] Direct messaging — inbox, compose, unread badge

## Phase 5: Content Distribution Engine
- [x] Content input form — paste transcript or write content
- [x] AI generation: YouTube long-form description + Shorts script
- [x] AI generation: TikTok 60-second hook script
- [x] AI generation: Instagram Reels 30-second script + caption
- [x] AI generation: LinkedIn long-form post
- [x] AI generation: X/Twitter thread (5–8 tweets)
- [x] AI generation: Hacker News "Show HN" post draft
- [x] AI generation: Bluesky short post
- [x] AI generation: Reddit post for r/entrepreneur or r/SaaS
- [x] Copy-to-clipboard for each platform output
- [x] Character count and platform limit warnings
- [ ] Save drafts to database (future enhancement)

## Phase 6: ForgetHumans API Integration (Kanban)
- [x] Kanban board stub in admin dashboard (todo/in-progress/done columns)
- [x] Pre-populated with Nexus Road operational tasks
- [ ] ForgetHumans API key secret setup (pending API endpoint + key from user)
- [ ] Live ticket sync from ForgetHumans API
- [ ] Create ticket from content distribution engine ("Approve content for [platform]")

## Phase 7: Admin Dashboard (private, role=admin only)
- [x] MRR chart over time (Recharts)
- [x] Member count, new this week, churn rate, trial→paid conversion
- [x] Full member list (join date, last active, subscription status)
- [x] ForgetHumans Kanban board stub (todo/in-progress/done)
- [x] Swarm agent status + task counts (editable)
- [x] SaaS project revenue editor (toggle showRevenue, update MRR)
- [ ] Admin: create/edit/publish courses and lessons
- [ ] Admin: create/edit events, toggle isLive (UI — backend done)
- [ ] Admin: upload resources

## Phase 8: Tests & Polish
- [x] Vitest: 21 tests covering all routers and auth/admin guards (2 test files, 21/21 passing)
- [x] TypeScript: 0 errors
- [ ] Mobile responsiveness polish on all pages
- [ ] Loading/empty/error states on all pages
- [ ] Save checkpoint
