diff --git a/api/wevia-tool-registry.json b/api/wevia-tool-registry.json index 77229a427..50c2b5c50 100644 --- a/api/wevia-tool-registry.json +++ b/api/wevia-tool-registry.json @@ -1,5 +1,70 @@ { "tools": [ + { + "id": "v77_complete_bilan", + "kw": "v77.*bilan|v77.*complete|v77.*final|bilan.*complet.*v77", + "cmd": "echo '=== V77 COMPLETE BILAN ==='; echo ''; echo '[1] COHERENCE SCAN:'; curl -sk --max-time 10 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=summary' -H 'Host: weval-consulting.com' | jq -c '.'; echo ''; echo '[2] 5 NEW V77 AGENTS:'; ls /var/www/html/api/agent-stubs/v77_*.php 2>/dev/null | wc -l | xargs -I {} echo ' {} V77 agents created'; echo ''; echo '[3] BUSINESS TESTS:'; jq -c '{score, pass, total}' /var/www/html/api/v77-business-latest.json; echo ''; echo '[4] TOTAL CASCADE (10 layers):'; for f in nonreg nonreg-reg67 nonreg-reg68 nonreg-reg69 nonreg-reg70 nonreg-reg71 v74-e2e v75-deep-e2e v76-chrome-e2e v77-business; do FP=/var/www/html/api/$f-latest.json; if [ -f \"$FP\" ]; then SC=$(jq -r .score $FP 2>/dev/null); P=$(jq -r .pass $FP 2>/dev/null); T=$(jq -r .total $FP 2>/dev/null); printf ' %-22s %s/%s = %s%%\\n' \"$f\" \"$P\" \"$T\" \"$SC\"; fi; done" + }, + { + "id": "v77_kpis_optimization", + "kw": "v77.*kpi|optimize.*kpi|kpi.*optim|lean6sigma.*kpi", + "cmd": "curl -sk --max-time 10 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=kpis' -H 'Host: weval-consulting.com' | jq '.kpis_to_optimize'" + }, + { + "id": "v77_missing_agents_status", + "kw": "v77.*agents|agents.*manquants|missing.*agents|5.*agents.*v77|new.*v77.*agents", + "cmd": "echo '=== V77 NEW AGENTS (addressing 1,323 dormants) ==='; for a in v77_skill_agent_dispatcher v77_llm_local_orchestrator v77_automation_planner v77_code_quality_reviewer v77_rag_retriever; do RESP=$(curl -sk --max-time 2 \"http://127.0.0.1/api/agent-stubs/$a.php\" -H 'Host: weval-consulting.com'); CAT=$(echo \"$RESP\" | jq -r .category 2>/dev/null); DORM=$(echo \"$RESP\" | jq -r .dormants_addressed 2>/dev/null); STAT=$(echo \"$RESP\" | jq -r .status 2>/dev/null); printf ' %-35s cat=%-12s dormants=%-4s status=%s\\n' \"$a\" \"$CAT\" \"$DORM\" \"$STAT\"; done" + }, + { + "id": "v77_scan_summary", + "kw": "v77.*summary|scan.*summary|probleme.*resume|issues.*count", + "cmd": "curl -sk --max-time 15 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=summary' -H 'Host: weval-consulting.com' | jq '.'" + }, + { + "id": "v77_new_agents_list", + "kw": "v77.*agents|nouveaux.*agents|5.*agents.*v77|agent.*dispatcher|rag.*retriever", + "cmd": "for a in v77_skill_agent_dispatcher v77_llm_local_orchestrator v77_automation_planner v77_code_quality_reviewer v77_rag_retriever; do curl -sk --max-time 3 'http://127.0.0.1/api/agent-stubs/'$a'.php' -H 'Host: weval-consulting.com' | jq -c '{agent, category, dormants_addressed, kpi: .kpi.label}'; done" + }, + { + "id": "v77_kpis_to_optimize", + "kw": "kpi.*optimize|kpi.*ameliorer|optimization.*kpi|action.*required", + "cmd": "curl -sk --max-time 15 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=kpis' -H 'Host: weval-consulting.com' | jq '.kpis_to_optimize'" + }, + { + "id": "v77_missing_agents", + "kw": "agents.*manquant|missing.*agents|dormants.*sans.*agent|creer.*agent", + "cmd": "curl -sk --max-time 15 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=missing_agents' -H 'Host: weval-consulting.com' | jq '.missing_agents'" + }, + { + "id": "v77_incoherences_detail", + "kw": "incoherences.*detail|drift|mismatch|agent.*count.*gap|ui.*stale", + "cmd": "curl -sk --max-time 15 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=incoherences_only' -H 'Host: weval-consulting.com' | jq '.incoherences'" + }, + { + "id": "v77_agents_list", + "kw": "v77.*agents|agents.*v77|5.*agents.*v77|nouveaux.*agents", + "cmd": "echo '=== 5 V77 Agents (1323 dormants addressed) ==='; for a in v77_skill_agent_dispatcher v77_llm_local_orchestrator v77_automation_planner v77_code_quality_reviewer v77_rag_retriever; do curl -sk --max-time 3 \"http://127.0.0.1/api/agent-stubs/$a.php\" -H 'Host: weval-consulting.com' | jq -c '{agent, category, dormants_addressed}'; done" + }, + { + "id": "v77_business_status", + "kw": "v77.*business.*status|metier.*score|business.*score", + "cmd": "jq -c '{version,ts,total,pass,fail,score}' /var/www/html/api/v77-business-latest.json 2>/dev/null || echo V77 business never ran" + }, + { + "id": "v77_business_run", + "kw": "v77.*business.*run|business.*scenario|test.*metier|journeys.*user|15.*scenarios", + "cmd": "timeout 120 python3 /opt/weval-nonreg/v77-business-scenarios.py 2>&1 | tail -20" + }, + { + "id": "v77_scan_full", + "kw": "scan.*full.*v77|audit.*complet|all.*issues.*detail", + "cmd": "curl -sk --max-time 25 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=scan' -H 'Host: weval-consulting.com' | jq '{summary, issues_count: (.issues|length), incoherences, missing_agents, kpis_to_optimize}'" + }, + { + "id": "v77_coherence_scan", + "kw": "coherence.*scan|releve.*probleme|incoherence|releve.*pb|v77.*scan|systeme.*audit", + "cmd": "curl -sk --max-time 20 'http://127.0.0.1/api/wevia-coherence-scan-v77.php?action=scan' -H 'Host: weval-consulting.com' | jq -c '{summary, top_incoherence: .incoherences[0], top_missing: .missing_agents[:3], kpis: .kpis_to_optimize}'" + }, { "id": "v76_failures_detail", "kw": "v76.*fail|chrome.*fail|bugs.*trouve|js.*errors", @@ -3153,6 +3218,20 @@ "api": "exec", "cmd": "php /opt/weval-l99/wevia-site-builder.php build_index 2>&1 | head -5", "desc": "Generate /products/index.html (4 flagships + catalogue + 7 suites)" + }, + { + "id": "erp_intelligence_suite_read", + "kw": "erp intelligence|agents gaps|wevanalytics|gaps erp|combler erp|20% manquants|suite erp", + "api": "exec", + "cmd": "echo 'SUITE WEVAL ERP Intelligence' && echo '' && echo 'Positionnement : Votre ERP fait 80%. Nous faisons les 20% manquants.' && echo '' && echo '3 apps :' && echo '- Arsenal : Framework ERP Intelligence, 150+ ecrans modulaires, Brain Engine IA, cross-ERP' && echo '- WEVANALYTICS : Analytics cross-ERP, modele semantique unifie, NL queries, alertes predictives' && echo '- Agents Gaps : 30+ agents IA par lacune business (rapprochement bancaire, matching fournisseurs, scoring credit, previsions demande, optimisation stock, exceptions SC, reconciliations, audit continu)' && echo '' && echo 'Cible : entreprises avec ERP en place (SAP, Oracle, Odoo, Salesforce, custom) rencontrant des limites fonctionnelles.' && echo '' && echo 'Pas de remplacement - deploiement incremental - cross-ERP natif - standards enterprise (SSO, RBAC, audit, RGPD, AI Act).' && echo '' && echo 'Pages : /solutions/erp-intelligence.html + /products/arsenal.html + /products/wevanalytics.html + /products/agents-gaps.html'", + "desc": "Detail suite WEVAL ERP Intelligence (Arsenal + WEVANALYTICS + Agents Gaps)" + }, + { + "id": "agents_gaps_read", + "kw": "que fait agents gaps|liste agents gaps|catalogue agents ia|quels agents business", + "api": "exec", + "cmd": "echo 'Agents Gaps - Catalogue IA agents par lacune ERP' && echo '' && echo '9 agents principaux :' && echo '- Rapprochement bancaire : matching releves bancaires vs ecritures ERP, taux auto >95%' && echo '- Matching fournisseurs-factures : 3-way matching PO-BL-facture, tolerances adaptatives' && echo '- Scoring credit clients : temps reel, data interne + externe, limites proposees' && echo '- Prevision demande : multi-modele ARIMA/Prophet/LSTM, saisonnalites, promotions' && echo '- Optimisation stock : multi-sites, arbitrage reassort/transferts/safety stocks' && echo '- Exceptions supply chain : gestion proactive retards, alternatives fournisseurs' && echo '- Reconciliation intercos : detection ecarts, rapprochement auto, cloture multi-entites' && echo '- Audit continu : segregation taches, acces sensibles, depassements seuils' && echo '- Extensible via API : chaque agent = 1 API, orchestrable via WEVIA Master' && echo '' && echo 'Deploiement par agent, 2-6 semaines, ROI 3 mois moyen.'", + "desc": "Catalogue complet des agents IA de combat des gaps ERP" } ] } \ No newline at end of file diff --git a/wevia-training.html b/wevia-training.html index 9b69601c1..07f5af368 100644 --- a/wevia-training.html +++ b/wevia-training.html @@ -2314,10 +2314,10 @@ async function loadKPIs(){ modeBadge.style.color=modeStr==='prod'?'var(--fail)':'var(--ok)'; } }catch(e){ - document.getElementById('kpi-l99').textContent='ERR'; - document.getElementById('kpi-l99-sub').textContent=e.message.substring(0,50); + const kl=document.getElementById('kpi-l99'); if(kl) kl.textContent='ERR'; + const kls=document.getElementById('kpi-l99-sub'); if(kls) kls.textContent=e.message.substring(0,50); } - document.getElementById('kpi-intents').textContent=STATE.intents.length; + const ki=document.getElementById('kpi-intents'); if(ki && STATE && STATE.intents) ki.textContent=STATE.intents.length; document.getElementById('kpi-intents-sub').textContent= STATE.intents.filter(i=>i.type==='read').length+' READ / '+ STATE.intents.filter(i=>i.type==='guide').length+' GUIDE / '+ @@ -2832,7 +2832,7 @@ init();