Founder Shell
The Founder Shell is a 9-tab Flutter application that serves as the primary interface for Business Revolution. Each tab provides a focused view of a business domain with real-time data, AI assistance, and actionable controls.
Branches
| # | Tab | Screen | Purpose |
|---|---|---|---|
| 0 | Command Center | founder_command_center_screen.dart | Dashboard, Rex AI chat, quick actions, KPI summary |
| 1 | Operations | founder_operations_screen.dart | Operational metrics, location status, daily reports |
| 2 | Agents & ACP | founder_agents_screen.dart | Pantheon agent status, custom agents, marketplace |
| 3 | Finance | founder_finance_screen.dart | Revenue, P&L, invoices, cap table |
| 4 | Customers | founder_customers_screen.dart | Customer analytics, CRM, feedback, loyalty |
| 5 | Infrastructure | founder_infra_screen.dart | Service health, deployments, monitoring |
| 6 | Team | founder_team_screen.dart | Workforce, HR, scheduling, training |
| 7 | Security | founder_security_screen.dart | Security dashboard, access audit, threats |
| 8 | Settings | founder_settings_screen.dart | Organization settings, integrations, billing |
Key Files
| File | Purpose |
|---|---|
founder_shell.dart | Shell layout with StatefulNavigationShell |
founder_ai_command_panel.dart | Rex AI chat panel with navigation targets |
founder_models.dart | Data models (KPI, alerts, conversations) |
founder_providers.dart | 18 Riverpod providers for all tabs |
founder_api_service.dart | 35+ API methods calling backend |
Theme
The Founder Shell uses a distinctive dark theme:
- Background: Midnight blue (
#0A0F1E) - Primary accent: Electric purple (
#6C63FF) - Secondary accent: Gold (
#FFD700)
Voice Integration
The shell includes a VoiceOrbFab floating action button that enables:
- Voice command input via microphone
- SSML-formatted voice responses from Rex
- Hands-free navigation between tabs
Role-Based Access
Access is controlled via founderRoleAccessProvider:
- Founder/CEO: Full access to all 9 tabs
- Partner/Investor: Read-only access to Finance, Operations, Customers
- Employee: No access (uses Platform Admin/Cockpit instead)
Navigation
Rex AI understands navigation intents and can direct users to specific tabs:
User: "Show me the finance dashboard"
Rex: [Navigates to Finance tab, displays revenue summary]
The AI command panel maintains a conversation history and supports multi-turn interactions across all domains.