From 7f412bc77d9529c79c5ea58882104fad7e8fc862 Mon Sep 17 00:00:00 2001 From: opus Date: Tue, 21 Apr 2026 09:55:02 +0200 Subject: [PATCH] auto-sync-0955 --- .../task_blade_20260421-011410_889db9.json | 6 +- api/em-kpi-cache.json | 281 ------------------ api/v83-business-kpi-latest.json | 2 +- wiki/session-V107-orphans-audit-enriched.md | 168 +++++++++++ 4 files changed, 173 insertions(+), 284 deletions(-) create mode 100644 wiki/session-V107-orphans-audit-enriched.md diff --git a/api/blade-tasks/task_blade_20260421-011410_889db9.json b/api/blade-tasks/task_blade_20260421-011410_889db9.json index b9ed4b27a..b0117f35b 100644 --- a/api/blade-tasks/task_blade_20260421-011410_889db9.json +++ b/api/blade-tasks/task_blade_20260421-011410_889db9.json @@ -3,8 +3,10 @@ "goal": "v112_via_fn", "params": [], "priority": "normal", - "status": "dispatched", + "status": "failed_timeout", "created": "2026-04-21T01:14:10+00:00", "source": "wevia-master-chat", - "dispatched_at": "2026-04-21T07:40:42+00:00" + "dispatched_at": "2026-04-21T07:40:42+00:00", + "failed_at": "2026-04-21T07:55:01+00:00", + "error": "Agent Blade did not callback task_done within 10min" } \ No newline at end of file diff --git a/api/em-kpi-cache.json b/api/em-kpi-cache.json index 365557aed..e69de29bb 100644 --- a/api/em-kpi-cache.json +++ b/api/em-kpi-cache.json @@ -1,281 +0,0 @@ -{ - "ts": "2026-04-21T07:50:01+00:00", - "server": "s204", - "s204": { - "load": 0.6, - "uptime": "2026-04-14 11:51:24", - "ram_total_mb": 31335, - "ram_used_mb": 11797, - "ram_free_mb": 19537, - "disk_total": "150G", - "disk_used": "116G", - "disk_free": "29G", - "disk_pct": "81%", - "fpm_workers": 140, - "docker_containers": 19, - "cpu_cores": 8 - }, - "s95": { - "load": 0.04, - "disk_pct": "81%", - "status": "UP", - "ram_total_mb": 15610, - "ram_free_mb": 12017 - }, - "pmta": [ - { - "name": "SER6", - "ip": "110.239.84.121", - "status": "DOWN" - }, - { - "name": "SER7", - "ip": "110.239.65.64", - "status": "DOWN" - }, - { - "name": "SER8", - "ip": "182.160.55.107", - "status": "DOWN" - }, - { - "name": "SER9", - "ip": "110.239.86.68", - "status": "DOWN" - } - ], - "assets": { - "html_pages": 293, - "php_apis": 774, - "wiki_entries": 1928, - "vault_doctrines": 59, - "vault_sessions": 104, - "vault_decisions": 12 - }, - "tools": { - "total": 627, - "registry_version": "?" - }, - "sovereign": { - "status": "UP", - "providers": [ - "Cerebras-fast", - "Cerebras-think", - "Groq", - "Cloudflare-AI", - "Gemini", - "SambaNova", - "NVIDIA-NIM", - "Mistral", - "Groq-OSS", - "HF-Space", - "HF-Router", - "OpenRouter", - "GitHub-Models" - ], - "active": 13, - "total": 13, - "primary": "Cerebras-fast", - "cost": "0€" - }, - "ethica": { - "total_hcps": 161733, - "with_email": 110581, - "with_phone": 155149, - "gap_email": 51152, - "pct_email": 68.4, - "pct_phone": 95.9, - "by_country": [ - { - "country": "DZ", - "hcps": 122337, - "with_email": 78485, - "with_tel": 119394, - "pct_email": 64.2, - "pct_tel": 97.6 - }, - { - "country": "MA", - "hcps": 19723, - "with_email": 15074, - "with_tel": 18737, - "pct_email": 76.4, - "pct_tel": 95 - }, - { - "country": "TN", - "hcps": 17794, - "with_email": 15143, - "with_tel": 17018, - "pct_email": 85.1, - "pct_tel": 95.6 - }, - { - "country": "INTL", - "hcps": 1879, - "with_email": 1879, - "with_tel": 0, - "pct_email": 100, - "pct_tel": 0 - } - ] - }, - "docker": [ - { - "name": "loki", - "status": "Up 4 days", - "ports": "" - }, - { - "name": "listmonk", - "status": "Up 4 days", - "ports": "" - }, - { - "name": "plausible-plausible-1", - "status": "Up 3 days", - "ports": "" - }, - { - "name": "plausible-plausible-db-1", - "status": "Up 3 days", - "ports": "" - }, - { - "name": "plausible-plausible-events-db-1", - "status": "Up 3 days", - "ports": "" - }, - { - "name": "n8n-docker-n8n-1", - "status": "Up 5 days", - "ports": "" - }, - { - "name": "mattermost-docker-mm-db-1", - "status": "Up 5 days", - "ports": "" - }, - { - "name": "mattermost-docker-mattermost-1", - "status": "Up 5 days (healthy)", - "ports": "" - }, - { - "name": "twenty", - "status": "Up 4 days", - "ports": "" - }, - { - "name": "twenty-redis", - "status": "Up 5 days", - "ports": "" - }, - { - "name": "langfuse", - "status": "Up 5 days", - "ports": "" - }, - { - "name": "redis-weval", - "status": "Up 6 days", - "ports": "" - }, - { - "name": "gitea", - "status": "Up 6 days", - "ports": "" - }, - { - "name": "node-exporter", - "status": "Up 6 days", - "ports": "" - }, - { - "name": "prometheus", - "status": "Up 6 days", - "ports": "" - }, - { - "name": "searxng", - "status": "Up 6 days", - "ports": "" - }, - { - "name": "uptime-kuma", - "status": "Up 32 hours (healthy)", - "ports": "" - }, - { - "name": "vaultwarden", - "status": "Up 6 days (healthy)", - "ports": "" - }, - { - "name": "qdrant", - "status": "Up 6 days", - "ports": "" - } - ], - "crons": { - "active": 35 - }, - "git": { - "head": "3f14756c1 auto-sync via WEVIA git_sync_all intent 2026-04-21T09:46:06+02:00", - "dirty": 12, - "status": "DIRTY" - }, - "nonreg": { - "total": 153, - "passed": 153, - "score": "100%" - }, - "services": [ - { - "name": "DeerFlow", - "port": 3002, - "status": "UP" - }, - { - "name": "DeerFlow API", - "port": 8001, - "status": "UP" - }, - { - "name": "Qdrant", - "port": 6333, - "status": "UP" - }, - { - "name": "Ollama", - "port": 11434, - "status": "UP" - }, - { - "name": "Redis", - "port": 6379, - "status": "UP" - }, - { - "name": "Sovereign", - "port": 4000, - "status": "UP" - }, - { - "name": "SearXNG", - "port": 8080, - "status": "UP" - } - ], - "whisper": { - "binary": "COMPILED", - "model": "142MB" - }, - "grand_total": 3700, - "health": { - "score": 5, - "max": 6, - "pct": 83 - }, - "elapsed_ms": 10985 -} \ No newline at end of file diff --git a/api/v83-business-kpi-latest.json b/api/v83-business-kpi-latest.json index ab0112947..59cdc2604 100644 --- a/api/v83-business-kpi-latest.json +++ b/api/v83-business-kpi-latest.json @@ -1,7 +1,7 @@ { "ok": true, "version": "V83-business-kpi", - "ts": "2026-04-21T07:51:02+00:00", + "ts": "2026-04-21T07:54:02+00:00", "summary": { "total_categories": 8, "total_kpis": 64, diff --git a/wiki/session-V107-orphans-audit-enriched.md b/wiki/session-V107-orphans-audit-enriched.md new file mode 100644 index 000000000..7db4d1986 --- /dev/null +++ b/wiki/session-V107-orphans-audit-enriched.md @@ -0,0 +1,168 @@ +# V107 - orphans_audit enriched V83+classifier fusion - 2026-04-21 + +## Objectif +Corriger le routage PendingLoader pour `orphans_audit` qui tombait en +LLM fallback malgré 9 triggers. Enrichir avec V83 snapshot + classifier +détaillé en une seule réponse Master. + +## Problème identifié + +Query `"orphelins par classe"` avant V107 → +``` +engine: Cerebras/Qwen3-235B +intent: llm +``` + +Pas de routage PendingLoader alors que stub existait avec triggers adaptés. + +## Cause racine +Même problème que V105 : richness insuffisante. + +Stub V106 original : +- 9 triggers +- cmd: `curl -sk http://127.0.0.1/api/opus5-orphans-classifier.php` (61 chars) +- richness = 9 + 0.6 = 9.6 + +Trop bas face aux autres stubs à forte richness qui rafllaient certains keywords. + +## Solution V107 (enrich without duplicate) + +**Fichier**: `/var/www/html/api/wired-pending/intent-opus4-orphans_audit.php` +**GOLD vault**: `/opt/wevads/vault/intent-opus4-orphans_audit.php.GOLD-V107-20260421-093725` +**GOLD V107.1 (jq fix)**: `.GOLD-V107.1-20260421-093816` +**Diff**: 728 → 1875 bytes (+1147, +157%) + +### Triggers: 9 → 16 +``` +'orphans audit', 'analyse orphelins', 'classify orphans', +'orphelins par classe', 'orphelins actifs', 'combien orphelins legitimes', +'orphans classifier', 'qui sont les orphelins', 'combien rebrancher', ++ 'audit pages orphelines', 'classification orphelins', + 'orphelins par categorie', 'orphans by class', + 'orphelins detail', 'detail orphelins', 'orphelins wevia audit' +``` + +### cmd enrichi fusion +Combine V83 Architecture Quality snapshot + opus5 classifier detailed output: + +Section 1: V83 snapshot +```bash +curl V83?action=category&cat=architecture_quality +| jq extract orphans_count + orphans_rescued_submodule +``` + +Section 2: Classifier detailed (V107.1 jq fix) +```bash +curl opus5-orphans-classifier.php +| jq '.classification | to_entries[] | + "\(.key): \(.value | length) pages", + (.value[] | " - \(.page) [\(.class)] \(.size_kb)KB reason=\(.reason)")' +| head -20 +``` + +### Richness post V107 +- 16 triggers + cmd ~800 chars = 16 + 8 = **24** (was 9.6) +- Suffisant pour remporter le scoring PendingLoader + +## Validation live + +Query `"orphelins par classe"` après V107 → +``` +engine: PendingLoader/orphans_audit +intent: pending_orphans_audit +``` + +Query `"orphans audit"` retourne: +``` +=== V107 Orphans Audit Consolidated === + +=== Classifier V83 snapshot === +orphans_count: 9 [warn] +orphans_rescued_submodule: 11 [ok] + +=== Detailed classifier (opus5) === +LEGITIMATE_ARCHIVE: 1 pages + - linkedin-control-v98.html [module] 13.2KB reason=versioned_legacy +ACTIVE_ORPHAN: 0 pages +DORMANT_CANDIDATE: 7 pages + - erp-gap-fill.html [module] 34.5KB + - infra-tour.html [module] 7.1KB + - lean-6sigma.html [module] 15.5KB + - office-app.html [office] 34.5KB + - orphans-hub.html [hub] 23.3KB + - paperclip-dashboard.html [dashboard] 6.2KB + - wtp.html [module] 8.4KB +``` + +## Classification insights pour Yacine +- **1 LEGITIMATE_ARCHIVE** : `linkedin-control-v98.html` (versioned_legacy — peut rester orphelin, c'est une archive V98) +- **0 ACTIVE_ORPHAN** : aucune page urgente à rebrancher +- **7 DORMANT_CANDIDATE** : à décider (supprimer, rebrancher, ou laisser) + - erp-gap-fill (34.5KB) — gros, important? + - office-app (34.5KB) — gros, Email/Office + - orphans-hub (23.3KB) — hub interne, déjà wired par V98/V99 + - lean-6sigma (15.5KB) — méthodologie + - wtp (8.4KB) — ancien WTP? Possible duplicate. + - paperclip-dashboard (6.2KB) — ProjectFlow + - infra-tour (7.1KB) — infra tour + +Tous listés par Master en 1 query, user peut décider. + +## L99 NonReg post-V107 +``` +153/153 PASS | 0 FAIL | 100% | 57.7s +TS: 20260421_093859 +``` + +## Chain V96→V107 +| Version | Commit | Sujet | +|---|---|---| +| V96 | c31b8c5bc | Zero Fake PendingLoader | +| V97 | aedd3b13f | Zero Dormant Registry | +| V98 | 432eb8969 | Orphans Rescue submodule | +| V99 | 85a716853 | Orphans Rescue KPIs API | +| V100 | 17c25b8ce | Architecture Quality V83 | +| V101 | dcf03cc93 | Master intent architecture_quality | +| V102 | 2b04dcf4f | Orchestrator agent (11 agents) | +| V103 | e1c02bdd3 | NonReg retry-on-429 | +| V104 | 6794343df | E2E consolidated + multi-sync | +| V105 | 0f7b33293 | orphans_count enrich | +| V106 | 70437c56f | orphans_full_report consolidé | +| **V107** | **e20be2e95** | **orphans_audit enrich V83+classifier** | + +## Synchronisation autres Claudes (post V107) +- V9.59 `6564274db`: Blade MCP task format fix — **WhatsApp/GitHub/Groq token renewal wire** +- V94 `6dcd80620`: autonomie 56 → 60% via Cognitive Opus 4.6 check +- V9.58 + auto-sync continuous + +Ces travaux complètent notre stack : +- V9.59 token renewal = résout GitHub PAT expire 15-avr +- V94 Cognitive = Master plus autonome + +## Écosystème orphans rescue complet via Master Chat (5 intents) +| Query | Routage | Réponse | +|---|---|---| +| `architecture quality` | V101 wire | 8 KPIs V83 | +| `combien orphelins` / `count orphans` | V105 enrich | V83 + V81 scan | +| `orphelins par classe` / `orphans audit` | **V107 enrich** | V83 + **classifier detail** | +| `orphans full report` | V106 | Tout consolidé | +| `multiagent bilan` | V102 orch | 11 agents inc architecture_quality | + +## Doctrines appliquées +- Doctrine 0: Root cause richness scoring PendingLoader +- Doctrine 1: GOLD vault snapshot +- Doctrine 2: Zero écrasement (enrich existing stub) +- Doctrine 3: Zero suppression (opus5 classifier preserved) +- Doctrine 4: Zero régression (L99 153/153) +- Doctrine 14: Test-driven (live query + jq fix V107.1) +- Doctrine 16: Script idempotent +- Doctrine 60: UX premium (classification claire en 1 query) +- Doctrine 95: Traçabilité wiki + vault +- Doctrine 100: Train release commit + +## Next V108+ pending +- [ ] Playwright auth cookie persistence (user session real) +- [ ] Monitor FPM + CloudFlare continu +- [ ] NPS Pharma Cloud (Yacine validation) +- [ ] Huawei Cloud / Vistex business +- [ ] GitHub PAT renewal (expiré 15-avr, V9.59 wire en place)