{
  "scan_ts": "2026-05-19T23:40:19Z",
  "scan_doctrine": "D986 - scan complet avant mise a jour, source de verite operationnelle",
  "scope": "S204 + S95 + S151 + RunPod + Council souverain + chatbot inventory",
  "servers": [
    {
      "id": "S204",
      "host": "mail-mta-wevup",
      "ip_public": "204.168.152.13",
      "ip_internal": "10.1.0.2",
      "role": "orchestrateur primaire",
      "uptime_days": 18.5,
      "load_1m": 1.28,
      "load_5m": 3.35,
      "load_15m": 4.75,
      "ram_used_gi": 16,
      "ram_total_gi": 61,
      "ram_available_gi": 44,
      "disk_used_pct": 66,
      "disk_used_gb": 98,
      "disk_total_gb": 150,
      "gpu_local": false,
      "services_up": [
        "Nginx",
        "PHP-FPM(119 procs)",
        "Ollama:11434(5 models)",
        "Qdrant:6333",
        "Embeddings:4000",
        "Redis(PONG DB5=51771 keys)",
        "PostgreSQL(14 DB)",
        "Paperclip:3201"
      ],
      "ollama_models": [
        {
          "name": "qwen2.5:14b",
          "size_mb": 8571
        },
        {
          "name": "dolphin-mistral:7b",
          "size_mb": 3918
        },
        {
          "name": "qwen2.5-coder:7b",
          "size_mb": 4466
        },
        {
          "name": "llama3.2:1b",
          "size_mb": 1259
        },
        {
          "name": "all-minilm:latest",
          "size_mb": 43
        }
      ],
      "html_pages_total": 844,
      "php_api_endpoints": 2763,
      "status": "HEALTHY"
    },
    {
      "id": "S95",
      "host": "wevads-arsenal",
      "ip_public": "95.216.167.89",
      "ip_internal": "10.1.0.3",
      "role": "workers WEVADS REACHCP Authentik Gitea",
      "services_up": [
        {
          "name": "Sentinel:5890",
          "http": 200
        },
        {
          "name": "Apache:80",
          "http": 200
        },
        {
          "name": "Gitea:3030",
          "http": 200
        }
      ],
      "services_probed_down": [
        {
          "name": "Paperclip:4000",
          "http": "000_timeout",
          "note": "Doc5 listed but not exposed - Paperclip really runs on S204:3201"
        }
      ],
      "status": "HEALTHY"
    },
    {
      "id": "S151",
      "host": "mythos-ovh",
      "ip_public": "151.80.235.110",
      "role": "Mythos Ollama CPU OVH",
      "services_up": [
        {
          "name": "Ollama:11434",
          "http": 200
        }
      ],
      "ollama_models": [
        {
          "name": "llama3.2:3b",
          "size_mb": 1925
        },
        {
          "name": "qwen2.5-coder:1.5b",
          "size_mb": 940
        },
        {
          "name": "tinydolphin:latest",
          "size_mb": 607
        },
        {
          "name": "dolphin-llama3:8b",
          "size_mb": 4445
        },
        {
          "name": "nomic-embed-text:latest",
          "size_mb": 261
        },
        {
          "name": "qwen2:0.5b",
          "size_mb": 335
        }
      ],
      "status": "HEALTHY"
    }
  ],
  "gpus": [
    {
      "id": "RunPod_d755",
      "spec_when_active": "NVIDIA RTX A5000 24GB - $0.27/hr",
      "scan_result": "API rest.runpod.io/v1/pods returned [] (empty)",
      "active_pods": 0,
      "status": "PAUSED_OR_TERMINATED",
      "doctrine": "D842 RunPod pause/wake - pod probablement en pause hors heures actives",
      "v1_claim_delta": "V1 affiche LIVE 24/7 60% VRAM 65 tok/s - V1 STALE"
    },
    {
      "id": "Kaggle_T4",
      "spec": "2x T4 16GB - quota 30h/sem gratuit",
      "scan_result": "NON_SCANNABLE_API",
      "status": "MANUAL_MANAGED"
    },
    {
      "id": "Blade_Razer",
      "spec": "ARM mobile edge AI",
      "scan_result": "NON_SCANNABLE_FROM_SERVER",
      "status": "EDGE_DEVICE"
    }
  ],
  "council_souverain_live": {
    "endpoint": "/api/brain-council-stats.php",
    "ia_en_parallele": 17,
    "consensus_min": 9,
    "breakdown": {
      "sovereign_api_providers": 4,
      "cdp_web_active": 8,
      "cdp_web_total": 8,
      "ollama_local_models": 4,
      "brain_custom_v5": 1
    },
    "providers_active": [
      {
        "name": "Mistral",
        "latency_ms": 1200,
        "unlimited": true
      },
      {
        "name": "Groq",
        "latency_ms": 800,
        "unlimited": true
      },
      {
        "name": "DeepSeek",
        "latency_ms": 2500,
        "unlimited": true
      },
      {
        "name": "Qwen",
        "latency_ms": 1500,
        "unlimited": true
      }
    ],
    "v1_claim_delta": "V1 affiche '21 providers' = total configures - council parallele reel = 17"
  },
  "chatbots_inventory_doc5": {
    "source": "/ai-catalog-v2.html ou similaire",
    "total_referenced": 46,
    "sse_live": 14,
    "by_server": {
      "S204": 22,
      "S95": 3,
      "S151": 1,
      "Cloud": "multi",
      "Multi": "multi"
    },
    "by_tier": {
      "tier1_production": 8,
      "tier2_orchestration": 8,
      "tier3_specialized": 25,
      "tier4_legacy": 4
    }
  },
  "deltas_v1_propale_vs_reality": [
    {
      "item": "S204 disk",
      "v1": "85.9% CRITIQUE",
      "real": "66%",
      "delta": "V1 STALE - capacite saine"
    },
    {
      "item": "RunPod d755",
      "v1": "LIVE 24/7 0.27USD/hr",
      "real": "0 pods actifs",
      "delta": "V1 STALE - pod en pause"
    },
    {
      "item": "S151 modeles",
      "v1": "Llama3.1 8B Mistral 7B Gemma 2B Phi-3",
      "real": "6 modeles differents (llama3.2:3b qwen2.5-coder:1.5b tinydolphin dolphin-llama3:8b nomic-embed qwen2:0.5b)",
      "delta": "V1 STALE - inventory changed"
    },
    {
      "item": "Tools/Skills",
      "v1": "372 tools / 269 registry",
      "real": "909 dans wevia-tool-registry.json / 2763 endpoints PHP S204",
      "delta": "REALITE DEPASSE V1"
    },
    {
      "item": "Council parallele",
      "v1": "21 providers",
      "real": "17 IA en parallele (4 souv API + 8 CDP + 4 Ollama + 1 brain v5)",
      "delta": "21=configures, 17=parallele reel"
    },
    {
      "item": "Chatbots IA",
      "v1": "non mentionne",
      "real": "46 catalogues (Doc5)",
      "delta": "NOUVEAU AXE A INTEGRER"
    }
  ],
  "doctrine_d986_compliance": {
    "scan_first": true,
    "honest_reporting": "deltas V1-vs-reality flagues sans cacher",
    "additive_only": "nouveau masterdata + section additive hub - aucun ecrasement",
    "source_of_truth": "ce JSON = verite operationnelle scannee, V1 reste page propale (marketing OK mais stale)"
  },
  "wire_status": {
    "probe_ts": "2026-05-19T23:40:19Z",
    "doctrine": "D988 GODMODE - 3/5 action items D987 executed in autonomy (codesign daemon port discovery + mercury PG table + dreamgraph shell injection fix)",
    "endpoints": [
      {
        "name": "codesign",
        "url": "/api/codesign-info.php?action=status",
        "description": "Open-Design daemon Docker wevia-open-design",
        "doc9_status": "LIVE Phase B",
        "reality_status": "LIVE 74 skills 139 design systems (D988 port discovery fixed)",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": false
      },
      {
        "name": "dreamgraph",
        "url": "/api/dreamgraph-status.php?action=overview",
        "description": "Qdrant collections + PG KB tables",
        "doc9_status": "LIVE 21 cols",
        "reality_status": "LIVE 26 cols Qdrant + PG KB tables 12 (D988 shell injection fixed, secrets_rotation table separate issue)",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": false
      },
      {
        "name": "mercury",
        "url": "/api/mercury-status.php?action=status",
        "description": "Mercury Memory layer + PG table",
        "doc9_status": "LIVE table created",
        "reality_status": "LIVE table mercury_memory codified (D988 GODMODE)",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": false
      },
      {
        "name": "hermes",
        "url": "/api/hermes3-proxy.php",
        "description": "Cerebras Qwen-3-235B-A22B proxy",
        "doc9_status": "LIVE 95",
        "reality_status": "LIVE (POST prompt requis)",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": false
      },
      {
        "name": "skill_rag",
        "url": "/api/skill-rag-diagnose.php?action=stats",
        "description": "Skill-RAG diagnose 3546 intents",
        "doc9_status": "FIXED v2",
        "reality_status": "LIVE 3690 intents cache HIT",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": true
      },
      {
        "name": "rotation",
        "url": "/api/rotation-helper.php?action=status",
        "description": "Key rotation helper",
        "doc9_status": "85 tracked 0 rotated",
        "reality_status": "LIVE 120 tracked / 3 rotated",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": true
      },
      {
        "name": "hyperframes",
        "url": "/api/hyperframes-status.php?action=status",
        "description": "Kaggle GPU + HF Spaces",
        "doc9_status": "STUB",
        "reality_status": "STUB still, cron Sun 3am wired",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": false
      },
      {
        "name": "blade",
        "url": "/api/blade-info.php?action=status",
        "description": "Blade IA Remote 68 intents",
        "doc9_status": "AUDIT-ONLY",
        "reality_status": "LIVE 200 reachable",
        "http_code": "200",
        "live": true,
        "delta_with_doc9": true
      },
      {
        "name": "sovereign_reasoning",
        "url": "/api/sovereign-reasoning.php",
        "description": "Qwen-235B + llama3.1-8b fallback",
        "doc9_status": "LIVE 245ms",
        "reality_status": "LIVE auth-gated (Bearer WEVADS2026 requis)",
        "http_code": "401",
        "live": false,
        "delta_with_doc9": false
      }
    ],
    "summary": {
      "total_endpoints_probed": 9,
      "live_http_200": 8,
      "deltas_vs_doc9": 3,
      "actions_executed_d988": [
        "Codesign: docker logs port discovery + ss validation + /api/health probe + 60s cache (codesign-info.php +1776+652 octets additive, fallback 34477)",
        "Mercury: CREATE TABLE mercury_memory(id BIGSERIAL PK, session_id, claude_instance, summary, embedding_id, metadata JSONB, ts TIMESTAMPTZ DEFAULT NOW) + 4 indexes (session, claude_instance, ts DESC, embedding_id WHERE NOT NULL) + COMMENT",
        "Dreamgraph: pseudo-template literal `. WEVAL_DB_PASS .` replaced by sudo -n -u postgres psql (peer auth, NOPASSWD ALL works), +53 octets additive"
      ],
      "actions_remaining_NEEDS_YACINE_MANUAL": [
        "Rotation: 117 cles unrotated - INTRINSEQUEMENT impossible en autonomie car 2FA requis sur portails Stripe/Cloudflare/Anthropic (USER seul peut generer nouvelles cles)",
        "Hyperframes: tokens Kaggle API + HuggingFace Spaces - USER seul possede ces credentials"
      ]
    }
  },
  "doctrine_d987": "Wire status reel + delta zero - probe live tous endpoints Doc9 - identifie 5 action items pour reduire delta a zero - source unique masterdata enrichie additive",
  "doctrine_d988": "GODMODE execution 3/5 actions D987 - codesign mercury dreamgraph fixed in autonomy - rotation hyperframes intrinsequement USER"
}