Date : Mercredi 11 Novembre 2026
Horodatage Local : 08:36:30 AST (Guadeloupe UTC-4)
Auteur : Antigravity / Jarvis (Routine Proactive Autonome)
Statut Global : 🟢 Systèmes Opérationnels — 2 Anomalies Identifiées & Corrigées avec Succès
La pulsation proactive de Rétrospective & Débogage a analysé l'intégralité des journaux d'erreurs récents (C:\ASSISTANT_IA\logs\), l'état des sentinelles Watchdog et l'activité des démons résidents sous Windows.
Deux dysfonctionnements sous-jacents ont été identifiés, diagnostiqués jusqu'à la cause racine, corrigés et validés par test unitaire et de résilience :
watchdog_workflow_architect.py ne vérifiait pas la correspondance du PID dans le heartbeat ni l'antériorité du timestamp par rapport au lancement du sous-processus. Un vieux timestamp sur le disque déclenchait un faux freeze après 60 secondes de grâce.Correctif appliqué : Alignement sur le standard éprouvé de watchdog_classement_produits.py (vérification pid == monitored_pid, epoch >= child_launch_epoch, période de grâce étendue à 120s, nettoyage du heartbeat lors d'un kill, lancement WMI insensible au Job Object).
Spam I/O & Saturation du Journal de Classement des Produits :
classement_produits_daemon.log atteignait 7,21 Mo et grossissait de plusieurs mégaoctets par jour.sync_artifacts_reports() recopiait aveuglément 54 rapports HTML toutes les 30 secondes même lorsqu'ils étaient strictement identiques, et le démon enregistrait 2 880 lignes d'information redondantes par 24h.newly_copied == 0 si identique), journalisation conditionnelle uniquement en cas de nouvel ajout, et rotation automatique des logs à 5 Mo.| Service / Démon | Rôle Système | PID Actif | État Watchdog | Fréquence Heartbeat | Statut |
|---|---|---|---|---|---|
| Workflow Architect | Supervision continue de l'architecture | 7008 | 🟢 Managé (PID 2480) | 10s | Nominal |
| Classement Produits | Organisation & indexation automatique | 3724 | 🟢 Managé (PID 1256) | 30s | Nominal |
| MCP Tools Watchdog | Synchronisation dynamique des outils JUTL | 8912 | 🟢 Actif | 10s | Nominal |
| Scheduler Daemon | Missions différées & planifiées | 2940 | 🟢 Actif | 30s | Nominal |
| Pulse Daemon | Pulsations cognitives périodiques | 8652 | 🟢 Actif | 60s | Nominal |
| Task Watchdog | Surveillance des processus longs | 7292 | 🟢 Actif | 15s | Nominal |
| Calendar Dispatcher | Synchronisation Google Calendar UTC-4 | 5932 | 🟢 Actif | 60s | Nominal |
| Moniteur Pipeline | Suivi des pipelines de données | 8888 | 🟢 Actif | 30s | Nominal |
| Knowledge Watcher | Synchronisation mémoire & SOPs | 10904 | 🟢 Actif | Événementiel | Nominal |
| Proxy Local (8099) | Passerelle réseau souveraine | 8288 | 🟢 Actif | Continu | Nominal |
watchdog_workflow_architect.py)# Extrait du correctif appliqué : Détection de freeze durcie
def is_heartbeat_frozen(self) -> bool:
launch_time = getattr(self, "child_launch_epoch", self.start_epoch)
if (time.time() - launch_time) < MAX_HEARTBEAT_STALE_SEC:
return False
if not HEARTBEAT_FILE.exists():
return False
try:
data = json.loads(HEARTBEAT_FILE.read_text(encoding="utf-8"))
monitored_pid = self.state.get("monitored_pid")
hb_pid = data.get("pid")
# Protection anti-faux positif : le heartbeat doit appartenir au démon supervisé
if monitored_pid and hb_pid and hb_pid != monitored_pid:
return False
epoch = data.get("epoch", 0)
# Ignorer tout timestamp antérieur au lancement
if epoch < launch_time:
return False
if epoch > 0 and (time.time() - epoch) > MAX_HEARTBEAT_STALE_SEC:
return True
except Exception:
pass
return False
tools/automatiser_classement_produits.py)classement_produits_daemon.log.old, nouveau fichier propre actif.Stop-Process -Id 9208watchdog_classement_produits.pyNouveau PID 3724 opérationnel, zéro erreur au redémarrage.
Test de Stabilité Workflow Architect :
fast_check_daemons.py lors des prochaines pulsations cognitives..old.