Opus 576ab22a9f fix(web-ia-health w333): regression w331 layout tasks - clean injection + patch backend
CAUSE RACINE (Yacine: tasks vides bas gauche pas centrer):
- Wave 331 avait injecte un JS poller qui creait sa propre liste tasks
- Cette liste etait appendChild au parent du titre Recent Tasks
- MAIS le layout natif est grid 12 cols avec card col-6
- = Liste injectee tombait en colonne gauche bas hors layout

FIX wave 333 (2 patches PROPRES):

1. web-ia-health.html:
   - REMOVE script w331-tasks-poller (pollution UI)
   - SWITCH /api/web-ia-health-cached.php -> /api/web-ia-health.php
     (cached etait band-aid temporaire, plus besoin)

2. /api/web-ia-health.php:
   - PATCH backend pour ALSO parser /tmp/wevia-job-*.log
   - Detecte status: done/failed/pending depuis content
   - Extract label intelligent (Prompt: ou ===)
   - Ajoute au tableau recent_tasks NATIF
   - Le rendu natif card col-6 + feed-item est PROPRE
   - Tasks safficheront dans la JOLIE section au bon endroit

Result attendu apres CF purge + F5:
- Recent Tasks (10) section affiche jusqu a 10 tasks reelles
- Layout natif respecte (card col-6 sur grid 12 cols)
- Statut couleurs: done vert / failed rouge / pending orange
- Plus de pollution gauche bas
- Plus de Aucune task recente

Zero regression (clean restore + additif backend uniquement)
chattr +i toggle, GOLD backup x2 (html + php)
CF purge 2 URLs

Doctrine 333: fix propre via backend natif au lieu de polluer UI
2026-04-24 21:36:51 +02:00
2026-04-22 02:50:02 +02:00
2026-04-22 03:50:03 +02:00
2026-04-22 05:00:04 +02:00
2026-04-23 22:15:04 +02:00
2026-04-24 05:00:12 +02:00
2026-04-24 03:05:04 +02:00
2026-04-24 03:00:11 +02:00
2026-04-24 02:30:07 +02:00
2026-04-24 03:00:11 +02:00
Description
No description provided
4.4 GiB
Languages
HTML 56.8%
PHP 28.8%
JavaScript 6.1%
Shell 5.6%
Python 2.2%
Other 0.5%