mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
# Dealix is no longer "a platform". It is a new category: # An Autonomous Revenue Company OS that runs growth FOR Saudi businesses # as if Growth + Sales + Partnerships + Customer Success + Strategy + # Compliance + Data sat in one self-improving system. Autonomous Service Operator (16 modules) — البوت المركزي - intent_classifier: 16 supported intents (Arabic + English keywords; deterministic; no LLM) - conversation_router: route_message + handle_message — single entry point that classifies, routes to handler, recommends a bundle, builds intake + initial pipeline - session_state: 13 valid states + UUID-based sessions + audit history - intake_collector: per-intent intake question sets + parse + validation - approval_manager: Arabic approval cards (capped at 3 buttons) + decision processing (approve/edit/skip/reject including Arabic verbs) - service_orchestrator: 11-step canonical pipeline (intake→data_check→targeting→contactability→strategy→drafting→approval→execution_or_export→tracking→proof→upsell) - workflow_runner: advance + completion check - tool_action_planner: HARD-BLOCKS linkedin.scrape_profile, linkedin.auto_dm, linkedin.auto_connect, social.scrape_followers; high-risk tools require approval; draft-safe tools return draft_only; unknown tools default to approval_required - proof_pack_dispatcher: per-service Proof Pack envelope with required metrics - upsell_engine: 3 deterministic verdicts (upsell_now / iterate_first / gentle_upsell) based on csat + pipeline + meetings - whatsapp_renderer: render any card / approval / daily brief as WhatsApp draft (≤3 buttons, Arabic body, never live) - operator_memory: in-process sessions + customer_facts + preferences + audit log (production = Supabase) - service_bundles: 6 customer-facing bundles instead of 20 raw services (Growth Starter, Data to Revenue, Executive Growth OS, Partnership Growth, Local Growth OS, Full Growth Control Tower) - executive_mode: CEO command center + daily brief + revenue risks (3) + next 3 moves - client_mode: Growth Manager dashboard with 4 panels - agency_mode: multi-client roster + co-branded Proof Pack + revenue share calc Revenue Company OS (10 modules) — الذكاء عبر القنوات - event_to_card: 13 event types → Arabic decision cards (email/whatsapp/form/review/payment/risk/partner/meeting/service.completed/...) each with title_ar/summary_ar/why_now_ar/recommended_action_ar/risk_level/buttons_ar (≤3) - command_feed_engine: aggregate events for a customer + sort by risk (high first) + by_type and by_risk counts - action_graph: 14 typed edges (signal_created_opportunity → message_triggered_reply → reply_led_to_meeting → meeting_led_to_proposal → proposal_led_to_payment → ...) with what_works_for_customer scoring (outcome edges weigh more) - revenue_work_units: 19 RWU types (Salesforce-inspired): opportunity_created, draft_created, approval_collected, meeting_drafted, payment_received, risk_blocked, etc. + aggregate_work_units (counts/revenue/risks) - channel_health: cross-channel reputation snapshot (email/whatsapp/linkedin) + overall_score + channels_at_risk - opportunity_factory: turn (sector, city) into 5 opportunity cards via targeting_os.recommend_accounts + buying committee - service_factory: instantiate any service for a customer (intake + workflow + quote) - proof_ledger (revenue-tier, NOT platform_services.proof_ledger): customer-facing scoreboard with totals + summary_ar + by_type breakdown - growth_memory: anonymized cross-customer aggregates — sector_message_winrate, sector_channel_winrate, common_objections, blocked_action_reasons, successful_playbooks; best_message_for_sector + best_channel_for_sector - self_improvement_loop: weekly Arabic recommendations from real metrics (approval_rate, reply_rate, meeting_rate, blocked_actions, service_revenue) + best_service_id + next_experiment Routers (2 new) — 47 endpoints - /api/v1/operator/* (28): chat (message/decision/classify), sessions (new/transition/context/get), cards (approval/whatsapp/render), intake (questions/validate), service (start), tools (plan), proof-pack (dispatch), upsell (recommend/card), bundles (list/recommend), modes (ceo/ceo-daily-brief/ceo-risks/client/agency/agency-add-client/agency-revenue-share/agency-co-branded-proof), demos (whatsapp-daily-brief/proof-pack) - /api/v1/revenue-os/* (19): command-feed (demo/build/events-ingest), work-units (types/build/aggregate/demo), proof-ledger/demo, action-graph (edge-types/demo), channel-health (snapshot/demo), opportunity-factory (run/demo), service-factory (instantiate/demo), growth-memory/demo, self-improvement (weekly-report/demo) Tests (2 new files, 81 tests) - test_autonomous_service_operator.py: 50 tests * 8 intent classification tests (want_more_customers, has_contact_list, partnerships, whatsapp, pricing, approve, unknown fallback) * 4 conversation router (recommends correct service per intent + bundle, processes approval decisions) * 4 session lifecycle (UUID, transition validation, memory store, context build) * 4 intake (questions per intent, validation detects missing fields, complete intake passes) * 4 approval (≤3 buttons, approve/skip Arabic, unknown decision returns error) * 5 tool planner (linkedin scrape blocked, auto_dm blocked, high-risk → approval, draft-safe → draft_only, unknown → approval_required) * 4 bundles (6 total, agency → partnership_growth, local → local_growth_os, default → growth_starter) * 7 modes (CEO Arabic, daily brief 3 decisions, 3 risks, client panels, agency aggregation, revenue share calc, co-branded includes both names) * 3 WhatsApp renderer (no live send, ≤3 buttons, Arabic morning text) * 4 proof + upsell (Proof Pack draft, upsell_now for strong, iterate_first for weak, ≤3 buttons) - test_revenue_company_os.py: 31 tests * 4 event → card (email Arabic, low review high-risk, risk.blocked high, unknown → action_required) * 3 command feed (demo 8 events, sorts high-risk first, empty handling) * 4 RWUs (≥18 types, build validates, aggregate sums revenue, risks_blocked counted) * 4 action graph (≥12 edge types, validates type, demo 2 customers, what_works scoring) * 2 channel health (returns score, flags risky channel) * 2 opportunity factory (5 opps no live send, blocks unsafe in notes) * 3 service factory (instantiate known + unknown errors, demo 4 services) * 3 proof ledger (appends, rejects unknown, demo has revenue + risks) * 2 growth memory (top objections, best message per sector) * 3 self-improvement (low approval recommends fix, high blocked recommends review, returns best service) Docs (1 new + 1 updated) - AUTONOMOUS_REVENUE_COMPANY_OS.md (Arabic): 12-layer architecture + service bundles + safety + endpoints + competitive positioning - DEALIX_100_PERCENT_LAUNCH_PLAN.md: added §44 Autonomous Revenue Company OS Test results - 81/81 new tests pass - Full suite: 905 passed, 2 skipped (missing API keys, unrelated) - 0 existing tests broken Safety + integration - All 47 new endpoints: live_send_allowed=False, approval_required=True - LinkedIn scrape/auto-DM/auto-connect HARD-BLOCKED in tool_action_planner - High-risk tools (whatsapp.send_message, gmail.send, calendar.insert_event, moyasar.charge, gbp.publish_review_reply, social.publish_dm, social.publish_post) → approval_required forced - Cold WhatsApp blocked via existing contactability_matrix - Operator memory hashes nothing yet — production must wire to security_curator.trace_redactor before any persistence - 6 bundles unify the 12 productized services from Service Tower - Modes integrate platform_services + intelligence_layer + service_excellence - Action Graph + Revenue Work Units + Proof Ledger together form Dealix's Saudi Revenue Graph - Self-improvement loop reads metrics that flow from agent_observability + growth_curator Integration with everything before - Autonomous Service Operator orchestrates Service Tower, Service Excellence OS, Targeting OS, Platform Services, Intelligence Layer - Revenue Company OS reads from platform_services event_bus + intelligence_layer mission_engine + targeting_os reputation_guard - Service factory uses service_tower.get_service + build_intake_questions + quote_service - Opportunity factory uses targeting_os.recommend_accounts + map_buying_committee - Channel health uses targeting_os.calculate_channel_reputation - Tool planner integrates with platform_services.tool_gateway policies - WhatsApp renderer aligns with launch_ops button caps - Bundles map to service_tower upgrade_paths Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
348 lines
23 KiB
Markdown
348 lines
23 KiB
Markdown
# Dealix — تقرير الإطلاق الشامل (100٪ جاهزية) — مرجع رئيسي
|
||
|
||
> هذا المستند يجمع: الحالة، الفجوات، المنعطفات، والخطط 30/90 يوماً، وأين ينفّذ كل عمل (Cursor / Claude / Supabase / السحابة / واتساب / Google).
|
||
|
||
## 1. الحالة الحالية
|
||
|
||
فرع `dealix-v3-autonomous-revenue-os` مع أساس v3 + Personal Operator + وثائق + اختبارات + طبقة أعمال وAPI (`/api/v1/business/*`).
|
||
|
||
## 2. ما بُني
|
||
|
||
Revenue memory تجريبية، وكلاء آمنون، رادار، امتثال، علوم إيرادات، ذاكرة مشروع (هجرة + فهرسة محلية)، مشغّل عربي، بطاقات واتساب (payload فقط)، تقارير جاهزية، نموذج أعمال ووثائق GTM.
|
||
|
||
## 3. الناقص تقنياً
|
||
|
||
OAuth كامل، إرسال واتساب فعلي، رفع embeddings إنتاجي، فوترة self-serve كاملة، بعض مسارات onboarding كـ API.
|
||
|
||
## 4. ما يمنع البيتا الخاصة
|
||
|
||
غياب بيئة staging ثابتة + تجربة واتساب موقعة + 3–5 عملاء باتفاق واضح.
|
||
|
||
## 5. ما يمنع الإطلاق العام
|
||
|
||
PDPL تشغيلية، فوترة، دعم، SLOs، أمان مستقل، صفحة تسعير عامة متسقة مع الشروط القانونية.
|
||
|
||
## 6. قائمة إطلاق تقني
|
||
|
||
اختبارات، مراقبة، نسخ احتياطي، RLS مراجَأ، مفاتيح service role معزولة.
|
||
|
||
## 7. قائمة إطلاق منتج
|
||
|
||
onboarding، proof pack تلقائي، قنوات، سياسات، لقطات UI.
|
||
|
||
## 8. قائمة إطلاق أعمال
|
||
|
||
تسعير، عقود أداء، شركاء، قصص نجاح.
|
||
|
||
## 9. قائمة إطلاق GTM
|
||
|
||
قائمة 10، محتوى، webinars، إحالات.
|
||
|
||
## 10. قائمة امتثال
|
||
|
||
سجل موافقات، تصدير/حذف، قمع، سياسة واتساب.
|
||
|
||
## 11. نموذج مالي (مبدئي)
|
||
|
||
اشتراكات + إعداد + أداء (عقدي) — أرقام توضيحية في `/api/v1/business/unit-economics/demo`.
|
||
|
||
## 12. التسعير
|
||
|
||
`docs/PRICING_STRATEGY.md` + `/api/v1/business/pricing`.
|
||
|
||
## 13. أول 10 عملاء
|
||
|
||
`docs/GTM_PLAYBOOK.md` + `/api/v1/business/gtm/first-10`.
|
||
|
||
## 14. أول 100 عميل
|
||
|
||
`/api/v1/business/gtm/first-100`.
|
||
|
||
## 15. سكربتات مبيعات
|
||
|
||
`/api/v1/business/sales-script`.
|
||
|
||
## 16. سكربت تجربة (Demo)
|
||
|
||
Command center + رادار + فرصة + مسودة + موافقة.
|
||
|
||
## 17. عرض pilot
|
||
|
||
7 أيام أو أسبوعان مع proof pack — انظر كتيب GTM.
|
||
|
||
## 18. مقاييس النجاح
|
||
|
||
`/api/v1/business/metrics`.
|
||
|
||
## 19. سجل المخاطر
|
||
|
||
امتثال واتساب، توقعات AI، جودة البيانات، تعقيد المنتج، منافسة، تعقيد الشراكات.
|
||
|
||
## 20. خطة 30 يوماً
|
||
|
||
أسبوع 1: staging + 5 مكالمات اكتشاف.
|
||
أسبوع 2: 3 pilots موقعة.
|
||
أسبوع 3: proof packs.
|
||
أسبوع 4: قرار التوسع أو تصحيح ICP.
|
||
|
||
## 21. خطة 90 يوماً
|
||
|
||
10 عملاء، قصص، تكامل واتساب إنتاجي بحذر، embeddings، تحسين المنتج.
|
||
|
||
## 22. ماذا يفعل سامي على الكمبيوتر
|
||
|
||
Cursor + GitHub + Supabase + Railway/Render + Postman/Bruno + إعداد Meta WhatsApp + Google Cloud للـ OAuth.
|
||
|
||
## 23. ماذا يبقى في محادثات الاستراتيجية (ChatGPT وغيره)
|
||
|
||
عصف ذهني للرسائل، مراجعة شرائح، سيناريوهات تفاوض — **من دون** تعديل الكود.
|
||
|
||
## 24. ماذا في Cursor
|
||
|
||
تنفيذ، refactor آمن، اختبارات، وثائق ريبو، PRs.
|
||
|
||
## 25. ماذا في Claude Code (إن استخدمته)
|
||
|
||
مهام طويلة موازية أو مسودات وثائق خارج الريبو — مع مزامنة يدوية للريبو.
|
||
|
||
## 26. ماذا في Supabase
|
||
|
||
هجرة، RLS، jobs للـ embeddings، بيئات منفصلة.
|
||
|
||
## 27. ماذا في Railway/Render
|
||
|
||
نشر API، secrets، مراقبة أساسية.
|
||
|
||
## 28. ماذا في WhatsApp Cloud
|
||
|
||
أرقام هوية، قوالب، webhook، توقيع، اختبار sandbox.
|
||
|
||
## 29. ماذا في Google Cloud
|
||
|
||
OAuth Gmail/Calendar، حصص، سياسات.
|
||
|
||
## 30. درجة الجاهزية الإجمالية
|
||
|
||
استدعِ `GET /api/v1/personal-operator/launch-report` — الرقم ديناميكي من النموذج الحالي؛ **لا يُعتبر ضماناً تنبؤياً** حتى تُربط ببيانات إنتاج وCI.
|
||
|
||
## 31. Innovation Roadmap (طبقة «Autonomous Growth Factory»)
|
||
|
||
**ما يُنفَّذ الآن في الريبو (MVP موثّق + API تجريبية deterministic):**
|
||
|
||
- وثيقة [`INNOVATION_STRATEGY.md`](INNOVATION_STRATEGY.md) — ٢٠ مفهوماً مع MVP مقابل تأجيل ومقاييس ومخاطر، ومقارنة موجزة مع Gong/Clari/People.ai.
|
||
- مسارات تحت `GET|POST /api/v1/innovation/*`: Command Feed **demo** و**live** (من DB مع fallback)، Growth Missions، **ten-in-ten**، AEO radar **demo**، Experiments (مع `past_experiments`)، Proof Ledger **demo** + **أحداث دائمة** + **تقرير أسبوعي**، Deal Room analyze — منطق في `auto_client_acquisition/innovation/` بدون LLM داخل هذه الطبقة وبدون إرسال حي من مسارات الابتكار.
|
||
|
||
**مراحل التمييز (معايير جاهزية):**
|
||
|
||
| مرحلة | مخرجات | معيار «جاهز للعرض» |
|
||
|--------|---------|---------------------|
|
||
| **A — تمييز قابل للعرض** | `POST .../opportunities/ten-in-ten`، `GET .../aeo/radar/demo`، فقرة مقارنة عالمية في الوثيقة | يعمل في staging مع `pytest` أخضر |
|
||
| **B — ذاكرة تشغيلية** | جدول `proof_ledger_events`، `GET .../proof-ledger/events`، `GET .../proof-ledger/report/week`، `GET .../command-feed/live` | أحداث تُسجَّل وتظهر في الـ feed أو التقرير لعميل pilot |
|
||
| **C — تخصيص** | `past_experiments` في `POST .../experiments/recommend` | على الأقل قاعدة قواعد تنعكس في التوصيات من تاريخ عميل واحد |
|
||
|
||
**ما يُؤجَّل إلى ما بعد البيانات والتشغيل:**
|
||
|
||
- AEO حقيقي (استعلامات خارجية دورية)، Deal Graph كامل في DB، مسارات LangGraph متينة، MCP gateway، Partner Marketplace خارجي، تقارير PDF مؤتمتة من الـ Ledger.
|
||
|
||
### Kill feature — «10 فرص في 10 دقائق»
|
||
|
||
وعد منتجي مركزي: من مدخلات شركة/قطاع/مدينة/عرض/هدف إلى قائمة ١٠ فرص مع Why Now ومستوى مخاطرة ومسودات عربية **بانتظار الموافقة فقط** — **`POST /api/v1/innovation/opportunities/ten-in-ten`**؛ وصف المهمة في `GET /api/v1/innovation/growth-missions`؛ الاستراتيجية في [`INNOVATION_STRATEGY.md`](INNOVATION_STRATEGY.md)؛ الإطار التشغيلي بجانب `GET /api/v1/business/gtm/first-10` عند التوسع.
|
||
|
||
## 32. Platform Services Layer — برج التحكم بالنمو
|
||
|
||
طبقة موحدة multi-channel فوق `growth_operator` تحوّل Dealix من قناة WhatsApp إلى منصة:
|
||
|
||
- **11 قناة** (`whatsapp, gmail, google_calendar, moyasar, linkedin_lead_forms, x_api, instagram_graph, google_business_profile, google_sheets, crm, website_forms`).
|
||
- **Action Policy Engine**: block_cold_whatsapp / block_payment_no_confirm / block_secrets / external_send_needs_approval / high_value_deal_review.
|
||
- **Tool Gateway** هو المخرج التنفيذي الوحيد — كل أداة تمر منه. Live env flags افتراضياً OFF.
|
||
- **Unified Inbox**: 8 أنواع بطاقات، ≤3 أزرار، عربية.
|
||
- **Action Ledger** + **Proof Ledger** (أثر فعلي مقاس بالقناة).
|
||
- **12 خدمة قابلة للبيع** (`growth_operator_subscription`, `channel_setup_service`, `lead_intelligence_service`, `partnership_sprint`, `email_revenue_rescue`, `social_growth_os`, `local_business_growth`, `ai_visibility_aeo_sprint`, `revenue_proof_pack_service`, `customer_success_operator`, `payments_collections_operator`, `outreach_approval_service`).
|
||
|
||
**Endpoints:** `/api/v1/platform/{services/catalog, channels, policy/rules, actions/evaluate, tools/invoke, events/ingest, inbox/feed, identity/resolve, ledger/summary, proof-ledger/demo}`. **التفصيل:** [`PLATFORM_SERVICES_STRATEGY.md`](PLATFORM_SERVICES_STRATEGY.md).
|
||
|
||
## 33. Intelligence Layer — الشبكة العصبية للنمو
|
||
|
||
طبقة فوق Platform Services تجعل Dealix يتعلم ويقترح ويحاكي:
|
||
|
||
- **Growth Brain** لكل عميل + `is_ready_for_autopilot()` (≥30 signals + ≥40% accept).
|
||
- **Command Feed**: 9 أنواع بطاقات يومية (opportunity / revenue_leak / partner_suggestion / meeting_prep / review_response / competitive_move / customer_reactivation / ai_visibility_alert / action_required).
|
||
- **Action Graph** (10 أنواع حواف): signal → action → outcome.
|
||
- **Mission Engine**: 7 ميشنات، **Kill Feature: `first_10_opportunities`**.
|
||
- **Decision Memory**: تعلّم من Accept/Skip/Edit/Block.
|
||
- **Trust Score** مركب لكل رسالة (safe ≥70 / needs_review 40-69 / blocked <40).
|
||
- **Revenue DNA**: best_channel / best_segment / best_angle / common_objection / avg_cycle_days.
|
||
- **Opportunity Simulator** (9 قطاعات سعودية): توقع replies/meetings/deals/pipeline_sar + risk_score.
|
||
- **Competitive Move Detector**: 8 أنواع حركات + recommended_action_ar.
|
||
- **Founder Shadow Board**: موجز أسبوعي (3 قرارات + 3 فرص + 3 مخاطر + علاقة + تجربة + مؤشر).
|
||
|
||
**Endpoints:** `/api/v1/intelligence/{growth-brain/build, command-feed/demo, missions, missions/recommend, trust-score, revenue-dna/demo, revenue-dna, simulate-opportunity, competitive-move/analyze, board-brief/demo, decisions/record, decisions/preferences}`. **التفصيل:** [`INTELLIGENCE_LAYER_STRATEGY.md`](INTELLIGENCE_LAYER_STRATEGY.md).
|
||
|
||
## 34. Self-Improving Agent Platform (Hermes-inspired)
|
||
|
||
طبقة "ذاتية التحسن" فوق Platform Services + Intelligence Layer. 6 modules جديدة + 6 routers جديدة + 76 اختبار:
|
||
|
||
- **Security Curator** ([`AGENT_SECURITY_CURATOR.md`](AGENT_SECURITY_CURATOR.md)) — secret_redactor (11 نمط: GitHub/OpenAI/Anthropic/Supabase/WhatsApp/Moyasar/Sentry/Google/AWS) + patch_firewall (يحظر `.env` والـRSA keys في الـdiff) + trace_redactor (يخفي phones/emails) + tool_output_sanitizer.
|
||
- **Growth Curator** ([`GROWTH_CURATOR_STRATEGY.md`](GROWTH_CURATOR_STRATEGY.md)) — message_curator (يقيّم الرسائل العربية، يكشف 8 عبارات محظورة) + playbook_curator (winner/promising/needs_work/archive) + mission_curator + skill_inventory (20+ skill عبر 5 طبقات) + curator_report (تقرير عربي أسبوعي).
|
||
- **Meeting Intelligence** ([`MEETING_INTELLIGENCE.md`](MEETING_INTELLIGENCE.md)) — Pre-meeting brief (6 أقسام عربية) + transcript_parser (Google Meet entries أو نص) + objection_extractor (8 فئات) + followup_builder (email + WhatsApp drafts) + deal_risk (0..100).
|
||
- **Model Router** ([`MODEL_PROVIDER_ROUTER.md`](MODEL_PROVIDER_ROUTER.md)) — 7 providers (Claude Sonnet/Haiku, GPT-4, GPT-4o-mini, Gemini Pro, Azure OAI KSA-region, Local Qwen) × 10 task types + cost_policy + fallback_policy (KSA-region أولاً للحالات الحساسة).
|
||
- **Connector Catalog** ([`CONNECTOR_CATALOG.md`](CONNECTOR_CATALOG.md)) — 14 تكامل (WhatsApp Cloud, Gmail, Calendar, Meet, Moyasar, LinkedIn Lead Forms, Google Business Profile, X, Instagram, Sheets, CRM, Website Forms, Composio, MCP Gateway) كل واحد له launch_phase + risk_level + Arabic risks.
|
||
- **Agent Observability** ([`AGENT_OBSERVABILITY_EVALS.md`](AGENT_OBSERVABILITY_EVALS.md)) — trace_events (مع hash للـuser/company IDs) + safety_eval (7 قواعد) + saudi_tone_eval (إيجابيات/سلبيات/نسبة عربية) + eval_pack (5 cases) + cost_tracker.
|
||
|
||
**Endpoints جديدة:**
|
||
- `/api/v1/security-curator/{demo, redact, inspect-diff, sanitize-output}`
|
||
- `/api/v1/growth-curator/{skills/inventory, messages/grade, messages/improve, messages/duplicates, missions/next, report/weekly, report/demo}`
|
||
- `/api/v1/meeting-intelligence/{brief, brief/demo, transcript/summarize, followup/draft, deal-risk}`
|
||
- `/api/v1/model-router/{providers, tasks, route, cost-class, usage/demo}`
|
||
- `/api/v1/connector-catalog/{catalog, summary, status, risks, {key}}`
|
||
- `/api/v1/agent-observability/{trace/build, safety/eval, tone/eval, evals/run}`
|
||
|
||
## 35. Private Beta Launch — Today
|
||
|
||
راجع:
|
||
- [`PRIVATE_BETA_LAUNCH_TODAY.md`](PRIVATE_BETA_LAUNCH_TODAY.md) — الخطة الكاملة للإطلاق.
|
||
- [`DEMO_SCRIPT_12_MINUTES.md`](DEMO_SCRIPT_12_MINUTES.md) — السكربت المعتمد للعرض.
|
||
- [`FIRST_20_OUTREACH_MESSAGES.md`](FIRST_20_OUTREACH_MESSAGES.md) — قوالب الرسائل العربية.
|
||
- `landing/private-beta.html` — صفحة العرض.
|
||
|
||
**العرض:** Pilot 7 أيام بـ499 ريال أو مجاني مقابل case study. Paid Pilot 30 يوم بـ1,500–3,000 ريال. Growth OS اشتراك شهري بـ2,999 ريال.
|
||
|
||
**ممنوع اليوم:** live WhatsApp send, live Gmail send, live Calendar insert, payment charge, scraping social, وعود "نضمن نتائج".
|
||
|
||
## 36. Targeting & Acquisition OS — نظام الاستهداف الذكي
|
||
|
||
طبقة جديدة (16 module + 20 endpoint + 47 اختبار) تجعل Dealix يستهدف بذكاء بدلاً من جمع عشوائي:
|
||
|
||
- **Account-first**: `account_finder` يحدد 10-25 شركة لكل (sector, city) مع `fit_score` و`why_now_ar`.
|
||
- **Buying Committee**: `buyer_role_mapper` بـ14 دور وخرائط حسب القطاع (training/saas/real_estate/...).
|
||
- **Contact Source Policy**: 12 مصدر (crm_customer → opt_out) مع risk_score + retention.
|
||
- **Contactability Matrix**: 5 action modes (suggest_only/draft_only/approval_required/approved_execute/blocked).
|
||
- **LinkedIn Strategy**: Lead Forms + Ads + Manual فقط — `linkedin_do_not_do()` يقفل scraping/auto-DM/auto-connect.
|
||
- **Email Strategy**: drafts + unsubscribe + pacing per domain reputation.
|
||
- **WhatsApp Strategy**: opt-in only، rejects cold + risky phrases تلقائياً.
|
||
- **Outreach Scheduler**: day-by-day plan + daily limits + opt-out enforcement.
|
||
- **Reputation Guard**: bounce/complaint/opt-out thresholds → healthy/watch/pause مع recovery actions.
|
||
- **Daily Autopilot**: Arabic brief + 7 today actions + EOD report.
|
||
- **Self-Growth Mode**: 5 ICP focuses لـ Dealix نفسه + daily brief + weekly learning.
|
||
- **Free Growth Diagnostic**: العرض المجاني الذي يجلب Pilots.
|
||
- **Contract Drafts**: Pilot/DPA/Referral/Agency outlines (legal review required, PDPL-aware).
|
||
|
||
**Endpoints:** `/api/v1/targeting/{accounts/recommend, buying-committee/map, contacts/evaluate, uploaded-list/analyze, outreach/plan, daily-autopilot/demo, self-growth/demo, reputation/status, linkedin/strategy, drafts/email, drafts/whatsapp, free-diagnostic, services, contracts/templates, ...}`. **التفصيل:** [`TARGETING_ACQUISITION_OS.md`](TARGETING_ACQUISITION_OS.md).
|
||
|
||
## 37. Service Tower — برج الخدمات الذاتية
|
||
|
||
**12 Productized Service** + Wizard + Pricing Engine + Scorecard + WhatsApp CEO Control + Upgrade Paths (8 modules + 20 endpoint + 38 اختبار):
|
||
|
||
| الخدمة | السعر | النوع |
|
||
|--------|------|------|
|
||
| Free Growth Diagnostic | مجاني | one_time |
|
||
| List Intelligence | 499–1,500 | one_time |
|
||
| First 10 Opportunities Sprint | 499–1,500 | sprint |
|
||
| Self-Growth Operator | 999/شهر | monthly |
|
||
| Growth OS Monthly | 2,999/شهر | monthly |
|
||
| Email Revenue Rescue | 1,500–5,000 | one_time |
|
||
| Meeting Booking Sprint | 1,500–5,000 | sprint |
|
||
| Partner Sprint | 3,000–7,500 | sprint |
|
||
| Agency Partner Program | 10,000–50,000 | one_time |
|
||
| WhatsApp Compliance Setup | 1,500–4,000 | one_time |
|
||
| LinkedIn Lead Gen Setup | 2,000–7,500 | one_time |
|
||
| Executive Growth Brief | 499–999/شهر | monthly |
|
||
|
||
**3 أبواب للعميل:**
|
||
1. أريد عملاء جدد.
|
||
2. عندي بيانات وأبغى أستفيد منها.
|
||
3. أبغى توسع وشراكات.
|
||
|
||
**Endpoints:** `/api/v1/services/{catalog, recommend, {id}/start, {id}/workflow, {id}/quote, {id}/scorecard, {id}/upgrade-path, ceo/daily-brief, ceo/approval-card, ...}`. **التفصيل:** [`SERVICE_TOWER_STRATEGY.md`](SERVICE_TOWER_STRATEGY.md).
|
||
|
||
## 38. Service Excellence OS — مصنع الخدمات الممتازة
|
||
|
||
**8 modules + 22 endpoint + 33 اختبار** يضمنون أن كل خدمة تطلق بـ score ≥80 وتجاوز 4 quality gates، وتستمر في التحسين الأسبوعي:
|
||
|
||
- **Feature Matrix** — 12 must-have لكل خدمة + advanced/premium/future.
|
||
- **Service Scoring** — 10 أبعاد × 10 = 100 → launch_ready/beta_only/needs_work.
|
||
- **Quality Review** — 4 gates: proof / approval / pricing / channels.
|
||
- **Competitor Gap** — مقارنة بـ7 فئات منافسين (CRM, WA tools, email assistants, LinkedIn tools, agencies, revenue intelligence, generic AI).
|
||
- **Proof Metrics** — ROI estimate (pipeline_x + closed_won_x).
|
||
- **Research Lab** — brief شهري + hypotheses + experiments.
|
||
- **Improvement Backlog** — feedback → backlog → prioritized weekly tasks.
|
||
- **Launch Package** — landing + sales script + 12-min demo + 5-day onboarding.
|
||
|
||
**Endpoints:** `/api/v1/service-excellence/{id}/{feature-matrix, score, quality-review, proof-metrics, gap-analysis, research-brief, experiments, monthly-review, backlog, launch-package, sales-script, demo-script}` + `/review/all`. **التفصيل:** [`SERVICE_EXCELLENCE_OS.md`](SERVICE_EXCELLENCE_OS.md).
|
||
|
||
## 39. Landing Pages
|
||
|
||
- `landing/services.html` — 3 أبواب + 12 خدمة productized.
|
||
- `landing/free-diagnostic.html` — العرض المجاني.
|
||
- `landing/first-10-opportunities.html` — Kill Feature.
|
||
- `landing/agency-partner.html` — برنامج الوكالة الشريكة.
|
||
- `landing/private-beta.html` — Private Beta launch.
|
||
- `landing/list-intelligence.html` — تحليل القوائم.
|
||
- `landing/growth-os.html` — اشتراك Growth OS الشهري.
|
||
|
||
## 40. Launch Ops — برج إطلاق الـ Private Beta
|
||
|
||
5 modules + 11 endpoints + 25 اختبار. كل ما يحتاجه إطلاق Private Beta اليوم:
|
||
|
||
- `private_beta`: عرض اليوم (499 ريال × 7 أيام) + safety notes + FAQ عربي.
|
||
- `demo_flow`: 12-min Arabic demo + discovery Qs + objection bank + close script.
|
||
- `outreach_messages`: 4 segments × 5 prospects + per-segment رسائل + 3 follow-ups + 6 reply handlers.
|
||
- `go_no_go`: 10-gate readiness + critical gates (no_secrets / live_sends_disabled / staging_health) + verdict + concrete next-actions.
|
||
- `launch_scorecard`: daily/weekly metrics بـ11 event types + targets (20 outreach/5 ردود/3 ديمو/1 pilot يومياً).
|
||
|
||
**Endpoints:** `/api/v1/launch/{private-beta/offer, demo/flow, outreach/first-20, outreach/message, outreach/followup, go-no-go, readiness, scorecard/event, scorecard/daily, scorecard/weekly, scorecard/demo}`.
|
||
|
||
## 41. Revenue Launch — تحويل Dealix إلى دخل
|
||
|
||
7 modules + 18 endpoints + 31 اختبار. **التفصيل:** [`REVENUE_TODAY_PLAYBOOK.md`](REVENUE_TODAY_PLAYBOOK.md).
|
||
|
||
- `offer_builder`: 4 عروض (Private Beta / 499 Pilot / Growth OS Pilot / Free Case Study) + recommend per segment.
|
||
- `pipeline_tracker`: 8 stages (identified→contacted→replied→demo_booked→diagnostic_sent→pilot_offered→paid/lost) + Sheet schema + summarize.
|
||
- `outreach_sequence`: re-export with revenue-tier extensions.
|
||
- `demo_closer`: re-export single source of truth.
|
||
- `pilot_delivery`: 24-hour delivery template + intake form (12 fields) + per-service delivery (First 10 / List Intel / Free Diagnostic).
|
||
- `proof_pack_template`: 5-line client summary + ROI x-multiples + next-step recommendation (upsell / iterate / extend).
|
||
- `payment_manual_flow`: Moyasar invoice instructions (halalas-correct) + payment-link message + confirmation checklist. **No API charge ever**.
|
||
|
||
**Endpoints:** `/api/v1/revenue-launch/{offers, offers/recommend, outreach/first-20, outreach/followup, demo-flow, pipeline/schema, pipeline/summarize, pilot-delivery/intake-form, pilot-delivery/24h-plan, pilot-delivery/first-10, pilot-delivery/list-intelligence, pilot-delivery/free-diagnostic, payment/invoice-instructions, payment/link-message, payment/confirmation-checklist, proof-pack/template, proof-pack/client-summary, proof-pack/next-step}`.
|
||
|
||
## 42. Service Tower extensions
|
||
|
||
- `contract_templates.py` — re-export targeting_os contracts + new SLA outline.
|
||
- `vertical_service_map.py` — 6 verticals (B2B SaaS, agencies, training/consulting, real estate, healthcare/local, retail/ecommerce) → recommended service stack + buyer roles + common pains.
|
||
|
||
## 43. Scripts
|
||
|
||
- `scripts/launch_readiness_check.py` — runs 10 gates locally + against optional staging URL; reports JSON or pretty output.
|
||
- `scripts/smoke_staging.py` — already exists (preserved).
|
||
|
||
## 44. Autonomous Revenue Company OS
|
||
|
||
> Dealix الآن **فئة جديدة** — ليس منصة، بل شركة نمو رقمية ذاتية التشغيل.
|
||
|
||
**26 module جديد + 47 endpoint جديد + 81 اختبار**. **التفصيل:** [`AUTONOMOUS_REVENUE_COMPANY_OS.md`](AUTONOMOUS_REVENUE_COMPANY_OS.md).
|
||
|
||
### Autonomous Service Operator (16 modules)
|
||
البوت المركزي يدير كل المحادثات وتشغيل الخدمات:
|
||
- `intent_classifier` (16 intents) → `conversation_router` → `service_orchestrator`.
|
||
- `intake_collector` + `approval_manager` (≤3 buttons) + `workflow_runner` + `tool_action_planner` (LinkedIn scrape/auto-DM blocked).
|
||
- `proof_pack_dispatcher` + `upsell_engine` + `whatsapp_renderer` + `operator_memory`.
|
||
- `service_bundles` (6 bundles: Growth Starter / Data to Revenue / Executive Growth OS / Partnership Growth / Local Growth OS / Full Growth Control Tower).
|
||
- `executive_mode` (CEO) + `client_mode` (Growth Manager) + `agency_mode` (multi-client + co-branded + revenue share).
|
||
|
||
### Revenue Company OS (10 modules)
|
||
الذكاء عبر القنوات:
|
||
- `event_to_card` (13 event types → Arabic decision cards).
|
||
- `command_feed_engine` (sort by risk) + `action_graph` (14 typed edges: signal→action→outcome→proof).
|
||
- `revenue_work_units` (19 RWU types, Salesforce-inspired) + `channel_health`.
|
||
- `opportunity_factory` + `service_factory` + `proof_ledger` (revenue-tier scoreboard).
|
||
- `growth_memory` (cross-customer aggregates) + `self_improvement_loop` (weekly Arabic recommendations).
|
||
|
||
**Endpoints:** `/api/v1/operator/*` (28) + `/api/v1/revenue-os/*` (19).
|
||
|
||
**الفرق الشاسع:** Dealix لا يبيع features ولا AI ولا منصة. يبيع **شركة نمو رقمية ذاتية التشغيل** — نتائج منظمة + تشغيل يومي + Proof Pack شهري.
|
||
|
||
---
|
||
|
||
**الخلاصة:** المنتج **قوي كأساس سوقي وتقني**؛ الإطلاق العام يحتاج تشغيلاً وامتثالاً وتجربة عميل مغلقة أولاً. الإطلاق اليوم = Private Beta + Pilots + Proof Pack، ليس Public Launch.
|