Customer 360 Documentation Hub

Central index for architecture specifications, data source contracts, identity resolution designs, marketing activation workflows, UI guides, and operational runbooks across the LEO Customer 360 repository.


Quick Navigation by Component

ComponentService DocumentationPrimary Scope
customer360-database/Database Schema & MigrationsPostgreSQL 16 (customer360 schema), RLS policies, triggers, and Full Schema Diagram
customer360-dao/Shared Data Access PackageSQLAlchemy 2.0 models, Pydantic schemas, tenant-scoped repositories, and FlowEngine
customer360-event-api/Behavioral Event Ingestion APIFastAPI + Redis Streams + S3/MinIO Bronze .jsonl.gz ingestion (:8010) and UAT Performance Report
customer360-backend/Dagster Orchestration Workspace8 Dagster code locations: Identity Resolution, Segmentation, Analytics, AI Agents Runners, Data Synch, Campaign Activation, Email Engine, Notification Engine
customer360-api/Core REST & MCP APIAuthenticated Customer 360 REST endpoints and /mcp tool surface (:8008)
customer360-agent/AI Campaign Planning ServiceLiteLLM-backed campaign & Zalo ZNS draft planner (:8009)
customer360-promotions/Promotions & Ad Serving APIPlacements, creatives, sponsored content, and recommendations (:9009, leo_ads schema)
customer360-frontend/Admin & Operator Web UIBrowser shell and operator dashboards (:8890)
deployments/ & k8s/Infrastructure & KubernetesTerraform, VM deployment scripts, reverse proxy routing, and VKS/Kubernetes manifests

Architecture & Roadmap

Platform architecture, multi-tenant data model, end-to-end data journeys, and engineering roadmap.

Data Sources & Event Tracking

Specifications for the five supported data ingestion modalities (sys_data_source.source_type 1–5) and Web SDK testing tools.

Customer Identity Resolution (CIR) & AI Personas

Metadata-driven identity stitching, consolidation survivorship rules, and persona vector resolution.

Marketing, Segmentation & Campaign Orchestration

Omnichannel campaign workflows, human-approval governance gates, and channel delivery guides.

Admin UI Page Guides (docs/pages/)

User and operator documentation for every screen in the Customer 360 Admin UI in both English and Vietnamese (indexed by the built-in documentation assistant):

Action Plans & Feature Specifications (docs/action-plans/)

Engineering design documents and implementation plans for core platform capabilities:

Operations & Deployment

Local development, Docker Compose profiles, production deployment, and PostgreSQL maintenance runbooks.

Integration Q&A, Code Reviews & Research