21 lines
949 B
PHP
21 lines
949 B
PHP
<?php
|
|
// V38 WARN handler - Opus WIRE doctrine 7+13+14 - Opus parle WEVIA chat USER
|
|
return array(
|
|
'name' => 'kpi_warn_list',
|
|
'triggers' => array(
|
|
0 => 'kpi warn list',
|
|
1 => 'warn kpi list',
|
|
2 => 'list warn kpi',
|
|
3 => 'kpi warnings',
|
|
4 => 'warn kpis',
|
|
5 => 'warnings kpi',
|
|
6 => 'list warnings',
|
|
7 => 'kpi anomalies',
|
|
),
|
|
'cmd' => 'curl -sk --max-time 3 https://weval-consulting.com/api/v83-business-kpi-latest.json 2>/dev/null | python3 -c \'import json,sys; d=json.load(sys.stdin); s=d.get("summary",{}); print(json.dumps({"warn":s.get("warn"),"fail":s.get("fail"),"wire_needed":s.get("wire_needed"),"total":s.get("total_kpis"),"ok":s.get("ok"),"completeness_pct":s.get("data_completeness_pct")}))\'',
|
|
'status' => 'EXECUTED',
|
|
'created_at' => '2026-04-19T19:50:00+00:00',
|
|
'source' => 'opus-wire-v38-warn-handlers-regle-tous',
|
|
'description' => 'V38 WARN handler chat - regle tous warnings/anomalies',
|
|
);
|