Files
html/api/v60-drill-down-master.php

118 lines
4.6 KiB
PHP

<?php
// V60 Drill-Down Master Registry - Opus WIRE doctrine 13+14
header('Content-Type: application/json');
// Exhaustive map widget → chat intent
$drilldown_map = array(
'V83_revenue_business_growth' => array(
'mrr_projected' => 'mrr arr live',
'arr_potential' => 'mrr arr live',
'cac' => 'mrr arr live',
'ltv' => 'mrr arr live',
'ltv_cac_ratio' => 'mrr arr live',
'active_customers' => 'active clients live',
'pipeline_value' => 'mrr arr live',
),
'V83_customer_success' => array(
'feature_adoption' => 'v83 bridges wired',
'net_revenue_retention' => 'mrr arr live',
'monthly_churn' => 'mrr arr live',
),
'V83_growth_marketing' => array(
'mqls_this_week' => 'marketing kpis live',
'sqls_this_week' => 'marketing kpis live',
'email_inbox_rate' => 'marketing cac ltv',
'email_open_rate' => 'marketing cac ltv',
'email_click_rate' => 'marketing cac ltv',
'landing_conversion' => 'v83 bridges wired',
),
'V83_platform_health' => array(
'docker_containers_healthy' => 'docker healthy fixed',
'uptime_continuous' => 'agent health global',
'availability_sla_30d' => 'l99 extended 304',
'ai_governance_audit' => 'ai audit deep',
'tests_passing_11_layers' => 'l99 extended 304',
),
'DG_TOC_streams' => array(
'lead_generation' => 'dg toc lead gen v58',
'lead_qualification' => 'goulet lead qualification fix',
'sales_cycle' => 'drill toc',
'delivery_poc' => 'delivery poc goulet',
'cash_collection' => 'drill toc',
),
'DG_conversion_funnel' => array(
'leads_captured' => 'leads icp pharma',
'mql_qualified' => 'marketing kpis live',
'sql_sales_ready' => 'marketing kpis live',
'won' => 'goldratt elevate delivery',
'active_clients' => 'active clients live',
),
'DG_risks_matrix' => array(
'rw01' => 'risk rw01 status',
'rw02' => 'risk rw02 status',
'rw03' => 'risk rw03 status',
'rw04' => 'risk rw04 status',
'rw05' => 'risk rw05 status',
'rw06' => 'risk rw06 status',
'rw07' => 'risk rw07 status',
'rw08' => 'risk rw08 status',
'rw09' => 'risk rw09 status',
'rw10' => 'risk rw10 status',
'rw11' => 'risk rw11 status',
'rw12' => 'risk rw12 status',
'matrix_all' => 'risk all mitigation',
),
'Enterprise_20_depts' => array(
'finance_generale' => 'enterprise critical fix',
'tresorerie' => 'enterprise critical fix',
'sales' => 'enterprise critical fix',
'marketing' => 'enterprise 20 depts live',
'erp_gap_fill_offer' => 'erp gap fill offer',
),
'V77_heatmap_coherence' => array(
'heatmap_warn' => 'heatmap warn resolved',
'agents_243_950' => 'agents reconciliation',
'missing_agents_5' => 'missing agents 5',
'kpis_to_optimize' => 'kpis to optimize',
'v77_coherence_scan' => 'v77 coherence v55',
),
'V57_V58_agent_factory' => array(
'agent_stubs_100' => 'kpi agent stubs 100',
'stubs_by_category' => 'stubs by category',
'dormants_activation_150' => 'dormants activation 150',
'both_kpis_v55' => 'kpi v55 both achieved',
),
'Partnership_Goldratt' => array(
'partnership_b_plan' => 'partnership b plan',
'goldratt_elevate' => 'goldratt elevate delivery',
'goldratt_options' => 'goldratt options summary',
'goldratt_recommended_path' => 'goldratt recommended path',
),
'Compliance_AI' => array(
'ai_audit_v81' => 'ai audit deep',
'compliance_rgpd' => 'compliance rgpd',
'iso42001_path' => 'iso 42001',
),
'V58_V59_health' => array(
'dg_coherence_v2' => 'v58 dg coherence',
'blade_alive' => 'blade alive',
'l99_304' => 'l99 extended 304',
'cumul_38_sessions' => 'cumul 38 sessions',
),
);
$total_widgets = 0;
foreach ($drilldown_map as $cat) $total_widgets += count($cat);
echo json_encode(array(
'ok' => true,
'v' => 'V60-drill-down-master-registry',
'ts' => date('c'),
'categories' => count($drilldown_map),
'total_widgets_mapped' => $total_widgets,
'drill_down_coverage' => '100pct',
'doctrine_60_ux_premium' => 'chaque KPI dashboard = 1 chat intent = cause racine accessible',
'drilldown_map' => $drilldown_map,
'how_to_use' => 'Click any dashboard KPI -> displays associated chat intent suggestion -> user sends -> WEVIA Master responds cause racine',
), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);