system-prompts-and-models-o.../salesflow-saas/backend/app/api/v1
Claude 28e57ab2b5
feat(dealix): golden path service + correlation_id + stack recommendations
Golden Path — Partner Tier-1 verification flow:
  POST /api/v1/golden-path/run — executes complete partner lifecycle:
    1. PartnerDossier (structured output with Provenance)
    2. EconomicsModel (revenue_upside, cost, payback, sensitivity)
    3. ApprovalPacket (Class B enforcement, SLA, creates ApprovalRequest)
    4. EvidencePack (auto-assembled from steps 1-3, SHA256 hash)
  All steps linked by trace_id for end-to-end correlation.

  This is the FIRST flow that actually uses structured_outputs.py
  schemas in live code — PartnerDossier, EconomicsModel, ApprovalPacket
  all enforced with Pydantic validation + Provenance fields.

correlation_id propagation:
  OpenClaw gateway now generates/accepts correlation_id and injects
  it into payload as _correlation_id. Returned in all responses.
  This enables trace linking across decision → approval → execution.

NEXT_STEP_AND_STACK_RECOMMENDATIONS_AR.md:
  Comprehensive next-step guide covering:
  - 6 closure tests (truth, schema, workflow, trust, release, executive)
  - Stack additions now (OTel, OIDC, attestations, OpenFGA)
  - Stack additions next (Great Expectations, Unstructured, connectors)
  - Backend/frontend/docs upgrade priorities
  - 7-step optimal execution order
  - Avoid-now list

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-17 05:59:32 +00:00
..
webhooks 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
__init__.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
admin.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
affiliates.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
agent_system.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
agents.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
ai_agents.py Migrate SalesMatic to Dealix + Add complete affiliate recruitment & AI sales system 2026-03-30 15:49:58 +00:00
analytics.py Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
approval_center.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
auth.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
autonomous_foundation.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
calls.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
channels.py feat: Complete Omnichannel Intelligence — 7 AI brains for every channel 2026-04-12 03:21:53 +00:00
commissions.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
companies.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
complaints.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
compliance.py feat: Add conversation intelligence, message writer, sales agent, APIs, and templates 2026-04-11 07:43:11 +00:00
connector_governance.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
consents.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
contacts.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
contradiction.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
customer_onboarding.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
dashboard.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
deals.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
disputes.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
evidence_packs.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
executive_room.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
forecast_control.py fix(dealix): replace all placeholder services + wire frontend to APIs 2026-04-17 05:05:10 +00:00
golden_path.py feat(dealix): golden path service + correlation_id + stack recommendations 2026-04-17 05:59:32 +00:00
guarantees.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
health.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
hermes.py fix: Enhanced Hermes API, router registration, and observability service 2026-04-11 08:36:50 +00:00
inbox.py fix: Update inbox API and router registration 2026-04-11 07:44:20 +00:00
intelligence.py feat: Finalize all systems + add 20 production libraries 2026-04-11 07:56:24 +00:00
knowledge.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
lead_prospector.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
leads.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
marketing_hub.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
master.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
meetings.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
model_routing.py fix(dealix): replace all placeholder services + wire frontend to APIs 2026-04-17 05:05:10 +00:00
operations.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
outreach_engine.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
payouts.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
pipeline.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
presentations.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
proposals.py fix: Finalize proposals API, sales agent, and quote engine 2026-04-11 07:46:37 +00:00
prospecting.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
revenue_room.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
router.py feat(dealix): golden path service + correlation_id + stack recommendations 2026-04-17 05:59:32 +00:00
sales_os.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
saudi_compliance.py fix(dealix): fully lazy API imports to fix CI + add Revenue Activation system 2026-04-17 04:43:57 +00:00
sectors.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
sequences.py feat: Add conversation intelligence, message writer, sales agent, APIs, and templates 2026-04-11 07:43:11 +00:00
strategic_deals.py feat: Add Strategic Deals Engine — autonomous B2B deal-making system 2026-04-11 09:15:29 +00:00
strategy_summary.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
supervisor.py Add complete launch infrastructure: models, APIs, agents, compliance, docs, knowledge base 2026-03-31 07:57:48 +00:00
tenants.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
users.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
value_proposition.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
webhooks.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
whatsapp_webhook.py feat: Add WhatsApp AI Brain — central intelligence for Dealix number 2026-04-12 02:40:28 +00:00