71 lines
1.7 KiB
Markdown
71 lines
1.7 KiB
Markdown
# 📋 Plan d'Action : Détection de Workflows
|
|
|
|
## 🎯 Objectif
|
|
|
|
Implémenter la détection de **workflows complets** au lieu de micro-patterns.
|
|
|
|
## 📊 Estimation
|
|
|
|
**Temps total** : 8-10 heures
|
|
**Complexité** : Moyenne-Élevée
|
|
**Impact** : Critique (système inutilisable sans ça)
|
|
|
|
## 🗓️ Planning
|
|
|
|
### Phase 1 : SessionManager (2h)
|
|
|
|
**Objectif** : Segmenter les actions en sessions
|
|
|
|
**Fichier** : `geniusia2/core/session_manager.py`
|
|
|
|
**Fonctionnalités** :
|
|
- Détecter le début/fin de session (timeout, changement fenêtre)
|
|
- Grouper les actions en sessions
|
|
- Sauvegarder les sessions
|
|
|
|
### Phase 2 : WorkflowDetector (4h)
|
|
|
|
**Objectif** : Détecter les workflows répétés
|
|
|
|
**Fichier** : `geniusia2/core/workflow_detector.py`
|
|
|
|
**Fonctionnalités** :
|
|
- Comparer les sessions (DTW ou similarité cosinus)
|
|
- Détecter les répétitions (3+ sessions similaires)
|
|
- Créer des workflows
|
|
|
|
### Phase 3 : WorkflowManager (2h)
|
|
|
|
**Objectif** : Gérer les workflows appris
|
|
|
|
**Fichier** : `geniusia2/core/workflow_manager.py`
|
|
|
|
**Fonctionnalités** :
|
|
- Sauvegarder/charger les workflows
|
|
- Mettre à jour les workflows
|
|
- Lister les workflows
|
|
|
|
### Phase 4 : Intégration (2h)
|
|
|
|
**Objectif** : Intégrer dans le système existant
|
|
|
|
**Fichiers à modifier** :
|
|
- `event_capture.py` - Envoyer actions au WorkflowDetector
|
|
- `orchestrator.py` - Utiliser workflows
|
|
- `suggestion_manager.py` - Suggérer workflows
|
|
|
|
### Phase 5 : Tests (1h)
|
|
|
|
**Objectif** : Valider avec ton workflow OnlyOffice
|
|
|
|
## 🚀 Démarrage
|
|
|
|
**Prêt à commencer ?**
|
|
|
|
Options :
|
|
1. **Tout implémenter maintenant** (8-10h)
|
|
2. **Phase par phase** (2h par session)
|
|
3. **Prototype rapide** (4h, fonctionnel mais basique)
|
|
|
|
**Quelle option préfères-tu ?** 🤔
|