Content Automation Platform — Master System Architecture

Decoupled 16-Workflow n8n Orchestration, CoreUI Operations Dashboard, PostgreSQL State Engine & Autonomous Media Workers

Content Automation Platform — Master System Architecture Decoupled 16-Workflow n8n Orchestration, CoreUI Operations Dashboard, PostgreSQL State Engine & Autonomous Media Workers Operations Dashboard · React 18 + CoreUI + Chart.js · Architecture component · Operator Control Plane · React Operations Dashboard React 18 + CoreUI + Chart.js Operator Control Plane Host Telemetry Monitor · host_reporter.ps1 · Architecture component · Disk & CPU Telemetry Host Telemetry Monitor host_reporter.ps1 Disk & CPU Telemetry BFF REST API Gateway · Node.js Express :3001 · Architecture component · Secure Boundary & Media API · Node.js BFF REST API Gateway Node.js Express :3001 Secure Boundary & Media API Master Orchestrator · 01_master_orchestrator.json · Architecture component · Pipeline Controller (n8n) Master Orchestrator 01_master_orchestrator.json Pipeline Controller (n8n) Supervisor & Sentinel · 12_supervisor + 13_error · Architecture component · Recovery Sentinel Supervisor & Sentinel 12_supervisor + 13_error Recovery Sentinel 16 Modular n8n Workflows · Trend, Discovery, Packaging · Architecture component · Workflow State Engine 16 Modular n8n Workflows Trend, Discovery, Packaging Workflow State Engine Content Generator · workers/original_generator.js · Architecture component · SAPI TTS + FFmpeg 7.1 · Node.js Content Generator workers/original_generator.js SAPI TTS + FFmpeg 7.1 Visual QA Worker · workers/qa_worker.js :9100 · Architecture component · Black-Frame & Freeze QA Visual QA Worker workers/qa_worker.js :9100 Black-Frame & Freeze QA Groq Cloud AI · qwen3.8-27b Free Tier · Multi-Provider AI Fallback · Primary Scripting · QWen Groq Cloud AI qwen3.8-27b Free Tier Primary Scripting Google Gemini · gemini-2.5-flash Failover · Multi-Provider AI Fallback · Circuit Breaker Target · Google Gemini Google Gemini gemini-2.5-flash Failover Circuit Breaker Target Publishing Worker · workers/youtube_publisher.js · Architecture component · Fail-Closed Social Adapter · Node.js Publishing Worker workers/youtube_publisher.js Fail-Closed Social Adapter PostgreSQL State Engine · 35 Tables + 8 Migrations · Architecture component · Skip-Locked Store · PostgreSQL PostgreSQL State Engine 35 Tables + 8 Migrations Skip-Locked Store YouTube Data API v3 · Resumable Byte Uploads · External Social Endpoints · Social Distribution · YouTube YouTube Data API v3 Resumable Byte Uploads Social Distribution Meta Graph API Reels · Facebook & Instagram Reels · External Social Endpoints · Short-Form Delivery · Meta Meta Graph API Reels Facebook & Instagram Reels Short-Form Delivery REST API X-CA-Key webhook dispatch primary script failover on 429 enqueue job skip-locked lease POST /qa/inspect record QA verdict state queries resource stats stale sweep lock schedule byte upload reels publish Multi-Provider AI Fallback External Social Endpoints Legend Frontend Backend Database Cloud Security Message bus External