SPB Git

Repository Public MIT Research preview

S14-F02-planifier-relire-executer.tex 2.9 KB 39 lines latex

1% S14-F02 — Planifier, relire, exécuter par petits pas vérifiés.2% Idée : deux boucles emboîtées. En haut, rien n'est modifié tant que le plan n'a pas été relu par une3% personne (losange ambre). En bas, l'exécution avance un pas à la fois ; chaque pas est suivi des tests,4% puis d'un commit qui devient le point de retour. Un test rouge ne se « répare » pas par-dessus : on5% revient au dernier commit et on refait le pas en plus petit. La session se clôt par une note de passation.6% Schéma conceptuel, indépendant de tout produit. Aucune quantité.7\begin{tikzpicture}[x=1mm, y=1mm]8  % ---------- Rangée du haut : préparer sans modifier ----------9  \node[atlas block, text width=19mm, minimum height=11mm] (exp) at (11.5,41) {\textbf{Explorer}\\ lecture seule};10  \node[atlas block strong, text width=25mm, minimum height=11mm] (plan) at (44,41) {\textbf{Écrire le plan}\\ pas et contrôles};11  \node[atlas gate, text width=17mm] (relu) at (80,41) {Plan relu ?};12  \draw[atlas arrow] (exp) -- (plan);13  \draw[atlas arrow] (plan) -- (relu);14  \draw[atlas arrow hazard] (relu.north) -- (80,50.2) -| (plan.north);15  \node[atlas note, anchor=south, text=atlasHazard] at (62,50.5) {non : corriger le plan, pas le code};16  \node[atlas note, anchor=north west, align=left] at (100,51.5) {Losange : une personne décide.\\ Cadre bleu : l'agent agit.\\ Cadre turquoise : état validé.};17  % ---------- Rangée du bas : exécuter un pas à la fois ----------18  \draw[atlas region] (2.5,0) rectangle (112.6,27);19  \node[atlas tag=atlasMuted, anchor=west] at (30,27) {Pour chaque pas du plan};20  \node[atlas block flow, text width=24mm, minimum height=11mm] (pas) at (18.5,16) {\textbf{Un pas}\\ un changement};21  \node[atlas block flow, text width=20mm, minimum height=11mm] (tests) at (47,16) {\textbf{Tests}\\ toute la suite};22  \node[atlas gate, text width=10mm] (verts) at (71,16) {Verts ?};23  \node[atlas block valid, text width=22.5mm, minimum height=11mm] (commit) at (98,16) {\textbf{Commit}\\ point de retour};24  \draw[atlas arrow] (pas) -- (tests);25  \draw[atlas arrow] (tests) -- (verts);26  \draw[atlas arrow valid] (verts.east) -- (commit.west);27  \node[atlas note, anchor=south] at (82.6,16.4) {oui};28  \draw[atlas arrow] (relu.south) -- (80,31.5) -| (pas.north);29  \node[atlas note, anchor=south west] at (20.5,31.8) {oui : exécuter};30  \draw[atlas arrow hazard] (verts.south) -- (71,6.3) -| (23,10.2);31  \node[atlas note, anchor=south, text=atlasHazard] at (47,6.5) {non : revenir au dernier commit};32  \draw[atlas arrow valid] (commit.south) -- (98,2.2) -| (14,10.2);33  \node[atlas note, anchor=south, text=atlasValid] at (55,2.3) {pas suivant};34  % ---------- Clôture ----------35  \node[atlas block valid, text width=24.5mm, minimum height=11mm] (fin) at (127.7,16) {\textbf{Passation}\\ note écrite};36  \draw[atlas arrow valid] (commit) -- (fin);37  \node[atlas note, anchor=north, align=center] at (127.7,9.3) {après le dernier pas};38\end{tikzpicture}39
Files main
Menu

Theme