system-prompts-and-models-o.../salesflow-saas
Claude 7594abdc98
feat: Full Ops Market Penetration System — 12 files
Complete growth operating system across 5 channels:
- FULL_OPS_GROWTH_MAX.md: 8-layer growth system
- PLATFORM_PLAYBOOK_LINKEDIN.md: 30 posts + 20 DMs + safety
- PLATFORM_PLAYBOOK_X.md: 30 tweets + 10 threads
- PLATFORM_PLAYBOOK_INSTAGRAM.md: 15 carousels + 15 reels
- PLATFORM_PLAYBOOK_WHATSAPP.md: templates + safety + stop conditions
- EMAIL_OUTREACH_SYSTEM.md: 5 sector sequences
- PARTNER_AGENCY_ACQUISITION.md: 3 models + 10 targets
- CONTENT_CALENDAR_30_DAYS.md: daily content across all platforms
- SAFE_OUTBOUND_POLICY.md: compliance + approval gates
- FIRST_20_TARGETS.md: scoring + tracking
- DAILY_REVENUE_SCORECARD.md: daily/weekly/monthly metrics
- generate_daily_growth_pack.py: dry-run daily pack generator

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 03:11:18 +00:00
..
.claude feat(dealix): wire all Tier-1 APIs to real database — Sprints A-G 2026-04-16 13:44:35 +00:00
.github/workflows feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved 2026-04-17 16:15:17 +00:00
affiliate-system Enhance email templates and in-person sales scripts with expanded content 2026-03-31 07:02:29 +00:00
ai-agents chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
backend feat: Full Ops Market Penetration System — 12 files 2026-04-26 03:11:18 +00:00
commercial feat(dealix): TASK-999 State Audit + TASK-010 Truth Registry + Claims Registry 2026-04-17 10:32:40 +00:00
docs feat: Full Ops Market Penetration System — 12 files 2026-04-26 03:11:18 +00:00
frontend feat(dealix): P0 launch completion — marketers page + ops runbooks 2026-04-25 16:57:19 +00:00
guarantee Migrate SalesMatic to Dealix + Add complete affiliate recruitment & AI sales system 2026-03-30 15:49:58 +00:00
infra/load-tests Phase 2 Execution Waves: 90-day plan + Verification Protocol scaffolding 2026-04-17 11:13:27 +00:00
knowledge-base Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
landing feat(dealix): revenue machine — 60 targets + daily ops + trial signup 2026-04-24 23:02:04 +03:00
marketing feat(dealix): Phase 1 completion + Phase 2 foundation scaffolded 2026-04-17 10:52:28 +00:00
memory chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
nginx chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
openclaw feat: Upgrade OpenClaw to 2026.4.11 with full new features 2026-04-12 02:01:53 +00:00
packages feat(dealix): Phase 1 completion + Phase 2 foundation scaffolded 2026-04-17 10:52:28 +00:00
presentations chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
revenue-activation feat(dealix): full execution plan + endpoint inventory + customer docs 2026-04-17 06:23:01 +00:00
sales_assets chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
scripts Business Viability Kit: discovery-phase operating artifacts 2026-04-17 11:26:32 +00:00
seeds feat: Add AI forecasting, industry templates, and update sequence engine 2026-04-11 07:43:49 +00:00
.env.example feat(dealix): k6 smoke test, SLO definition, fault-injection tests, env update 2026-04-23 10:46:57 +00:00
.env.staging.example chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
.gitignore chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
.gitleaksignore feat(dealix): Phase 1 completion + Phase 2 foundation scaffolded 2026-04-17 10:52:28 +00:00
.pre-commit-config.yaml feat(dealix): execute ALL automatable blueprint tasks 2026-04-17 10:39:21 +00:00
absolute_sync.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
AGENTS.md feat(dealix): complete Tier-1 Sovereign Enterprise Growth OS 2026-04-16 12:48:13 +00:00
ai_outreach.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
ceo_campaign.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
check_server.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
CLAUDE.md docs(governance): replace CLAUDE.md with discovery-phase constitution v1.0.0 2026-04-17 11:44:52 +00:00
clean_restart.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
CODEOWNERS feat(dealix): wire all Tier-1 APIs to real database — Sprints A-G 2026-04-16 13:44:35 +00:00
COMMAND_CENTER.md feat(dealix): COMMAND_CENTER.md — single-page daily execution guide 2026-04-25 13:04:57 +00:00
complete_fix.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
CONTRIBUTING.md Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
DEALIX_BUSINESS_VIABILITY_KIT.md Business Viability Kit: discovery-phase operating artifacts 2026-04-17 11:26:32 +00:00
DEALIX_EXECUTION_BLUEPRINT.md feat(dealix): execute ALL automatable blueprint tasks 2026-04-17 10:39:21 +00:00
DEALIX_PHASE2_BLUEPRINT.md feat(dealix): Phase 1 completion + Phase 2 foundation scaffolded 2026-04-17 10:52:28 +00:00
DEALIX_PHASE2_EXECUTION_WAVES.md Phase 2 Execution Waves: 90-day plan + Verification Protocol scaffolding 2026-04-17 11:13:27 +00:00
DEALIX_SERVICE_REALITY_AND_TESTING_PROTOCOL_AR.md feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved 2026-04-17 16:15:17 +00:00
DEALIX_VISION.md 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
dealix-frontend.zip Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
deploy_keys_nginx.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
deploy_now.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
deploy_outreach.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
deploy_server.sh 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
direct_fix.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
docker-compose.yml chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
EXECUTE_NOW.md feat(dealix): EXECUTE_NOW — final single-page execution guide 2026-04-25 17:04:52 +00:00
final_deploy.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
final_empire_fix.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
final_fix.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
fix_backend_final.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
fix_email_validator.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
fix_imports.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
fix_server.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
force_start.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
FOUNDER_DECISION_PACKAGE.md feat(dealix): Phase 1 completion + Phase 2 foundation scaffolded 2026-04-17 10:52:28 +00:00
grand_launch_test_v2.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
LAUNCH_GATES.md feat(dealix): complete launch operations kit — 5 rewritten files 2026-04-25 16:40:28 +00:00
launch.ps1 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
LICENSE Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
Makefile Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
MASTER_OPERATING_PROMPT.md fix(dealix): eliminate ALL stubs found by brutal audit 2026-04-17 06:43:16 +00:00
MASTER-BLUEPRINT.mdc chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
push_all.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
push_config.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
push_empire.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
push_updates.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
README.md chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
rebuild_containers.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
rebuild_now.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
REVENUE_PLAYBOOK.md feat: complete revenue package — 20 drafts + pilot plan + demo script + playbook 2026-04-25 23:16:15 +00:00
RUNBOOK.md feat(dealix): D0 launch hardening — DLQ, PostHog, circuit breaker, pricing, runbook 2026-04-23 10:32:53 +00:00
SECURITY.md Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
set_ultramsg_keys.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
setup_ultramsg.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
simulation_grand_launch.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
SLO.md feat(dealix): k6 smoke test, SLO definition, fault-injection tests, env update 2026-04-23 10:46:57 +00:00
status_check.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
surgical_fix.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
sync_all.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
test_all.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
true_final.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
upload_deps_rebuild.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
verify-launch.ps1 chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
wire_whatsapp.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00

