system-prompts-and-models-o.../dealix/auto_client_acquisition/revenue_launch/proof_pack_template.py
Sami Assiri b13cb389cc feat(dealix): sync full Dealix package to repo
- API routers, ACA modules, integrations (draft operators)
- Docs, landing pages, scripts (launch readiness, scorecard)
- Tests and CI workflow updates for Dealix

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-01 21:01:17 +03:00

45 lines
1.5 KiB
Python

"""Proof Pack template for private beta pilots."""
from __future__ import annotations
from typing import Any
def build_private_beta_proof_pack() -> dict[str, Any]:
return {
"sections_ar": [
"ملخص الأسبوع",
"الفرص المقترحة والمعتمدة/المتخطاة",
"المسودات التي أُنشئت",
"المخاطر التي تم كشفها أو منعها",
"الاجتماعات المقترحة (مسودات فقط إن وُجدت)",
"الخطوة التالية والترقية المقترحة",
],
"metrics_keys": [
"opportunities_count",
"drafts_created",
"approvals_pending",
"risks_flagged",
"meetings_suggested",
],
"demo": True,
}
def build_client_summary(metrics: dict[str, Any] | None = None) -> dict[str, Any]:
m = metrics or {}
return {
"one_line_ar": (
f"تمت معالجة {m.get('opportunities_count', 0)} فرصة تقريباً مع "
f"{m.get('drafts_created', 0)} مسودة — المخاطر المسجلة: {m.get('risks_flagged', 0)}."
),
"demo": True,
}
def build_next_step_recommendation() -> dict[str, Any]:
return {
"next_step_ar": "إذا ارتفعت جودة القائمة: انتقل إلى Growth OS Pilot أو ذكاء قوائم أوسع.",
"demo": True,
}