system-prompts-and-models-o.../salesflow-saas/backend/app
Claude f5e7cadb07
fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system
CI Fix:
  All 8 Tier-1 API routes now use fully lazy imports — no module-level
  imports of app.database, app.services, or app.models. Every import
  happens inside the function body. This prevents pytest collection
  failure (exit code 4) caused by import chain side effects during
  test discovery.

  Pattern: _get_db() async generator wraps app.database.get_db lazily.
  Service/model imports are inside each route handler function.

Revenue Activation System (3 phases):
  revenue-activation/FIRST_3_CLIENTS_PLAN.md
    — ICP definition, outreach scripts (WhatsApp/LinkedIn/Email),
      demo strategy, pricing (15K-50K SAR pilot), closing playbook,
      objection handling, referral scripts, pipeline KPIs

  revenue-activation/deployment/LIVE_DEPLOYMENT_GUIDE.md
    — Step-by-step client installation in 48h, data import,
      training agenda, pilot monitoring, post-pilot conversion

  revenue-activation/AUTOMATED_REVENUE_ENGINE.md
    — Self-generating pipeline: outreach→demo→pilot→case study→referral,
      auto-sequences, AI response classification, upsell triggers,
      90-day revenue targets (100K+ SAR MRR)

  revenue-activation/outreach/whatsapp-sequences.json
    — 3 ready-to-use sequences: cold B2B, warm referral, post-pilot convert

  revenue-activation/demo/seed_demo_tenant.py
    — Seeds demo tenant with 15 leads, 8 deals, 3 approvals with SLA,
      4 connectors, 1 evidence pack for executive simulation demos

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-17 04:43:57 +00:00
..
agents fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
ai chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
api fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
flows chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
integrations Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
middleware chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
models fix(dealix): rename EvidencePack.metadata_ to pack_metadata 2026-04-16 15:14:09 +00:00
openclaw Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
schemas feat(dealix): Tier-1 closure program — 10 tracks complete 2026-04-16 13:08:26 +00:00
services fix(dealix): rename EvidencePack.metadata_ to pack_metadata 2026-04-16 15:14:09 +00:00
utils fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
workers fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
__init__.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
config.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
database.py chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
main.py chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
sqlite_patch.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00