Dealix - Saudi AI Revenue Operating System

AI-powered revenue operations platform built for the Saudi market. Dealix combines lead management, affiliate recruitment, sales automation, meeting scheduling, deal tracking, and commission processing into a single operating system driven by specialized AI agents.

Tech Stack

Layer Technology
Backend FastAPI (Python 3.11+)
Frontend Next.js 15 (React, TypeScript)
Database PostgreSQL 15
Cache / Broker Redis 7
Task Queue Celery 5
Reverse Proxy Nginx
Containerization Docker Compose

Quick Start

git clone https://github.com/VoXc2/dealix.git
cd dealix
cp .env.example .env        # fill in your secrets
docker-compose up --build

Backend: http://localhost:8000/docs Frontend: http://localhost:3000

If the browser shows connection refused on :3000 or :8000: nothing is listening on that port yet. Start the stack (docker compose up from this folder) or run uvicorn / npm run dev manually. Confirm with curl -sSf http://127.0.0.1:8000/api/v1/health and ensure the browser is on the same machine as the server (not WSL/remote without port forwarding).

Without Docker: install Python 3.12+ and Node 22+, copy .env and frontend/.env.local, run Postgres/Redis (or point DATABASE_URL / REDIS_URL at existing instances), then cd backend && uvicorn app.main:app --reload --host 0.0.0.0 --port 8000 and cd frontend && npm run dev. If DATABASE_URL uses SQLite (sqlite+aiosqlite), the API runs init_db() on startup so tables exist for local smoke tests; production should use Postgres + Alembic migrations.

