Skip to main content

BizOSaaS v2-Rebuild Implementation Plan

Source: Derived from docs/REBUILD_TASKS.md Status: 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.yml for 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

  1. Local Build: turbo run build must pass.
  2. Docker Check: docker compose build for all services.
  3. Deployment: CI/CD to Dokploy via GitHub Actions.