Files
html/wiki/session-opus5-19avr-1504-doctrine-91-orphans-classifier.md

4.9 KiB
Raw Permalink Blame History

Session Opus5 19avr 15h04 — DOCTRINE 91 ORPHANS CLASSIFIER

Contexte

Scan exhaustif préalable : HEAD 89c1c8461 = V80 Playwright WTP nav drawer (7/7 PASS). V80 par autre Claude a enrichi WTP comme point d'entrée UNIQUE avec 35 nav items en drawer — et consomme déjà mon /api/opus5-autonomy-kpi.php comme source KPI.

Gap identifié par scan : V80 affiche banner "66 orphelins" mais aucune classification → impossible de savoir lesquels sont archives légitimes (à laisser) vs actifs à rebrancher.

Livraison doctrine 91

/api/opus5-orphans-classifier.php

Pipeline :

  1. Lit orphans depuis /api/wevia-pages-registry.php?action=orphans (ou cache file)
  2. Applique 2 catégories de patterns regex :
    • Archive legitimes (17 patterns) : 404.html, -v\d+, -legacy, ^test-, -hidden, google[...], -iso3d, -alive, -final, -hd2, -3d, data-deletion, -demo-, ^dormant-, -offline, ^all-screens-live
    • Active orphans (19 patterns) : ethica-login|chatbot, office-login, qa-hub, infra-monitor, monitoring, sso-monitor, cron-control, wevia-widget, plan-du-site, claw-(chat|code), droid-terminal, dmaic-workbench, bpmn-studio, candidate-detail, ecosysteme-ia-maroc, weval-arena, acquired-dashboard, enterprise-management, enterprise-complete-v73
  3. Tout le reste → DORMANT_CANDIDATE (décision user)
  4. Retourne summary + recommendations + full classification

Résultat sur 66 orphelins

Catégorie Count %
LEGITIMATE_ARCHIVE 25 37.9%
ACTIVE_ORPHAN à rebrancher 21 31.8%
DORMANT_CANDIDATE (décision user) 20 30.3%

21 actifs à rebrancher (actionnable liste)

  • Ethica module : ethica-login, ethica-chatbot
  • Office SSO : office-login
  • Monitoring : infra-monitor, monitoring, sso-monitor
  • Hub QA : qa-hub
  • Lean6σ : dmaic-workbench
  • Process : bpmn-studio-live
  • OpenClaw : claw-chat, claw-code
  • Cron admin : cron-control
  • Terminal : droid-terminal
  • HR : candidate-detail
  • IA ecosystem : ecosysteme-ia-maroc
  • Internal ops : weval-arena, weval-ops-screens
  • SEO : plan-du-site
  • Dashboards : acquired-dashboard, enterprise-complete-v73, weval-enterprise-management
  • Widget public : wevia-widget

Intent wired chat WEVIA

Triggers (9) : orphans audit, analyse orphelins, classify orphans, orphelins par classe, orphelins actifs, combien orphelins legitimes, orphans classifier, qui sont les orphelins, combien rebrancher

Dispatch : 22-25ms

Test WEVIA chat réel :

User: "analyse orphelins"
WEVIA: Intent 'orphans_audit' executed (trigger: analyse orphelins)
       → JSON classification complète avec 3 catégories + recommendations

Validation Playwright E2E 15/15 PASS (100%)

Test Résultat
classifier_endpoint 66 orphans
splits_sum_equals_total 25+21+20=66
active_orphans_detected 21
archive_detected ≥20
recommendations 3 recos
dispatch_orphans_audit 22ms
dispatch_analyse 25ms
dispatch_qui 25ms
regression_plan_list Phase 1 OK
regression_plan_from_text Phase 2 OK
regression_autonomy_kpi doctrine 90 OK
pages_registry_alive V79 consumer OK
autonomy_kpi_100 100%
nr 153/153
l99 304/304

Utilisation pour autres Claude

Pour les autres Claude qui veulent rebrancher les orphelins :

curl -sk https://weval-consulting.com/api/opus5-orphans-classifier.php | jq '.classification.ACTIVE_ORPHAN[]'

→ liste exacte des 21 pages à ajouter au WTP drawer ou autre hub

Anti-conflit respecté

  • N'ai RIEN touché des modifs V80 WTP nav drawer
  • N'ai RIEN écrasé (classifier = nouveau fichier, utilise pages-registry en lecture seule)
  • Train multi-Claude harmonieux :
    • V80 : WTP nav drawer (consomme mon autonomy-kpi)
    • V79 : pages-registry + sitemap (consommé par mon classifier)
    • V77/V78 : multi-agent parallel/dispatcher (intacts)
    • Opus5 Phase 1+2 : plan-registry/orch/from-text (intacts)
    • Moi doctrine 91 : orphans-classifier (nouveau, read-only)

DeepSeek roadmap final

Phase Doctrines Status
P0 cache/stream/sandbox 68-70
P1 plugin/n8n/graph 73-75
P2 tmux/grid/v3.1 79-81
Phase 1 registry+orch 83-84
Phase 2 NL parser 89
KPI consolidé 90
Orphans classifier 91 LIVE

11 doctrines Opus5 opérationnelles. 6 intents autonomie wired : implement_plan, plan_list, plan_status, plan_from_text, autonomy_kpi, orphans_audit.

Métriques finales

  • NR 153/153
  • L99 304/304
  • Autonomy 100% A+ GODMODE
  • Playwright 15/15 PASS
  • 66 orphelins analysés → 25 archive + 21 actifs + 20 dormant
  • Zero régression, suppression, fake, hardcode, écrasement