E2E locally: after npm ci, run npx playwright install chromium once, then npm run test:e2e (matches CI).

Staging env templates: .env.staging.example (repo root) and frontend/.env.staging.example — copy to .env / frontend/.env.local on the host; see docs/STAGING_ENV_CHECKLIST.md.

Customer onboarding (B2B): GET /api/v1/customer-onboarding/journey and docs/CUSTOMER_OS_ONBOARDING_AR.md. Dashboard tab: مسار التشغيل مع العميل.

Launch verification: see docs/LAUNCH_CHECKLIST.md. From salesflow-saas: copy frontend/.env.example to frontend/.env.local and set NEXT_PUBLIC_API_URL. Run .\verify-launch.ps1 -HttpCheck -SoftReady (use -BaseUrl if the API is not on port 8000).

CI: GitHub Actions workflow .github/workflows/dealix-ci.yml (repo root) runs backend pytest and frontend lint + build when salesflow-saas/** changes.

DB migrations: from backend, set PYTHONPATH to the backend folder (e.g. set PYTHONPATH=%CD% on Windows), then alembic upgrade head. For Postgres schema evolution, prefer alembic revision --autogenerate against a dev database after the baseline revision.

Project Structure

salesflow-saas/
  backend/             # FastAPI application (routes, models, services, agents)
  frontend/            # Next.js dashboard and client portal
  ai-agents/           # AI agent definitions, prompts, and orchestration
  affiliate-system/    # Affiliate recruitment, tracking, commissions
  guarantee/           # Gold guarantee claim processing
  knowledge-base/      # RAG knowledge articles and sector data
  presentations/       # Proposal and pitch generation
  nginx/               # Reverse proxy configuration
  seeds/               # Database seed data
  docs/                # Architecture, API map, data model, deployment notes
  docker-compose.yml   # Full-stack orchestration
  Makefile             # Developer shortcuts

Key Features

  • Multi-Tenant - Isolated data per organization with role-based access
  • Arabic-First - UI, AI prompts, and WhatsApp flows in Arabic with full English support
  • WhatsApp Business API - Automated outreach, conversations, and booking via WhatsApp
  • 18 AI Agents - Lead qualification, outreach, objection handling, compliance, fraud review, and more
  • Affiliate System - Recruitment, onboarding, performance tracking, and tiered commissions
  • Gold Guarantee - Claim processing, dispute resolution, and automated refunds
  • Meeting Booking - AI-driven scheduling integrated with calendar providers
  • Deal Pipeline - Stage-based tracking with revenue attribution
  • Commission Engine - Automated calculation, payout scheduling, and dispute handling
  • Sector Intelligence - Industry-specific strategies, assets, and scoring

What Is Excluded from This Repository

This is a public repository for visibility and version tracking. The following are never committed:

  • .env files and environment secrets
  • Private keys, certificates, and SSL materials (.pem, .key, .crt)
  • Log files and runtime output
  • Docker volumes and persistent data
  • Third-party API credentials

See SECURITY.md for reporting vulnerabilities.

Safety Note

This repository is public. No secrets, credentials, or private customer data are stored here. All sensitive configuration is injected at deploy time via environment variables and secret managers.

Maintainer

Sami Assiri / VoXc2