system-prompts-and-models-o.../salesflow-saas/backend/tests
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
..
conftest.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
reality_protocol.py feat(dealix): 8-gate NIST AI RMF service reality protocol — all fixable failures resolved 2026-04-17 16:15:17 +00:00
test_affiliates_public.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_api_smoke.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_auth_rbac_api.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_autonomous_foundation_api.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
test_customer_onboarding_api.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_durable_flow_isolation.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_go_live_matrix.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_launch_readiness_scenarios.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
test_launch_staging_product_journey.py chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
test_marketing_hub.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_master_langgraph.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_new_subscriber_journey.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
test_openclaw_foundation.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_openclaw_safe_core.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
test_operations_api.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_sales_os_api.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_sla_phase25.py Dealix: OpenClaw safe core, SLA phase 2.5, full-ops UI 2026-04-08 23:31:02 +03:00
test_strategy_summary.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
test_value_proposition.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00