diff --git a/api/agent-escalation.json b/api/agent-escalation.json index ae7007ab5..19e898317 100644 --- a/api/agent-escalation.json +++ b/api/agent-escalation.json @@ -1,6 +1,6 @@ { "agent": "V41_Risk_Escalation", - "ts": "2026-04-20T11:00:03+02:00", + "ts": "2026-04-20T11:15:03+02:00", "dg_alerts_active": 0, "wevia_life_stats_preview": "File not found.", "escalation_rules": { diff --git a/api/blade-actions-surfaced.json b/api/blade-actions-surfaced.json index a196c68c4..8ab357a72 100644 --- a/api/blade-actions-surfaced.json +++ b/api/blade-actions-surfaced.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-04-20T11:15:02.424110", + "generated_at": "2026-04-20T11:20:01.155970", "stats": { "total": 25, "pending": 20, diff --git a/api/blade-heartbeat.json b/api/blade-heartbeat.json index 020769645..c6eebf4e7 100644 --- a/api/blade-heartbeat.json +++ b/api/blade-heartbeat.json @@ -1,8 +1,8 @@ { "status": "ALIVE", - "ts": "2026-04-20T11:00:01.996752", - "last_heartbeat": "2026-04-20T11:00:01.996752", - "last_heartbeat_ts_epoch": 1776675601, + "ts": "2026-04-20T11:15:02.388817", + "last_heartbeat": "2026-04-20T11:15:02.388817", + "last_heartbeat_ts_epoch": 1776676502, "tasks_today": 232, "tasks_week": 574, "agent_id": "blade-ops", diff --git a/api/mql-scoring-status.json b/api/mql-scoring-status.json index 69ee84849..909920e55 100644 --- a/api/mql-scoring-status.json +++ b/api/mql-scoring-status.json @@ -1,29 +1 @@ -{ - "ok": true, - "agent": "V42_MQL_Scoring_Agent_REAL", - "ts": "2026-04-20T09:10:01+00:00", - "status": "DEPLOYED_AUTO", - "deployed": true, - "algorithm": "weighted_behavioral_signals", - "signals_tracked": { - "wtp_engagement": 10, - "chat_engagement": 0, - "roi_tool": 0, - "email_opened": 0 - }, - "avg_score": 2.5, - "mql_threshold": 50, - "sql_threshold": 75, - "leads_captured": 48, - "mql_auto_scored": 17, - "sql_auto_scored": 7, - "mql_auto_pct": 36, - "improvement_vs_manual": { - "before_manual_pct": 33.3, - "after_auto_pct": 36, - "delta": 2.700000000000003 - }, - "paperclip_db_ok": true, - "paperclip_tables": 1, - "root_cause_resolved": "Lead Qualification goulet 16pct manual resolved via AUTO behavioral scoring" -} +error code: 502 diff --git a/api/nonreg-master.php b/api/nonreg-master.php index e54f633d6..c64b09f62 100644 --- a/api/nonreg-master.php +++ b/api/nonreg-master.php @@ -24,7 +24,16 @@ function api($msg,$mode='full',$to=30){ CURLOPT_HTTPHEADER=>['Content-Type: application/json','Host: weval-consulting.com','X-Source: nonreg-opus-v4-bypass'], CURLOPT_POSTFIELDS=>json_encode(['message'=>$msg,'mode'=>$mode]) ]); - $r=curl_exec($ch);curl_close($ch);return json_decode($r,true)?:[]; + $r=curl_exec($ch);curl_close($ch);$_d=json_decode($r,true)?:[]; + // V81: retry on empty response (Cerebras flaky) + if (empty($_d['response'] ?? '')) { + sleep(2); + $ch2=curl_init("https://127.0.0.1/api/weval-ia-full"); + curl_setopt_array($ch2,[CURLOPT_POST=>1,CURLOPT_RETURNTRANSFER=>1,CURLOPT_TIMEOUT=>$to+10,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_SSL_VERIFYHOST=>false,CURLOPT_HTTPHEADER=>['Content-Type: application/json','Host: weval-consulting.com','X-Source: nonreg-retry-v81'],CURLOPT_POSTFIELDS=>json_encode(['message'=>$msg,'mode'=>$mode])]); + $r2=curl_exec($ch2);curl_close($ch2);$_d2=json_decode($r2,true)?:[]; + if (!empty($_d2['response'] ?? '')) $_d = $_d2; + } + return $_d; } function httpcode($url,$to=8){ $ch=curl_init($url);curl_setopt_array($ch,[CURLOPT_RETURNTRANSFER=>1,CURLOPT_TIMEOUT=>$to,CURLOPT_FOLLOWLOCATION=>1,CURLOPT_NOBODY=>0,CURLOPT_SSL_VERIFYPEER=>false]); diff --git a/api/nonreg-opus.php b/api/nonreg-opus.php index cc311dd0e..dd5f2f7a6 100644 --- a/api/nonreg-opus.php +++ b/api/nonreg-opus.php @@ -51,7 +51,16 @@ function api($msg,$mode='full',$to=30){ CURLOPT_HTTPHEADER=>['Content-Type: application/json','Host: weval-consulting.com','X-Source: nonreg-opus-v4'], CURLOPT_POSTFIELDS=>json_encode(['message'=>$msg,'mode'=>$mode]) ]); - $r=curl_exec($ch);curl_close($ch);return json_decode($r,true)?:[]; + $r=curl_exec($ch);curl_close($ch);$_d=json_decode($r,true)?:[]; + // V81: retry on empty response (Cerebras flaky) + if (empty($_d['response'] ?? '')) { + sleep(2); + $ch2=curl_init("https://127.0.0.1/api/weval-ia-full"); + curl_setopt_array($ch2,[CURLOPT_POST=>1,CURLOPT_RETURNTRANSFER=>1,CURLOPT_TIMEOUT=>$to+10,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_SSL_VERIFYHOST=>false,CURLOPT_HTTPHEADER=>['Content-Type: application/json','Host: weval-consulting.com','X-Source: nonreg-retry-v81'],CURLOPT_POSTFIELDS=>json_encode(['message'=>$msg,'mode'=>$mode])]); + $r2=curl_exec($ch2);curl_close($ch2);$_d2=json_decode($r2,true)?:[]; + if (!empty($_d2['response'] ?? '')) $_d = $_d2; + } + return $_d; } function exturl($url,$to=10){ diff --git a/api/v83-business-kpi-latest.json b/api/v83-business-kpi-latest.json index a3d1bb5c4..22ec95933 100644 --- a/api/v83-business-kpi-latest.json +++ b/api/v83-business-kpi-latest.json @@ -1,7 +1,7 @@ { "ok": true, "version": "V83-business-kpi", - "ts": "2026-04-20T09:10:15+00:00", + "ts": "2026-04-20T09:15:18+00:00", "summary": { "total_categories": 7, "total_kpis": 56,