mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Launch Ops (5 modules) — برج إطلاق الـ Private Beta
- private_beta: 499 SAR × 7-day offer + safety notes + 6-question Arabic FAQ
- demo_flow: 12-minute minute-by-minute Arabic demo + 5 discovery Qs + 6 objection responses + close script
- outreach_messages: 4 segments × 5 prospects = 20 + per-segment Arabic messages + 3-step follow-ups + 6 reply handlers
- go_no_go: 10-gate readiness + 3 critical gates (no_secrets/live_sends_disabled/staging_health) + verdict + next-actions
- launch_scorecard: 11 event types + daily/weekly aggregation + targets (20 outreach/5 replies/3 demos/1 pilot daily)
Revenue Launch (7 modules) — تحويل Dealix إلى دخل
- offer_builder: 4 offers (Private Beta, 499 Pilot, Growth OS Pilot 1.5-3K, Free Case Study) + segment-aware recommend
- pipeline_tracker: 8-stage deterministic pipeline + add/update/summarize + revenue tracking + win rate
- outreach_sequence: re-export single source of truth from launch_ops with revenue-tier wrappers
- demo_closer: re-export from launch_ops
- pilot_delivery: 12-field intake form + 5-phase 24h delivery plan + per-service templates (First 10 / List Intel / Free Diagnostic)
- proof_pack_template: 5-line Arabic client summary + ROI estimate (pipeline_x + closed_won_x) + next-step recommendation (upsell/iterate/extend)
- payment_manual_flow: Moyasar invoice step-by-step (halalas-correct) + Arabic payment-link message + confirmation checklist; NEVER charges via API
Service Tower extensions (2 modules)
- contract_templates: re-export targeting_os contracts + new SLA outline (legal_review_required, PDPL-aware)
- vertical_service_map: 6 verticals (B2B SaaS / agencies / training-consulting / real estate / healthcare-local / retail-ecommerce) with primary+supporting services + buyer roles + common pains + winning offer
Routers (2 new) — 29 endpoints
- /api/v1/launch/* — 11 endpoints (private-beta/offer, demo/flow, outreach/{first-20, message, followup}, go-no-go, readiness, scorecard/{event, daily, weekly, demo})
- /api/v1/revenue-launch/* — 18 endpoints (offers + offers/recommend, outreach/{first-20, followup}, demo-flow, pipeline/{schema, summarize}, pilot-delivery/{intake-form, 24h-plan, first-10, list-intelligence, free-diagnostic}, payment/{invoice-instructions, link-message, confirmation-checklist}, proof-pack/{template, client-summary, next-step})
Tests (2 new files, 56 tests)
- test_launch_ops.py: 25 tests (Private Beta offer essentials + Arabic FAQ; demo flow 12-min structure; first-20 segments × 5; outreach Arabic + drafts only; followup steps differ; reply handlers include unsubscribe; go/no-go critical gates block; scorecard aggregation + verdict)
- test_revenue_launch.py: 31 tests (offers correct prices, no_live_charge=True; segment-aware recommends; pipeline 8 stages + add/update/summarize + win rate; outreach v2 Arabic; intake fields; 24h plan 5 phases; invoice halalas correct; payment confirmation blocks premature delivery; proof pack 5 lines + 3 next-step paths)
Scripts (1 new)
- scripts/launch_readiness_check.py: runs 10 gates locally + optional --staging-url; pretty/JSON output; critical gates determine GO/NO-GO/FIX-THEN-GO verdict
Landing pages (2 new, RTL Arabic)
- list-intelligence.html — List Intelligence service detail (499–1,500 SAR)
- growth-os.html — Growth OS Monthly subscription page (2,999 SAR/month)
Docs (1 new + 1 updated)
- REVENUE_TODAY_PLAYBOOK.md (Arabic) — 12-section playbook: offers, segments, messages, demo, pipeline, 24h delivery, Moyasar manual flow, proof pack, daily targets, go/no-go, what-not-to-do, next-step
- DEALIX_100_PERCENT_LAUNCH_PLAN.md — added §40 Launch Ops + §41 Revenue Launch + §42 Service Tower extensions + §43 Scripts
Test results
- 56/56 new tests pass
- Full suite: 824 passed, 2 skipped (missing API keys, unrelated)
- 0 existing tests broken
Safety integration
- All offers: live_send_allowed=False, no_live_charge=True, approval_required=True
- 10-gate go/no-go BLOCKS launch if no_secrets/live_sends_disabled/staging_health fail
- Moyasar: invoice/payment-link manual only; NEVER calls live charge API
- Payment confirmation checklist blocks delivery before invoice paid status
- All outreach messages: drafts only, follow-ups capped at 3, opt-out honored immediately
- 6 verticals mapped to safe service stacks; LinkedIn always Lead Forms (never scraping)
Integration with previous layers
- Launch Ops uses platform_services tool_gateway, intelligence_layer command_feed, security_curator redaction
- Revenue Launch uses targeting_os contractability + service_tower offers + intelligence_layer simulator
- Pipeline tracker integrates with action_ledger for stage transitions
- Proof Pack template references intelligence_layer proof metrics + service_excellence ROI
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
132 lines
4.8 KiB
Python
132 lines
4.8 KiB
Python
"""Today's paid offers — 499 Pilot, Growth OS Pilot, free case study."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
def build_499_pilot_offer() -> dict[str, Any]:
|
|
"""The headline 499 SAR Pilot — Dealix's revenue funnel entry."""
|
|
return {
|
|
"offer_id": "pilot_499_7d",
|
|
"name_ar": "Pilot 7 أيام — 499 ريال",
|
|
"promise_ar": (
|
|
"خلال 7 أيام: 10 فرص B2B + رسائل عربية + خطة متابعة + Proof Pack."
|
|
),
|
|
"deliverables_ar": [
|
|
"10 فرص مرتبة بـ fit_score",
|
|
"10 رسائل عربية بنبرة سعودية",
|
|
"تصنيف القنوات (safe / needs_review / blocked)",
|
|
"خطة متابعة 7 أيام",
|
|
"Proof Pack مختصر (PDF + JSON)",
|
|
"جلسة مراجعة 30 دقيقة في نهاية الأسبوع",
|
|
],
|
|
"price_sar": 499,
|
|
"duration_days": 7,
|
|
"approval_required": True,
|
|
"live_send_allowed": False,
|
|
"no_live_charge": True,
|
|
"payment_method": "moyasar_invoice_or_payment_link",
|
|
"delivery_starts": "next_sunday_after_payment",
|
|
}
|
|
|
|
|
|
def build_growth_os_pilot_offer() -> dict[str, Any]:
|
|
"""30-day Growth OS Pilot — for serious customers."""
|
|
return {
|
|
"offer_id": "growth_os_pilot_30d",
|
|
"name_ar": "Growth OS Pilot — 30 يوم",
|
|
"promise_ar": (
|
|
"تشغيل يومي للنمو لمدة شهر: command feed + drafts + اجتماعات + Proof Pack."
|
|
),
|
|
"deliverables_ar": [
|
|
"Daily growth brief عربي",
|
|
"First 10 Opportunities Sprint",
|
|
"List Intelligence على قائمة العميل",
|
|
"Email/WhatsApp drafts (بدون live send)",
|
|
"Meeting drafts على Calendar",
|
|
"Weekly Proof Pack",
|
|
"تحويل لـ Growth OS Monthly بعد الإثبات",
|
|
],
|
|
"price_sar_min": 1500,
|
|
"price_sar_max": 3000,
|
|
"duration_days": 30,
|
|
"approval_required": True,
|
|
"no_live_charge": True,
|
|
"payment_method": "moyasar_invoice_or_payment_link",
|
|
}
|
|
|
|
|
|
def build_case_study_free_offer() -> dict[str, Any]:
|
|
"""Free Pilot in exchange for a case study + permission to publish."""
|
|
return {
|
|
"offer_id": "case_study_free_7d",
|
|
"name_ar": "Pilot مجاني مقابل case study",
|
|
"promise_ar": (
|
|
"نسلّم Pilot 7 أيام مجاناً، وأنت تعطينا تصريحاً بنشر case study بدون "
|
|
"بيانات حساسة."
|
|
),
|
|
"eligibility_ar": [
|
|
"شركة سعودية أو خليجية",
|
|
"حجم متوسط (≥10 موظفين)",
|
|
"قرار سريع (مدير مفوّض على الرد)",
|
|
"موافقة كتابية على نشر النتائج بدون بيانات حساسة",
|
|
],
|
|
"price_sar": 0,
|
|
"case_study_required": True,
|
|
"approval_required": True,
|
|
"no_live_charge": True,
|
|
}
|
|
|
|
|
|
def build_private_beta_offer() -> dict[str, Any]:
|
|
"""Re-export the Private Beta offer (single source of truth)."""
|
|
from auto_client_acquisition.launch_ops import PRIVATE_BETA_OFFER
|
|
return dict(PRIVATE_BETA_OFFER)
|
|
|
|
|
|
def recommend_offer_for_segment(segment_id: str) -> dict[str, Any]:
|
|
"""Map outreach segment → best-fit paid offer."""
|
|
s = (segment_id or "").lower().strip()
|
|
|
|
if s == "agency_b2b":
|
|
return {
|
|
"primary_offer": "growth_os_pilot_30d",
|
|
"fallback_offer": "case_study_free_7d",
|
|
"reason_ar": (
|
|
"وكالة → Growth OS Pilot يعطيها revenue share واضح. "
|
|
"إذا ترددت، اعرض free case study."
|
|
),
|
|
}
|
|
if s == "training_consulting":
|
|
return {
|
|
"primary_offer": "pilot_499_7d",
|
|
"fallback_offer": "case_study_free_7d",
|
|
"reason_ar": (
|
|
"تدريب/استشارات → Pilot 499 سريع. "
|
|
"free case study للأسماء البارزة."
|
|
),
|
|
}
|
|
if s == "saas_tech_small":
|
|
return {
|
|
"primary_offer": "pilot_499_7d",
|
|
"fallback_offer": "growth_os_pilot_30d",
|
|
"reason_ar": (
|
|
"SaaS صغيرة → Pilot 499 يكسر الجليد + ترقية لـ Growth OS Pilot."
|
|
),
|
|
}
|
|
if s == "services_with_whatsapp":
|
|
return {
|
|
"primary_offer": "pilot_499_7d",
|
|
"fallback_offer": "case_study_free_7d",
|
|
"reason_ar": (
|
|
"خدمات بقاعدة واتساب → Pilot 499 ثم WhatsApp Compliance Setup."
|
|
),
|
|
}
|
|
|
|
return {
|
|
"primary_offer": "pilot_499_7d",
|
|
"fallback_offer": "case_study_free_7d",
|
|
"reason_ar": "افتراضي: Pilot 499.",
|
|
}
|