Workflow SDD Mode
Processus SDD Mode
Section intitulée « Processus SDD Mode »Le cycle se lit de haut en bas. Deux points de décision (◇) peuvent renvoyer en arrière ; la fin d’itération reboucle sur l’étape 2.
PROCESSUS AIAD · SDD MODE npx aiad-sdd init → itérations ════════════════════════════════════════════════════════════
┌ 1 · INITIALISATION npx aiad-sdd init · /sdd-init │ → PRD · ARCHITECTURE · AGENT-GUIDE · structure .aiad/ ▼ ┌ 2 · INTENT CAPTURE /sdd-intent │ → Intent Statement archivé (Human Authorship) ▼ ┌ 3 · SPEC WRITING /sdd-spec · /sdd-split │ → SPEC draft · Context Engineering Budget préparé ▼ ◇ 4 · EXECUTION GATE /sdd-gate │ SQS ≥ 4/5 ? │ ├─ non → retour à l'étape 3 (SPEC WRITING) │ └─ oui ↓ ▼ ┌ 5 · DÉVELOPPEMENT AGENT /sdd-exec · /sdd-resume │ → Code + tests ▼ ◇ 6 · VALIDATION /sdd-validate │ Tech · Fonctionnel · Métier · Gouvernance │ ├─ CORRECTIONS / REJET → retour à l'étape 5 │ └─ VALIDÉ ↓ ▼ ┌ 7 · DRIFT LOCK /sdd-drift-check │ → Code + SPEC dans le même PR ▼ ┌ 8 · DÉPLOIEMENT │ → Staging → Prod · Monitoring · Rollback si besoin ▼ ┌ 9 · CONSOLIDATION & RITUELS │ → /aiad-retro · /aiad-intention · /aiad-status │ └──▶ ↩ nouvelle itération (retour à l'étape 2)Détail par étape
Section intitulée « Détail par étape »| Étape | Acteur | Entrées | Sorties | Durée | Dépendances | Commande |
|---|---|---|---|---|---|---|
| 1. Initialisation | PM, Tech Lead, AE | Décision de démarrer, Node.js 18+ | PRD.md, ARCHITECTURE.md, AGENT-GUIDE.md, structure .aiad/ | 3-7 jours | Aucune | npx aiad-sdd init puis /sdd-init |
| 2. Intent Capture | PE + PM | PRD.md validé, user stories priorisées | Intent Statement validé et archivé dans .aiad/intents/ | 15-30 min | Étape 1 complète | /sdd-intent |
| 3. Spec Writing | PE | Intent Statement validé, ARCHITECTURE condensé, AGENT-GUIDE | SPEC draft committée dans .aiad/specs/ | 30-60 min | Intent Statement validé | /sdd-spec, /sdd-split |
| 4. Execution Gate | PE | SPEC draft | SPEC validée (SQS ≥ 4/5), Context Engineering Budget préparé | 15-30 min | SPEC draft générée | /sdd-gate |
| 5. Développement agent | PE | SPEC validée et committée | Code + tests prêts pour validation | 2h - 3 jours | Gate passée | /sdd-exec, /sdd-resume |
| 6. Validation | PE, QA, PM | Code implémenté, tests passants, SPEC | Rapports tech + fonc + métier + gouvernance | 1h - 4h | Implémentation complète | /sdd-validate |
| 7. Drift Lock | PE | Code validé, SPEC de référence | SPEC synchronisée, PR mergeable | 10 min | Validations passées | /sdd-drift-check |
| 8. Déploiement | PE | PR validée et mergée | Application en production, artefacts synchronisés | 30 min - 2h | Drift Lock effectué | — |
| 9. Consolidation & Rituels | Tous | Fin d’itération | AGENT-GUIDE mis à jour, métriques, plan d’amélioration | Variable | ≥ 1 itération complète | /aiad-retro, /aiad-intention, /aiad-status |