system-prompts-and-models-o.../salesflow-saas/backend/app/api
Claude 11e0beb294
feat(dealix): wire ALL 17 schemas + Saudi workflow + release gate
Structured Output Producers (structured_output_producers.py):
  Wire ALL 17 Pydantic schemas to live code:
  - LeadScoreCard: from real Lead model (score, tier, signals)
  - QualificationMemo: from lead score + deal data
  - ProposalPack: from real Deal model (value, terms)
  - PricingDecisionRecord: with discount approval logic
  - HandoffChecklist: sales-to-onboarding transition
  - PartnerDossier, EconomicsModel, ApprovalPacket: (golden path)
  - TargetProfile, ValuationMemo, SynergyModel: M&A track
  - ExpansionPlan, StopLossPolicy: expansion track
  - ExecWeeklyPack, BoardPackDraft, ICMemo, PMIProgramPlan: (executive)
  All with Provenance (trace_id, confidence, freshness).

Structured Outputs API (POST /api/v1/structured-outputs/...):
  11 endpoints exposing schema-bound producers.

Saudi Sensitive Workflow (POST /api/v1/saudi-workflow/share-partner-data):
  Live PDPL-controlled partner data sharing workflow:
  1. Data classification (internal/confidential/restricted)
  2. PDPL consent verification
  3. Cross-border export rules check (GCC allowed)
  4. Class B+ approval with 12h SLA
  5. Audit trail via domain events
  6. Evidence pack auto-assembly
  Blocks if no consent or export restricted.

Release Readiness Matrix (scripts/release_readiness_matrix.py):
  26 checks covering governance + services + APIs + trust + sales.
  SCORE: 100.0% (26/26) = RELEASE READY: YES

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-17 06:27:15 +00:00
..
v1 feat(dealix): wire ALL 17 schemas + Saudi workflow + release gate 2026-04-17 06:27:15 +00:00
__init__.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
dependencies.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
deps.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00