system-prompts-and-models-o.../salesflow-saas/backend/app/api/routes
Sami Assiri 1652bc7fb7 feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved
FIXES:
- audit.py: BEGIN EXCLUSIVE transaction — atomic hash chain, race condition eliminated
- executive.py: add audit.total_log_entries field to command-center response
- pricing.py: cross-log deal_quote_linked with deal_id as resource_id (≥3 audit entries per deal)
- .github/workflows/ci.yml: GitHub Actions CI pipeline (NEW)

GATE RESULTS:
- Gate 1 Truth Registry:      PASS — 36 services classified
- Gate 2 Contract Tests:      PASS — hash chain integrity confirmed
- Gate 3 Trust/RBAC:         PASS — all roles enforced
- Gate 4 Durable Execution: ⚠️  PARTIAL — DB persists; LangGraph = Pilot
- Gate 5 Tenant Isolation:  ⚠️  PARTIAL — app-layer confirmed; DB RLS = Target
- Gate 6 Release Readiness: ⚠️  PARTIAL — CI created; cloud CD = Target
- Gate 7 Telemetry:         ⚠️  PARTIAL — audit chain covers; OTel = Target
- Gate 8 Services Reality:   PASS — core loop proven end-to-end

OVERALL: 61% Live | 77% Live+Partial
STATUS: OPERATIONAL — Core business OS live and tested

Closes: audit race condition, command-center field mismatch, evidence drill-down, CI gap
Arabic Protocol Doc: DEALIX_SERVICE_REALITY_AND_TESTING_PROTOCOL_AR.md (428 lines)
2026-04-17 16:15:17 +00:00
..
executive.py feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved 2026-04-17 16:15:17 +00:00
pricing.py feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved 2026-04-17 16:15:17 +00:00