system-prompts-and-models-o.../salesflow-saas/backend/app/services/strategic_deals/__init__.py
Claude 3dd633fe5f
feat: Add Deal Exchange OS — Company Twin, Deal Room, Taxonomy, Modes, Compliance
Dealix Deal Exchange OS core (3,271 lines):

- company_twin.py (792 lines): Capabilities graph, needs graph, authority matrix,
  red lines, approved claims, identity modes (transparent_ai/delegated/shadow)
- deal_taxonomy.py (573 lines): 15 deal types (barter, referral, co-sell, co-market,
  subcontract, white-label, reseller, alliance, channel, JV, acquisition, investment,
  vendor replacement, capability gap, tender consortium) with Arabic templates
- deal_room.py (674 lines): Central deal workspace with hypothesis, mutual value,
  BATNA, concession tracking, approval center, audit log, stage management
- operating_modes.py (429 lines): 5 modes (manual→draft→assisted→negotiation→strategic)
  with per-mode policies, channel permissions, commitment limits, escalation triggers
- channel_compliance.py (803 lines): Email (SPF/DKIM/unsubscribe), WhatsApp (opt-in/24h/templates),
  LinkedIn (assist-mode ONLY), consent ledger (immutable), channel health monitoring
- Updated __init__.py with all new exports

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-11 10:29:09 +00:00

36 lines
1.3 KiB
Python

"""
Dealix Strategic Deals Engine — Deal Exchange OS
محرك الصفقات الاستراتيجية — نظام تبادل الصفقات: اكتشاف وتفاوض وإغلاق شراكات B2B بالذكاء الاصطناعي
"""
from app.services.strategic_deals.company_profiler import CompanyProfiler
from app.services.strategic_deals.deal_matcher import DealMatcher
from app.services.strategic_deals.deal_negotiator import DealNegotiator, NegotiationStrategy
from app.services.strategic_deals.deal_agent import DealAgent
from app.services.strategic_deals.company_twin import CompanyTwin, CompanyTwinBuilder
from app.services.strategic_deals.deal_taxonomy import DealTaxonomyService, DEAL_TAXONOMY
from app.services.strategic_deals.deal_room import DealRoom, DealRoomService
from app.services.strategic_deals.operating_modes import OperatingMode, ModeEnforcer, MODE_POLICIES
from app.services.strategic_deals.channel_compliance import ChannelRules, ConsentLedger
__all__ = [
# Existing
"CompanyProfiler",
"DealMatcher",
"DealNegotiator",
"NegotiationStrategy",
"DealAgent",
# Deal Exchange OS
"CompanyTwin",
"CompanyTwinBuilder",
"DealTaxonomyService",
"DEAL_TAXONOMY",
"DealRoom",
"DealRoomService",
"OperatingMode",
"ModeEnforcer",
"MODE_POLICIES",
"ChannelRules",
"ConsentLedger",
]