auto-sync-1655
This commit is contained in:
338
api/playwright-results/v84-20260419T164950/integrity.json
Normal file
338
api/playwright-results/v84-20260419T164950/integrity.json
Normal file
@@ -0,0 +1,338 @@
|
||||
{
|
||||
"ts": "2026-04-19T16:50:07",
|
||||
"scope_total": {
|
||||
"html_in_wtp": 229,
|
||||
"api_in_wtp": 45
|
||||
},
|
||||
"sampled": {
|
||||
"html": 30,
|
||||
"api": 20
|
||||
},
|
||||
"pass_html": 30,
|
||||
"pass_api": 17,
|
||||
"overall_pass_rate_sample": 94.0,
|
||||
"fails": [
|
||||
{
|
||||
"name": "api/agents-census.php",
|
||||
"http": "502",
|
||||
"ms": 755,
|
||||
"status": "FAIL"
|
||||
},
|
||||
{
|
||||
"name": "api/office-workflow.php",
|
||||
"http": "404",
|
||||
"ms": 147,
|
||||
"status": "FAIL"
|
||||
},
|
||||
{
|
||||
"name": "api/opus5-python-sandbox.php",
|
||||
"http": "400",
|
||||
"ms": 146,
|
||||
"status": "FAIL"
|
||||
}
|
||||
],
|
||||
"results_html": [
|
||||
{
|
||||
"name": "/agent-roi-simulator.html",
|
||||
"http": "200",
|
||||
"ms": 116,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/dg-command-center.html",
|
||||
"http": "200",
|
||||
"ms": 119,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/enterprise-complete.html",
|
||||
"http": "200",
|
||||
"ms": 122,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/erp-gap-fill-offer.html",
|
||||
"http": "200",
|
||||
"ms": 118,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/intelligence-growth.html",
|
||||
"http": "200",
|
||||
"ms": 115,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/pain-points-atlas.html",
|
||||
"http": "200",
|
||||
"ms": 118,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/sales-hub.html",
|
||||
"http": "200",
|
||||
"ms": 116,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "acquired-dashboard.html",
|
||||
"http": "200",
|
||||
"ms": 131,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "admin-saas.html",
|
||||
"http": "302",
|
||||
"ms": 350,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "admin-v2.html",
|
||||
"http": "302",
|
||||
"ms": 346,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "admin.html",
|
||||
"http": "302",
|
||||
"ms": 337,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agent-roi-simulator.html",
|
||||
"http": "200",
|
||||
"ms": 114,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-3d.html",
|
||||
"http": "302",
|
||||
"ms": 346,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-alive.html",
|
||||
"http": "302",
|
||||
"ms": 342,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-archi.html",
|
||||
"http": "302",
|
||||
"ms": 340,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-enterprise.html",
|
||||
"http": "302",
|
||||
"ms": 347,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-final.html",
|
||||
"http": "302",
|
||||
"ms": 341,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-fleet.html",
|
||||
"http": "302",
|
||||
"ms": 349,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-goodjob.html",
|
||||
"http": "302",
|
||||
"ms": 343,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-hd.html",
|
||||
"http": "302",
|
||||
"ms": 341,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-hd2.html",
|
||||
"http": "302",
|
||||
"ms": 347,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-hub.html",
|
||||
"http": "302",
|
||||
"ms": 351,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-ia.html",
|
||||
"http": "302",
|
||||
"ms": 335,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-iso3d.html",
|
||||
"http": "302",
|
||||
"ms": 345,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-unified-registry.html",
|
||||
"http": "302",
|
||||
"ms": 352,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "agents-valuechain.html",
|
||||
"http": "302",
|
||||
"ms": 356,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "ai-benchmark.html",
|
||||
"http": "302",
|
||||
"ms": 344,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "ai-hub.html",
|
||||
"http": "200",
|
||||
"ms": 117,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "all-screens-live.html",
|
||||
"http": "302",
|
||||
"ms": 341,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "anthropic-hub.html",
|
||||
"http": "302",
|
||||
"ms": 342,
|
||||
"status": "PASS"
|
||||
}
|
||||
],
|
||||
"results_api": [
|
||||
{
|
||||
"name": "/api/agent-avatar-svg.php",
|
||||
"http": "200",
|
||||
"ms": 117,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/dsh-predict-api.php",
|
||||
"http": "200",
|
||||
"ms": 186,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/weval-technology-platform-api.php",
|
||||
"http": "200",
|
||||
"ms": 139,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/wevia-v63-acquired-enriched.php",
|
||||
"http": "200",
|
||||
"ms": 199,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/wevia-v64-departments-kpi.php",
|
||||
"http": "200",
|
||||
"ms": 209,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/wevia-v69-dg-command-center.php",
|
||||
"http": "200",
|
||||
"ms": 271,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/wevia-v71-intelligence-growth.php",
|
||||
"http": "200",
|
||||
"ms": 445,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "/api/wevia-v83-business-kpi.php",
|
||||
"http": "200",
|
||||
"ms": 623,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/agents-catalog-api.php",
|
||||
"http": "200",
|
||||
"ms": 143,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/agents-census.php",
|
||||
"http": "502",
|
||||
"ms": 755,
|
||||
"status": "FAIL"
|
||||
},
|
||||
{
|
||||
"name": "api/contract-api.php",
|
||||
"http": "200",
|
||||
"ms": 144,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/ethica-brain.php",
|
||||
"http": "200",
|
||||
"ms": 423,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/ethica-stats-api.php",
|
||||
"http": "200",
|
||||
"ms": 306,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/invoice-api.php",
|
||||
"http": "200",
|
||||
"ms": 561,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/living-proof-api.php",
|
||||
"http": "200",
|
||||
"ms": 3594,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/nonreg-api.php",
|
||||
"http": "200",
|
||||
"ms": 164,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/office-workflow.php",
|
||||
"http": "404",
|
||||
"ms": 147,
|
||||
"status": "FAIL"
|
||||
},
|
||||
{
|
||||
"name": "api/opus-arch-continuous-ft.php",
|
||||
"http": "200",
|
||||
"ms": 126,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/opus-arch-predictive-heal.php",
|
||||
"http": "200",
|
||||
"ms": 353,
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"name": "api/opus5-python-sandbox.php",
|
||||
"http": "400",
|
||||
"ms": 146,
|
||||
"status": "FAIL"
|
||||
}
|
||||
]
|
||||
}
|
||||
162
api/playwright-results/v84-20260419T165039/integrity.json
Normal file
162
api/playwright-results/v84-20260419T165039/integrity.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"ts": "2026-04-19T16:50:39",
|
||||
"total_html_in_wtp": 229,
|
||||
"total_api_in_wtp": 45,
|
||||
"sampled": 25,
|
||||
"pass": 25,
|
||||
"pass_rate_pct": 100.0,
|
||||
"fails": [],
|
||||
"all_results": [
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/agent-roi-simulator.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/dg-command-center.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/enterprise-complete.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/erp-gap-fill-offer.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/intelligence-growth.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/pain-points-atlas.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "/sales-hub.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "acquired-dashboard.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "admin-saas.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "admin-v2.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "admin.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "agent-roi-simulator.html",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "agents-3d.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "agents-alive.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "html",
|
||||
"name": "agents-archi.html",
|
||||
"http": "302",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/agent-avatar-svg.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/dsh-predict-api.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/weval-technology-platform-api.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/wevia-v63-acquired-enriched.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/wevia-v64-departments-kpi.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/wevia-v69-dg-command-center.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/wevia-v71-intelligence-growth.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "/api/wevia-v83-business-kpi.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "api/agents-catalog-api.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"type": "api",
|
||||
"name": "api/agents-census.php",
|
||||
"http": "200",
|
||||
"status": "PASS"
|
||||
}
|
||||
],
|
||||
"ms_total": 7115
|
||||
}
|
||||
16
api/v76-scripts/servers-machines.sh
Executable file
16
api/v76-scripts/servers-machines.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# V80 servers-machines agent: live infra status
|
||||
S204_HTTP=$(curl -sk --max-time 2 -o /dev/null -w '%{http_code}' http://127.0.0.1:5890/ -H 'Host: weval-consulting.com' 2>/dev/null)
|
||||
S95_HTTP=$(curl -sk --max-time 3 -o /dev/null -w '%{http_code}' https://wevads.weval-consulting.com/ 2>/dev/null)
|
||||
DOCKER_CT=$(docker ps --format '{{.Names}}' 2>/dev/null | wc -l)
|
||||
CHROME_PROC=$(pgrep -cf chrome 2>/dev/null)
|
||||
OLLAMA_PROC=$(pgrep -cf ollama 2>/dev/null)
|
||||
FPM_PROC=$(pgrep -cf php-fpm 2>/dev/null)
|
||||
LOAD=$(uptime | awk -F'load average:' '{print $2}' | cut -d, -f1 | xargs)
|
||||
DISK=$(df -h / | tail -1 | awk '{print $5}')
|
||||
echo "S204:$S204_HTTP S95:$S95_HTTP"
|
||||
echo "Docker:$DOCKER_CT Chrome:$CHROME_PROC Ollama:$OLLAMA_PROC FPM:$FPM_PROC"
|
||||
echo "Load:$LOAD Disk:$DISK"
|
||||
# V80 module count
|
||||
V80=$(curl -sk --max-time 3 'http://127.0.0.1:5890/api/weval-technology-platform-api-v80.php' -H 'Host: weval-consulting.com' 2>/dev/null | grep -oE '"modules_count":[0-9]+')
|
||||
echo "WTP:$V80"
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"ok": true,
|
||||
"version": "V83-business-kpi",
|
||||
"ts": "2026-04-19T14:50:01+00:00",
|
||||
"ts": "2026-04-19T14:54:50+00:00",
|
||||
"summary": {
|
||||
"total_categories": 7,
|
||||
"total_kpis": 56,
|
||||
|
||||
@@ -29,21 +29,28 @@ foreach ($all_html as $f) {
|
||||
// Categorize via patterns
|
||||
function categorize($name) {
|
||||
$n = strtolower($name);
|
||||
if (preg_match('/^(wevia|wedroid|wevcode|claw)/', $n)) return 'WEVIA·Brain';
|
||||
// PRIORITY 1: Entry points / Catalogs (les portail/sitemap/index)
|
||||
if (preg_match('/^(weval-portal|pages-index|weval-sitemap|all-screens|weval-master-inventory|cartographie|weval-wiring|plan-du-site|integrations-marketplace|ia-registre|index\.html|apps\.html|solution-finder)/', $n)) return 'Entry·Portal';
|
||||
if (preg_match('/^(wevia|wedroid|wevcode|claw|droid-terminal)/', $n)) return 'WEVIA·Brain';
|
||||
if (preg_match('/(erp|launchpad)/', $n)) return 'ERP·Unified';
|
||||
if (preg_match('/(architecture|archi|sitemap)/', $n)) return 'Architecture';
|
||||
if (preg_match('/(agent|persona)/', $n)) return 'Agents';
|
||||
if (preg_match('/(architecture|archi(?!ve)|sitemap)/', $n)) return 'Architecture';
|
||||
if (preg_match('/(agent|persona|avatar)/', $n)) return 'Agents';
|
||||
if (preg_match('/(dashboard|hub|center|cockpit)/', $n)) return 'Dashboards/Hubs';
|
||||
if (preg_match('/(admin|director|manager|control|cron)/', $n)) return 'Admin/Ops';
|
||||
if (preg_match('/(crm|ethica|hcp|business|growth|pipeline|deal|consultant|candidate)/', $n)) return 'Business/CRM';
|
||||
if (preg_match('/(deepseek|openclaw|mistral|ollama|gemini|nvidia|provider|sovereign|claude)/', $n)) return 'IA·Providers';
|
||||
if (preg_match('/(blade|gpu|infra|server|hetzner|cloudflare|huawei|google|github)/', $n)) return 'Infrastructure';
|
||||
if (preg_match('/(test|nonreg|sigma|l99|playwright|living|proof|qa|debug)/', $n)) return 'Quality/Tests';
|
||||
if (preg_match('/(visual|kanban|gemba|kpi|sigma|maturity|lean|mgmt|management)/', $n)) return 'Visual·Mgmt';
|
||||
if (preg_match('/(api|key|token|cap|capability|catalog|registry)/', $n)) return 'APIs/Capabilities';
|
||||
if (preg_match('/(login|booking|cgu|consent|data-deletion|signup|account)/', $n)) return 'Public/Marketing';
|
||||
if (preg_match('/(deer|paperclip|qdrant|n8n|mattermost|listmonk|loki|plausible)/', $n)) return 'Infra·Tools';
|
||||
if (preg_match('/(case|study|model|enterprise|wtp|technology|platform)/', $n)) return 'Marketing/Sales';
|
||||
// PRIORITY 2: Lean Six Sigma + Quality (avant Admin)
|
||||
if (preg_match('/(value-stream|value-chain|vsm|dmaic|bpmn|kaizen|gemba|kanban|lean|kpi|maturity|mgmt|management|methodologie|mthodologie|playbook|ultimate-quality)/', $n)) return 'Lean·6σ·Quality';
|
||||
if (preg_match('/(test|nonreg|sigma|l99|playwright|living|proof|qa|debug|monitor|monitoring|sessions-monitor|sso-monitor|cyber-monitor|realtime-monitor|world-map-live|nl-autowire-status|wevads-performance)/', $n)) return 'Quality/Monitoring';
|
||||
if (preg_match('/(admin|director|manager|control|cron|maintenance|onboarding-em|tasks-live)/', $n)) return 'Admin/Ops';
|
||||
if (preg_match('/(crm|ethica|hcp|business|growth|pipeline|deal|consultant|candidate|kaouther|partners-emails|mission-billing|medreach)/', $n)) return 'Business/CRM';
|
||||
// PRIORITY 3: Email/Office Operations
|
||||
if (preg_match('/(office|gmail|gws-setup|azure|decision-gmail|smtp|warmup|sender|email)/', $n)) return 'Email·Office';
|
||||
if (preg_match('/(arena)/', $n)) return 'Operations·Arena';
|
||||
if (preg_match('/(deepseek|openclaw|mistral|ollama|gemini|nvidia|provider|sovereign|claude|ai-benchmark|oss-discovery|wiki(?!-)|faq|doctrine)/', $n)) return 'IA·Providers·Docs';
|
||||
if (preg_match('/(blade|gpu|infra(?!ction)|server|hetzner|cloudflare|huawei|google-hub|github-hub|caps|keys-hub|api-key)/', $n)) return 'Infrastructure';
|
||||
if (preg_match('/(visual)/', $n)) return 'Visual·Mgmt';
|
||||
if (preg_match('/(api|token|catalog|registry|capability)/', $n)) return 'APIs/Capabilities';
|
||||
if (preg_match('/(login|booking|cgu|consent|data-deletion|signup|register|pricing|privacy|terms|404|gosignup|googlecba|maintenance|pitch|pain-points|ecosysteme)/', $n)) return 'Public/Marketing';
|
||||
if (preg_match('/(deer|paperclip|qdrant|n8n|mattermost|listmonk|loki|plausible|arsenal)/', $n)) return 'Infra·Tools';
|
||||
if (preg_match('/(case|study|model|enterprise|wtp|technology|platform|golive|value-streaming|sales)/', $n)) return 'Marketing/Sales';
|
||||
return 'Autre';
|
||||
}
|
||||
|
||||
|
||||
148
api/weval-technology-platform-api-v80.php
Normal file
148
api/weval-technology-platform-api-v80.php
Normal file
@@ -0,0 +1,148 @@
|
||||
<?php
|
||||
/**
|
||||
* V80 — WTP API Enrichment (Additive, zero écrasement)
|
||||
*
|
||||
* Wrapper that calls the original WTP API then injects:
|
||||
* 1. wevia-unified-hub.html into 'intelligence' module
|
||||
* 2. wevia-autonomy-dashboard.html into 'operations' module
|
||||
* 3. New 'servers_machines' module with live infra: S204/S95/Blade/SER_6-9
|
||||
*
|
||||
* Exposé via /api/weval-technology-platform-api-v80.php
|
||||
* WTP page peut progressivement pointer ici (pas obligation immédiate)
|
||||
*/
|
||||
|
||||
header('Content-Type: application/json');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
|
||||
// Call original WTP API
|
||||
$original_url = 'http://127.0.0.1:5890/api/weval-technology-platform-api.php';
|
||||
$ch = curl_init($original_url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Host: weval-consulting.com']);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
|
||||
$raw = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
|
||||
$d = json_decode($raw, true);
|
||||
if (!$d || !isset($d['modules'])) {
|
||||
echo json_encode(['error' => 'base WTP API unavailable', 'fallback' => true]);
|
||||
exit;
|
||||
}
|
||||
|
||||
/* Enrichment 1 — add wevia-unified-hub.html to intelligence module */
|
||||
if (isset($d['modules']['intelligence']['submodules'])) {
|
||||
$has_unified_hub = false;
|
||||
foreach ($d['modules']['intelligence']['submodules'] as $sm) {
|
||||
if (in_array('wevia-unified-hub.html', $sm['pages'] ?? [])) {
|
||||
$has_unified_hub = true; break;
|
||||
}
|
||||
}
|
||||
if (!$has_unified_hub) {
|
||||
$d['modules']['intelligence']['submodules'][] = [
|
||||
'id' => 'wevia_unified_hub',
|
||||
'label' => '🏛 WEVIA Unified Hub',
|
||||
'desc' => 'Hub de consolidation · 906 agents · 15509 skills · 346 intents · truth registry',
|
||||
'pages' => ['wevia-unified-hub.html'],
|
||||
'apis' => ['/api/wevia-truth-registry.json', '/api/wevia-unified-api.php']
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
/* Enrichment 2 — add wevia-autonomy-dashboard.html to operations */
|
||||
if (isset($d['modules']['operations']['submodules'])) {
|
||||
$has_autonomy = false;
|
||||
foreach ($d['modules']['operations']['submodules'] as $sm) {
|
||||
if (in_array('wevia-autonomy-dashboard.html', $sm['pages'] ?? [])) {
|
||||
$has_autonomy = true; break;
|
||||
}
|
||||
}
|
||||
if (!$has_autonomy) {
|
||||
$d['modules']['operations']['submodules'][] = [
|
||||
'id' => 'autonomy_dashboard',
|
||||
'label' => '🎯 Autonomy Dashboard (GODMODE)',
|
||||
'desc' => 'Score autonomie live · A+GODMODE · NR 153/153 · L99 304/304',
|
||||
'pages' => ['wevia-autonomy-dashboard.html'],
|
||||
'apis' => ['/api/opus5-autonomy-kpi.php', '/api/wevia-v74-sixsigma-api.php']
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
/* Enrichment 3 — NEW MODULE: servers_machines (live infra) */
|
||||
if (!isset($d['modules']['servers_machines'])) {
|
||||
$d['modules']['servers_machines'] = [
|
||||
'label' => 'Servers & Machines (Infra Live)',
|
||||
'icon' => '🖥️',
|
||||
'color' => '#10b981',
|
||||
'tagline' => 'Tous les serveurs, GPU, Blade, Machines · vue unifiée live',
|
||||
'submodules' => [
|
||||
[
|
||||
'id' => 's204_primary',
|
||||
'label' => '🏗️ S204 Primary (204.168.152.13)',
|
||||
'desc' => 'nginx/PHP8.5/PG16 · 250 pages · 19 Docker · WEVIA Master · Ollama',
|
||||
'pages' => ['infra-dashboard-live.html', 'infra-monitor.html', 'infra-command.html'],
|
||||
'apis' => ['http://127.0.0.1:5890/', '/api/wevia-v76-infra-api.php']
|
||||
],
|
||||
[
|
||||
'id' => 's95_wevads',
|
||||
'label' => '🏭 S95 WEVADS (95.216.167.89)',
|
||||
'desc' => 'WEVADS Arsenal · PMTA · KumoMTA · 146K HCPs · Ethica',
|
||||
'pages' => ['wevads-monitoring.html', 's95-hub.html'],
|
||||
'apis' => ['https://wevads.weval-consulting.com/api/sentinel-brain.php']
|
||||
],
|
||||
[
|
||||
'id' => 'blade_workstation',
|
||||
'label' => '💻 Blade Razer (Yacineutt profile)',
|
||||
'desc' => 'Chrome persistent profile · Playwright · Selenium stealth · token renewal',
|
||||
'pages' => ['blade-hub.html', 'blade-ai.html', 'blade-center.html', 'blade-actions.html', 'blade-control.html', 'blade-install.html'],
|
||||
'apis' => ['/api/blade-tasks/', '/api/blade-actions-api.php']
|
||||
],
|
||||
[
|
||||
'id' => 'huawei_ecs_ser6_9',
|
||||
'label' => '☁️ Huawei Cloud ECS (SER_6-9)',
|
||||
'desc' => 'PMTA email engine · 4 ECS instances · 110.239.x.x IPs',
|
||||
'pages' => ['huawei-cloud.html'],
|
||||
'apis' => []
|
||||
],
|
||||
[
|
||||
'id' => 'gpu_kaggle',
|
||||
'label' => '🎮 GPU Kaggle / Colab Training',
|
||||
'desc' => 'Finetune yace222/weval-brain-v4 · weekly cron · free GPU via Kaggle',
|
||||
'pages' => ['gpu-hub.html', 'wevia-training.html'],
|
||||
'apis' => []
|
||||
],
|
||||
[
|
||||
'id' => 'docker_stack',
|
||||
'label' => '🐳 Docker Stack (19 containers)',
|
||||
'desc' => 'Gitea, Mattermost, n8n, Langfuse, Listmonk, Plausible, Loki, Qdrant, Uptime Kuma, SearXNG...',
|
||||
'pages' => ['docker-hub.html'],
|
||||
'apis' => ['http://127.0.0.1:9443/']
|
||||
],
|
||||
[
|
||||
'id' => 'cloudflare_cdn',
|
||||
'label' => '☁️ Cloudflare CDN + DNS',
|
||||
'desc' => '25+ zones · weval-consulting.com · wevup.app · culturellemejean.charity',
|
||||
'pages' => ['cloudflare-hub.html'],
|
||||
'apis' => []
|
||||
],
|
||||
[
|
||||
'id' => 'hetzner_cloud',
|
||||
'label' => '🇩🇪 Hetzner Cloud',
|
||||
'desc' => 'Backups & secondary infra',
|
||||
'pages' => ['hetzner-hub.html'],
|
||||
'apis' => []
|
||||
],
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/* Update meta */
|
||||
$d['modules_count'] = count($d['modules']);
|
||||
$d['v80_enriched'] = true;
|
||||
$d['v80_additions'] = [
|
||||
'wevia-unified-hub.html added to intelligence',
|
||||
'wevia-autonomy-dashboard.html added to operations',
|
||||
'servers_machines module added with 8 infra submodules'
|
||||
];
|
||||
$d['v80_ts'] = date('c');
|
||||
|
||||
echo json_encode($d, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
||||
@@ -17,3 +17,6 @@ $agents['autonomy_score'] = "bash $SCRIPTS_DIR/autonomy-score.sh 2>&1";
|
||||
/* V79 — pages registry + orphans audit */
|
||||
$agents['pages_index'] = "bash $SCRIPTS_DIR/pages-index.sh 2>&1";
|
||||
$agents['orphans_audit'] = "bash $SCRIPTS_DIR/orphans-audit.sh 2>&1";
|
||||
|
||||
/* V80 — servers + machines + infra live */
|
||||
$agents['servers_machines'] = "bash $SCRIPTS_DIR/servers-machines.sh 2>&1";
|
||||
|
||||
Reference in New Issue
Block a user