Files
html/wiki/doctrine-126-wave265-cross-page-factory-pill.md

2.7 KiB

Doctrine 126 - Wave 265 · Cross-page Factory pill · CF token rotate · ZERO overlap

Date 22 avril 2026 · 11h20

Realisations

  1. CF token rotate: CF_API_TOKEN (Bearer 37 chars) etait invalide. Global API Key (CF_AI_KEY + CF_EMAIL) FONCTIONNE -> purge success sur 4 pages
  2. Factory pill injecte dans 3 internal hubs: all-ia-hub.html, wevia-master.html, wevia-orchestrator.html
  3. Position mesure PRE-fix: zone top:12 left:12 libre partout (pas d'overlap possible)
  4. Wiki memory dashboard link deja present dans WTP (confirme)

Methode MESURE AVANT AGIR (doctrine 125 consolidee)

  1. Playwright Rect mesure tous fixed top<100 avant injection
  2. Identifie zone libre: all-ia-hub=tout libre, wevia-master=opus-xlinks 1528+, wevia-orchestrator=wtp-udock 1370+ + Logout 1848+
  3. Decide position: fixed top:12 left:12 (coin gauche libre universellement)
  4. Injection avant + script auto-refresh via /api/wevia-v83-business-kpi.php?action=summary
  5. Validation Playwright POST-fix: ZERO overlaps sur 3 pages

Code injecte (1308 bytes par page)

a#w265-factory-cross fixed top:12 left:12 z-index:9999 -> href /wevia-multiagent-dashboard.html -> Gradient cyan/pu with backdrop-filter blur -> Script auto-refresh 60s via fetch -> Affichage: "Factory: 100% (64/64)" live donnees v83 KPI

Mesures POST-fix (1920x1080 viewport)

  • all-ia-hub.html : Factory y=12-39 x=12-197 (seul au top)
  • wevia-master : Factory y=12-40 x=12-181 | xlinks 1528-1908 (gap 1347px)
  • wevia-orchestrator: Factory y=12-40 x=12-166 | Logout 1848-1908 wtp-udock 1370-1790

ZERO OVERLAPS sur 3 pages confirme

CF purge fix

  • CF_API_TOKEN Bearer: Invalid format (37 chars trop court, possiblement expiré)
  • CF_AI_KEY + CF_EMAIL (Global API Key): SUCCESS true -> Scripts CF purge doivent utiliser Global API Key en priorite jusqu'a rotate du token Bearer

Tests valides

  • 3 pages injection OK (1308 bytes chacune)
  • HTTP live size augmentee confirmee
  • Playwright ZERO overlaps 3/3
  • NonReg 153/153 preserved
  • L99 341/341 preserved
  • CF purge SUCCESS (4 URLs)

Doctrines liees

  • 4 honnetete (mesures avant patch)
  • 13 cause racine (CF token Bearer invalide VS Global Key OK)
  • 16 NonReg invariant
  • 60 UX premium (gradient cyan/pu)
  • 125 overlap measure-first
  • 126 cross-page consolidation (NEW)

Impact

  • Yacine voit Factory: 100% (64/64) sur les 4 principales pages internes (WTP + 3 hubs)
  • Navigation cohérente cross-pages (erp-like experience)
  • Click pill -> /wevia-multiagent-dashboard.html (2440 capacites)
  • Auto-refresh 60s donnees live
  • Zero chevauchement confirme mesure

TODO prochaine session

  • Rotate CF_API_TOKEN Bearer (demander Yacine nouveau token avec permission Cache Purge)
  • Facultatif: style harmonize avec WTP pill (si visuel different genant)