BizOSaaS v2-Rebuild Implementation Plan
Source: Derived from
docs/REBUILD_TASKS.mdStatus: ACTIVE
Overview
This plan outlines the technical steps required to complete the BizOSaaS v2-rebuild, focusing on a lean architecture: "5 containers, 2 languages, 1 database engine."
Phase 0: Observability 🟢
- Deploy SigNoz to Dokploy.
- Instrument Python and Next.js services with OTLP.
- Create platform dashboards and critical alerts.
Phase 1: Foundation 🏗️
- Setup Turborepo monorepo with pnpm.
- Shared packages:
ui,db,config,types,api-client. - Single
docker-compose.ymlfor core stack. - Migrate secrets to Infisical.
- PostgreSQL consolidation (pgvector).
Phase 2: Unified Frontend 🌐
- Next.js 15 App Router initialization.
- Multi-tenant middleware and Auth integration.
- Port Dashboard, Admin, and Directory features.
- Pending: Complete CRM and SEO Dashboard UI logic.
- Pending: Finalize Payload CMS integration for tenant sites.
Phase 3: AI Service Consolidation 🤖
- FastAPI implementation for
ai-service. - Port all agents (CrewAI) and connectors.
- LLM Router and real-time cost tracking.
- Webhook Bridge for low-code automation (Make/n8n).
Phase 4: BullMQ Workflows ⚡
- Replace Temporal with BullMQ for job processing.
- Implement HITL (Human-in-the-loop) dashboard.
- 29 standard workflows converted to BullMQ jobs.
Current Mission: Phase 15 Coreldove Accelerator 🚀
- Google Drive inventory synchronization.
- Multi-platform product scanning (Shopify, Amazon, Flipkart).
- SEO promotion engine for product listings.
- Viral Reels script generator based on stock levels.
Verification Protocol
- Local Build:
turbo run buildmust pass. - Docker Check:
docker compose buildfor all services. - Deployment: CI/CD to Dokploy via GitHub Actions.