system-prompts-and-models-o.../salesflow-saas/backend/app
Claude f5c5aafbb0
feat(dealix): wire all Tier-1 APIs to real database — Sprints A-G
Sprint A — Executive Room real data:
  Rewrote executive_roi_service.py (20→158 lines) to aggregate from 7 live
  services: deals (revenue/pipeline/win_rate), approval SLA (pending/warning/
  breach from _dealix_sla), connector health (IntegrationSyncState), compliance
  posture (saudi_compliance_matrix), contradictions (contradiction_engine),
  strategic deals, evidence packs.

Sprint B — Approval Center live:
  Wired approval_center.py to query real ApprovalRequest table with SLA data
  from payload["_dealix_sla"]. Approve/reject endpoints update real DB records
  with reviewed_at timestamp.

Sprint C — Saudi Compliance live:
  Wired saudi_compliance.py to call saudi_compliance_matrix service methods
  (get_matrix, get_posture, get_risk_heatmap) with real AsyncSession + tenant_id.

Sprint D — Contradiction + Evidence Pack DB:
  Wired contradiction.py and evidence_packs.py to real database via
  contradiction_engine and evidence_pack_service. All CRUD operations
  now persist to PostgreSQL with proper tenant isolation.

Sprint F — Operating Plane:
  Created CODEOWNERS file mapping sensitive paths to @VoXc2.
  Added architecture_brief.py step to CI pipeline (runs before pytest).

Sprint G — OWASP LLM:
  Added OWASP LLM Top 10 review + architecture brief validation to
  release-prep.md (steps 10-11).

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-16 13:44:35 +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): wire all Tier-1 APIs to real database — Sprints A-G 2026-04-16 13:44:35 +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 feat(dealix): complete Tier-1 Sovereign Enterprise Growth OS 2026-04-16 12:48:13 +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 feat(dealix): wire all Tier-1 APIs to real database — Sprints A-G 2026-04-16 13:44:35 +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