Bienvenue
flowchart TD
A[Besoin exprimé (Revolt)] --> B[Clarification rapide (Q/R Revolt)]
B --> C[Créer Issue GitLab<br/>(description + critères + priorité)]
C -->|Issue prête (DoR)| D[Planification / Priorisation (Board GitLab)]
C -->|Non prête| C1[Affiner l'Issue<br/>(contexte, hypothèses, données test)]
C1 --> C
D --> E[Créer branche feature (Git)]
E --> F[Développement (IDE)]
F --> G[Commit/Push -> MR ouverte (GitLab)]
%% Parallel review & CI
G --> H1[Revue de code par pairs]
G --> H2[CI: Lint + Unit + Intégration + SAST + Deps Scan]
H1 --> I[Review & CI OK ?]
H2 --> I
I -->|Oui| J[Merge vers branche principale protégée]
I -->|Non| I1[Corrections code/tests/config]
I1 --> G
J --> K[Tag version (SemVer) & génération changelog]
K --> L[Déploiement Staging (CI/CD)]
L --> M[Tests exploratoires / UAT (utilisateur/PO)]
M -->|UAT OK| N[Déploiement Prod (CI/CD, fenêtre contrôlée)]
M -->|UAT KO| M1[Retour dev (correctifs)]
M1 --> L
N --> O[Monitoring & Alerting (logs, métriques, traces)]
O --> P[Collecte feedback (Revolt) -> Améliorations]