system-prompts-and-models-o.../salesflow-saas/backend/app
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
..
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 feat(dealix): golden path service + correlation_id + stack recommendations 2026-04-17 05:59:32 +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 feat(dealix): golden path service + correlation_id + stack recommendations 2026-04-17 05:59:32 +00:00
schemas feat(dealix): Tier-1 closure program — 10 tracks complete 2026-04-16 13:08:26 +00:00
services feat(dealix): golden path service + correlation_id + stack recommendations 2026-04-17 05:59:32 +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