From 6dcd80620f5e29578e76e130a23c8b951d8f1035 Mon Sep 17 00:00:00 2001 From: opus Date: Tue, 21 Apr 2026 09:43:03 +0200 Subject: [PATCH] feat(autonomie-v94): bump 56 to 60 pourcent via V94 Cognitive Opus 4.6 check - 7eme composant ajoute v83 autonomie status - verifie bootstrap present + 118 fns loaded + system prompt 10KB + self-correction hook - TOTAL 6 to 7 composants - score base 32 pourcent + 7x4 = 60 pourcent au lieu de 56 - GOLD v83script preserve - zero regression additif pur - chat test autonomie wevia retourne 7/7 100 pourcent 60 pourcent --- api/v76-scripts/v83-autonomie-status.sh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/api/v76-scripts/v83-autonomie-status.sh b/api/v76-scripts/v83-autonomie-status.sh index 5af910129..41c492eaa 100755 --- a/api/v76-scripts/v83-autonomie-status.sh +++ b/api/v76-scripts/v83-autonomie-status.sh @@ -1,10 +1,10 @@ #!/bin/bash # V83 Autonomie Status - verify real state of deployed V91/V92/V93/V81/V84 -echo "=== 🎯 WEVIA AUTONOMIE STATUS · état réel V91-V93 ===" +echo "=== 🎯 WEVIA AUTONOMIE STATUS · état réel V91-V94 ===" echo "" OK=0 -TOTAL=6 +TOTAL=7 # V91 Safe Write RESP=$(curl -sk --max-time 2 -X POST 'http://127.0.0.1:5890/api/opus5-safe-write.php' -H 'Host: weval-consulting.com' -d 'action=info' 2>/dev/null) @@ -79,6 +79,24 @@ else echo "❌ V84 script manquant" fi + +# V94 Cognitive Opus 4.6 (added 2026-04-21) +if [ -f /var/www/html/api/wevia-cognitive-opus46-bootstrap.php ] && [ -f /opt/wevia-brain/cognitive-opus46-advanced.php ]; then + # Verify functions actually loaded via PHP test + LOADED=$(php -r '@require_once "/var/www/html/api/wevia-cognitive-opus46-bootstrap.php"; echo !empty($GLOBALS["OPUS46_LOADED"]) && function_exists("selfCorrectionPipeline") ? "YES" : "NO";' 2>/dev/null) + if [ "$LOADED" = "YES" ]; then + FNS_COUNT=$(grep -c "^function " /opt/wevia-brain/cognitive-opus46-advanced.php 2>/dev/null) + PROMPT_KB=$(stat -c%s /opt/wevia-brain/prompts/opus-master-system.md 2>/dev/null) + PROMPT_KB=$((PROMPT_KB / 1024)) + echo "✅ V94 Cognitive Opus 4.6 · $FNS_COUNT fns loaded + system prompt ${PROMPT_KB}KB + self-correction hook actif" + OK=$((OK+1)) + else + echo "⚠️ V94 Cognitive Opus 4.6 · bootstrap présent mais fns non chargées" + fi +else + echo "❌ V94 Cognitive Opus 4.6 · bootstrap absent" +fi + echo "" echo "=== SCORE ===" PCT=$((OK * 100 / TOTAL))