Repository: https://github.com/deepakdevp/mission-control.git
Local Path: /Users/deepak.panwar/clawd/mission-control
Dev Server: http://localhost:3000
Owner: Deepak Dev Panwar (@deepakdevp)
Mission Control is an AI-powered productivity workspace built with Next.js 14, designed as a command center for managing tasks, approvals, calendar events, projects, and more through natural language AI prompts integrated with Clawdbot.
Design System: JMobbin-style light theme (professional SaaS equity/cap table management aesthetic)
- Framework: Next.js 14 (App Router) + TypeScript
- Styling: Tailwind CSS v4 + Custom Design System (JMobbin specification)
- Database: Prisma + SQLite (dev.db)
- Font: Inter (Google Fonts)
- Icons: Lucide React
- UI Components: Custom components matching JMobbin spec
- AI Integration: Clawdbot CLI
- External APIs: Google Calendar, GitHub
mission-control/
βββ app/
β βββ api/ # API routes for all features
β β βββ tasks/ # Task CRUD + AI parsing
β β βββ approvals/ # Approval workflows
β β βββ calendar/ # Event management + Google sync
β β βββ projects/ # Project management
β β βββ people/ # Contact management
β β βββ cron/ # Cron job management (execSync Clawdbot CLI)
β β βββ ai/ # AI-powered features
β β βββ github/ # GitHub integration
β βββ tasks/page.tsx # Task management UI
β βββ approvals/page.tsx # Approval queue UI
β βββ calendar/page.tsx # Calendar with Google sync
β βββ projects/page.tsx # Projects dashboard
β βββ cron/page.tsx # Cron jobs management
β βββ page.tsx # Main dashboard
β βββ layout.tsx # Root layout with nav
β βββ globals.css # JMobbin design system
βββ components/
β βββ navigation.tsx # Sidebar navigation (230px, JMobbin style)
β βββ ai-prompt-input.tsx # Natural language AI input
β βββ tasks-table.tsx # Task table component
β βββ approval-card.tsx # Approval cards
β βββ repo-card.tsx # GitHub repo cards
β βββ ui/ # Reusable UI components
βββ lib/
β βββ ai/prompt-parser.ts # AI prompt parsing logic
β βββ clawdbot.ts # Clawdbot AI client (NOT for CLI commands)
β βββ github.ts # GitHub API client
β βββ utils.ts # Utilities (cn, formatters)
βββ prisma/
β βββ schema.prisma # Database schema
β βββ migrations/ # Database migrations
β βββ dev.db # SQLite database
βββ docs/ # Documentation
/* Page Background */
--bg-page: #F7F7FB /* Light gray page background */
--bg-card: #FFFFFF /* Pure white card backgrounds */
--bg-hover: #F9FAFB /* Subtle hover state */
--border: #EEEEEE /* All borders */
/* Primary Colors */
--primary: #5B4EE8 /* Purple accent - buttons, active states */
--primary-light: #F0EFFE /* Light purple - active nav bg, badges */
--primary-hover: #4A3DD7 /* Darker purple - button hover */
/* Status Colors */
--success: #10B981 /* Green - success, positive */
--warning: #F59E0B /* Amber - warnings */
--danger: #EF4444 /* Red - errors, danger */
/* Text Colors */
--text-primary: #1A1A2E /* Headlines, main text */
--text-secondary: #6B7280 /* Labels, secondary text */
--text-muted: #9CA3AF /* Placeholder, disabled */
/* Shadows */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05)
--shadow-md: 0 1px 4px rgba(0, 0, 0, 0.04)
--shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08)- Font Family: Inter (Google Fonts)
- Base Size: 14px / line-height 1.5
| Element | Size | Weight | Color |
|---|---|---|---|
| Page Title | 28px | 700 | #1A1A2E |
| Metric Number | 24px | 700 | #1A1A2E |
| Section Heading | 16px | 600 | #1A1A2E |
| Card Label | 12px | 400 | #6B7280 |
| Body Text | 14px | 400 | #374151 |
| Nav Item | 14px | 500 | #374151 |
| Active Nav | 14px | 600 | #5B4EE8 |
width: 230px (fixed)
background: #FFFFFF
border-right: 1px solid #EEEEEE
padding: 16px 0
/* Header/Footer */
padding: 16px
/* Nav Items */
height: 40px
padding: 0 16px
active-bg: #F0EFFE
active-border-left: 3px solid #5B4EE8height: 56px
padding: 0 24px
background: #FFFFFF
border-bottom: 1px solid #EEEEEEpadding: 32px horizontal (px-8)
padding: 24px vertical (py-6)
background: #F7F7FB/* Main Cards */
padding: 20px 24px
border: 1px solid #EEEEEE
border-radius: 12px
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04)
gap: 20px (between cards)
/* Stat Cards */
padding: 16px 20px
display: flex
align-items: center
gap: 12px
/* Icon Container */
width: 32px
height: 32px
border-radius: 8px
background: #F0EFFE
color: #5B4EE8/* Primary */
background: #5B4EE8
color: #FFFFFF
padding: 8px 16px
border-radius: 8px
font-size: 14px
font-weight: 600
box-shadow: 0 1px 3px rgba(91, 78, 232, 0.3)
/* Secondary */
background: transparent
color: #374151
border: 1px solid #E5E7EB
padding: 8px 16px
border-radius: 8px
/* Ghost */
background: transparent
color: #6B7280
hover:background: #F9FAFBpadding: 2px 8px
border-radius: 999px
font-size: 12px
font-weight: 500
/* Status Colors */
in_progress: #F0EFFE bg, #5B4EE8 text
done: #D1FAE5 bg, #10B981 text
blocked: #FEE2E2 bg, #EF4444 text--space-xs: 4px
--space-sm: 8px
--space-md: 16px
--space-lg: 24px
--space-xl: 32px- Task - title, description, status, priority, dueDate, createdAt, updatedAt
- Approval - title, description, type, status, metadata, createdAt
- Event - title, description, startTime, endTime, location, googleEventId
- Project - name, description, status, githubRepo, createdAt
- Person - name, email, role, githubUsername, createdAt
Important: Cron API routes use execSync() to call Clawdbot CLI directly, NOT callClawdbot() (which is for AI instructions).
// CORRECT - For cron operations
execSync('clawdbot cron list --json', { encoding: 'utf-8' })
// WRONG - Do NOT use for CLI commands
await callClawdbot('cron list') // This is for AI chat, not CLI- Two-way sync of events
- Real-time updates
- Timezone handling
- Repository listing (19 repos)
- Issue tracking
- PR tracking
- Recent commits
- Contributors
- Note:
primaryLanguagenormalized from object to string
Commits:
6879a97- feat: initial commit with redesigned UI2faff8d- docs: add comprehensive project context documentea45549- fix: replace execClawdbot with callClawdbot25cebdd- fix: update cron API routes to use execSync0de9841- fix: normalize primaryLanguage from GitHub API79aa505- feat: redesign dashboard to match JMobbin spec55fcebf- fix: correct padding and margins per spec
Removed (Dark Theme):
- β Dark backgrounds (#0a0a0f, #12121a)
- β Space Grotesk / Plus Jakarta Sans fonts
- β Gradient backgrounds
- β Grain texture overlay
- β Shimmer effects
- β Cursor-following glows
- β Complex animations
- β Glass morphism
Added (Light Theme):
- β Light backgrounds (#F7F7FB, #FFFFFF)
- β Inter font
- β Clean card shadows
- β Exact spacing system (4/8/16/24/32px)
- β Professional sidebar (230px)
- β Stat cards with icons
- β Simplified activity rows
- β JMobbin color palette
cd mission-control
npm run dev
# Runs on http://localhost:3000npx prisma migrate dev # Run migrations
npx prisma studio # Open database GUI
npx prisma generate # Generate Prisma clientgit add .
git commit -m "feat: your message" # Follow Conventional Commits
git push origin main- Add mobile menu (sidebar hidden on <640px)
- Implement GitHub integration
- Add user authentication
- Build Memory page (knowledge base)
- Build People page (contacts)
- Build Docs page (documentation hub)
- Add loading skeletons
- Improve empty state illustrations
- Add keyboard shortcuts (βK command palette)
- Implement dark/light theme toggle (optional)
- Real-time updates (WebSockets)
- Export/import data
- Custom themes
- Plugin system
- Mobile app (React Native)
Required in .env:
GOOGLE_CALENDAR_API_KEY=your_key_here
GITHUB_TOKEN=your_token_here
OPENAI_API_KEY=your_key_here # For AI featuresapp/globals.css- All CSS variables, components, JMobbin stylescomponents/navigation.tsx- Sidebar with exact 230px widthapp/layout.tsx- Root layout with Inter font, 230px body padding
app/page.tsx- Main dashboard with statsapp/tasks/page.tsx- Task managementapp/calendar/page.tsx- Calendar with Google syncapp/cron/page.tsx- Cron jobs (synced with Clawdbot)lib/github.ts- GitHub integration with primaryLanguage normalization
README.md- Project overviewQUICKSTART.md- 5-minute setup guideCLAWDBOT_INTEGRATION.md- Clawdbot integration detailsCONTEXT.md- This file (comprehensive context)
Mission Control follows these principles:
- Professional & Clean - JMobbin-style SaaS aesthetic
- Exact Specifications - All measurements from technical spec
- Consistent Spacing - 4/8/16/24/32px system strictly enforced
- Proper Hierarchy - Typography scale with clear weights
- Accessible - WCAG AA compliant color contrast
- Performant - Minimal animations, optimized rendering
When making changes:
- Start dev server:
npm run dev - Make changes
- Test in browser (http://localhost:3000)
- Commit with conventional format:
git commit -m "feat/fix: description" - Push to GitHub:
git push origin main
Last Updated: 2026-02-18
Current Version: 0.1.0
Status: β
Production-Ready Boilerplate
Repository: https://github.com/deepakdevp/mission-control.git
Latest Commit: 55fcebf - fix: correct padding and margins per spec