docs(formation): module C1, contribuer à Set-OPS

Treize diapositives, lues en ligne, pour les membres certifiés de
l'Alliance : pourquoi l'historique dit qui a écrit, aidé et validé ;
bifurcation et demande de fusion ; commits conventionnels et signés
(DCO) ; outil déclaré par Assisted-by, jamais co-auteur ; journal en
fragments ; commit de fusion et rebase ; ce que le hook refuse ;
aide-mémoire. Source de vérité : CONTRIBUTING.md.

Assisted-by: Claude Code
Signed-off-by: Daniel Allaire <allaire.dan@chezlepro.ca>
This commit is contained in:
Daniel Allaire 2026-11-23 11:21:38 -05:00
parent 909b2cca69
commit b96f7204d6
16 changed files with 236 additions and 0 deletions

View file

@ -0,0 +1,12 @@
## Les contributeurs apprennent le chemin d'un changement avant d'y toucher
Le dépôt public s'ouvre aux membres certifiés de l'Alliance, et la convention de contribution (`CONTRIBUTING.md`) ne s'apprend pas en lisant un refus du hook. Le module C1, « Contribuer à Set-OPS » (`promo/formation/contrib-01/`, 13 diapositives, lu en ligne), explique d'abord pourquoi l'historique doit dire qui a écrit, qui a aidé et qui a validé, puis comment :
- le chemin en huit gestes ;
- la forme d'un commit ;
- la signature DCO et ce qu'elle atteste ;
- un outil déclaré par `Assisted-by`, jamais co-auteur ;
- le journal en fragments ;
- la fusion par commit de fusion, et le rebase ;
- ce que la machine refuse, et un aide-mémoire.
Chaque commande montrée existe dans le dépôt, et le refus cité est la vraie sortie du hook.

View file

@ -132,6 +132,23 @@ la source et l'état copié, et qu'elle est décidée par écrit.
Les cahiers du formateur (`cahiers.py`) ne couvrent que les modules 0 à 12.
## Le parcours contributeur
Un module pour les **membres certifiés de l'Alliance** qui modifient le moteur lui-même : comment
un changement arrive sur `main` du dépôt public, et la forme de chaque commit. Il se lit en ligne,
seul ; les notes (`<aside>`) reprennent chaque diapositive en prose. Sa source de vérité est
[`CONTRIBUTING.md`](../../CONTRIBUTING.md) : une diapositive qui le contredit est à corriger, pas
le guide. Faits relevés le **23 novembre 2026** dans `scripts/verifier_commits.py`,
`scripts/changelog_assembler.py`, `scripts/publier.py` et le `Makefile` (`git-hooks`,
`commits-verifier`, `changelog-assembler`) ; le refus montré est la sortie réelle du hook, abrégée.
| Dossier | Module | Diapositives |
|---|---|---|
| `contrib-01/` | C1 · Contribuer à Set-OPS : bifurcation, demande de fusion, commits conventionnels et signés, outils déclarés, journal en fragments, commit de fusion | 13 |
Même format et même habillage que les autres modules ; le pied de page dit `Module C1`. Les
exemples de personne et de courriel sont fictifs (`Anne Exemple`).
## Avant d'enseigner
- **Module 0** : le parcours professionnel du fondateur reste à écrire (repère `[à compléter]`),

View file

@ -0,0 +1,57 @@
{
"v": 4,
"createdOnFiles": {
"v": 1,
"at": "2026-11-23T12:00:00Z"
},
"lists": "css",
"title": "Set-OPS — Module C1 : Contribuer à Set-OPS",
"order": [
"cover",
"pourquoi",
"ou",
"chemin",
"commit",
"signer",
"outils",
"journal",
"fusion",
"refus",
"jamais",
"memo",
"retenir"
],
"sections": {
"s1": {
"description": "Pourquoi des règles, et où se passe une contribution.",
"start": "cover"
},
"s2": {
"description": "Le chemin, et la forme d’un commit : titre, signature, outils.",
"start": "chemin"
},
"s3": {
"description": "Le journal, la revue, la fusion, et ce que la machine refuse.",
"start": "journal"
},
"s4": {
"description": "Ce qui ne se fait jamais, l’aide-mémoire, et retenir.",
"start": "jamais"
}
},
"faces": {
"source-serif-4": {
"family": "Source Serif 4",
"href": "https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,300..700;1,300..700&display=swap"
},
"ibm-plex-sans": {
"family": "IBM Plex Sans",
"href": "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap"
},
"jetbrains-mono": {
"family": "JetBrains Mono",
"href": "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
}
},
"designSystems": []
}

View file

@ -0,0 +1,11 @@
<section id="chemin" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Le chemin</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Huit gestes, de la branche à la fusion.</h2>
</div>
<div style="display:flex;flex-direction:column;gap:24px"><div style="display:flex;gap:0px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #4FE3C1"><p style="font-size:27px;color:#EEF2F8;font-weight:600">1 · partir de main</p><p style="font-size:22px;line-height:1.35;color:#8592AD">à jour, puis une branche par sujet : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">courriel/srs</span></p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #4FE3C1"><p style="font-size:27px;color:#EEF2F8;font-weight:600">2 · commiter</p><p style="font-size:22px;line-height:1.35;color:#8592AD">de petits commits conformes, <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">git commit -s</span></p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #56C2FF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">3 · noter</p><p style="font-size:22px;line-height:1.35;color:#8592AD">l’entrée du journal dans <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">changelog.d/</span></p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #56C2FF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">4 · vérifier</p><p style="font-size:22px;line-height:1.35;color:#8592AD"><span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make prouver</span>, <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make commits-verifier</span></p></div></div><div style="display:flex;gap:0px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #A98BFF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">5 · nettoyer</p><p style="font-size:22px;line-height:1.35;color:#8592AD"><span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">git rebase -i main</span> : chaque commit restant arrivera sur main</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #A98BFF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">6 · proposer</p><p style="font-size:22px;line-height:1.35;color:#8592AD">pousser sur sa bifurcation, ouvrir la demande de fusion</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #FFC37A"><p style="font-size:27px;color:#EEF2F8;font-weight:600">7 · répondre</p><p style="font-size:22px;line-height:1.35;color:#8592AD">de nouveaux commits ; rebaser si main avance</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #FFC37A"><p style="font-size:27px;color:#EEF2F8;font-weight:600">8 · fusion</p><p style="font-size:22px;line-height:1.35;color:#8592AD">une approbation, la validation du mainteneur, un commit de fusion</p></div></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">La description de la demande dit quoi, pourquoi, avec quelles preuves, ce qui est déjà déployé ou reste à déployer, et le retour arrière.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">04</p>
<aside>Le chemin, en huit gestes. Partez de main à jour, et créez une branche nommée par son sujet. Commitez en petits commits conformes, signés par git commit -s. Écrivez l’entrée du journal dans un fragment, sous changelog.d. Vérifiez : make prouver, et make commits-verifier pour la forme des commits. Nettoyez la branche avant la revue, par un rebase interactif : chaque commit qui reste arrivera tel quel sur main. Poussez sur votre bifurcation et ouvrez la demande ; sa description dit quoi, pourquoi, avec quelles preuves, ce qui est déployé ou reste à déployer, et le retour arrière. Répondez à la revue par de nouveaux commits, et rebasez si main avance. Enfin, la fusion : une approbation, la validation du mainteneur, un commit de fusion.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="commit" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">La forme d’un commit</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Un titre conventionnel, un corps, des signatures.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1.45;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #4FE3C1;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:23px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Un message complet</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">fix(flux): la sonde connectivite mène la poignée TLS</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Une connexion refermée aussitôt faisait écrire</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">une erreur de poignée à chaque serveur TLS.</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Assisted-by: Claude Code</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Signed-off-by: Anne Exemple &lt;anne@exemple.org&gt;</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #56C2FF"><p style="font-size:30px;color:#EEF2F8;font-weight:600">type(portée): description</p><p style="font-size:25px;line-height:1.4;color:#BCC7DA"><b>type</b> : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">feat</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">fix</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">docs</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">test</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">refactor</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">ci</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">chore</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">perf</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">build</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">style</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">revert</span><br><br><b>portée</b> : le domaine touché (courriel, flux, sauvegarde…)<br><br><b>description</b> : en français, ce qui change ; <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">!</span> après le type marque une rupture</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">Le corps dit pourquoi, et ce que la mesure a montré. Les trailers ferment le message : l’aide d’un outil s’il y en a eu, puis la signature de l’auteur.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">05</p>
<aside>La forme d’un commit. Le titre suit les commits conventionnels : un type, une portée entre parenthèses, deux-points, puis une description en français. Les types admis sont feat, fix, docs, test, refactor, ci, chore, perf, build, style et revert. La portée nomme le domaine touché : courriel, flux, sauvegarde. Un point d’exclamation après le type marque une rupture. Le corps explique pourquoi, et ce que la mesure a montré. Le message se ferme sur ses trailers : Assisted-by si un outil a aidé, puis Signed-off-by, la signature de l’auteur.</aside>
</section>

View file

@ -0,0 +1,16 @@
<section id="cover" data-transition="fade" style="background:radial-gradient(ellipse at 80% 0%, #1E2A5A 0%, #0B1022 60%);color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;justify-content:space-between;gap:48px">
<div style="position:absolute;left:0;top:0;width:1920px;height:12px;background:linear-gradient(90deg, #4FE3C1 0%, #56C2FF 50%, #A98BFF 100%)"></div>
<p style="font-size:28px;letter-spacing:4px;text-transform:uppercase;color:#D9B8FF;font-weight:600">Formation Set-OPS · Module C1 · Parcours contributeur</p>
<div style="display:flex;flex-direction:column;gap:32px">
<h1 style="font-family:'Source Serif 4', Georgia, serif;font-size:150px;font-weight:400;line-height:1.05;color:#EEF2F8">Contribuer à Set-OPS</h1>
<p style="font-family:'Source Serif 4', Georgia, serif;font-size:54px;font-style:italic;line-height:1.25;color:#BCC7DA;width:1500px">Un dépôt public, plusieurs mains : un historique qui dit toujours qui a écrit, qui a aidé, qui a validé.</p>
</div>
<div style="display:flex;gap:24px;flex-wrap:wrap">
<p style="font-size:26px;padding:10px 24px;border:1px solid #3A4775;border-radius:40px;color:#BCC7DA">pour les membres certifiés de l’Alliance</p>
<p style="font-size:26px;padding:10px 24px;border:1px solid #3A4775;border-radius:40px;color:#BCC7DA">une demande de fusion par changement</p>
<p style="font-size:26px;padding:10px 24px;border:1px solid #3A4775;border-radius:40px;color:#BCC7DA">chaque commit signé</p>
<p style="font-size:26px;padding:10px 24px;border:1px solid #3A4775;border-radius:40px;color:#BCC7DA">la machine vérifie, une personne approuve</p>
</div>
<p style="position:absolute;left:128px;bottom:64px;width:1300px;font-size:24px;color:#8592AD">Une œuvre de Chezlepro et TechnoLibre, membres de l’Alliance Boréale</p>
<aside>Module C1 : contribuer à Set-OPS. Il s’adresse aux membres certifiés de l’Alliance qui modifient le moteur lui-même : rôles, scripts, documentation. Vous connaissez Git et Set-OPS ; ce module ne les réexplique pas. Il décrit comment un changement arrive sur la branche main du dépôt public, et la forme que doit avoir chaque commit, pour que l’historique dise toujours qui a écrit, qui a aidé et qui a validé. La référence reste le fichier CONTRIBUTING.md, à la racine du dépôt.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="fusion" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Revue et fusion</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Une approbation, une validation, un commit de fusion.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #4FE3C1"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Pour fusionner</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">Une approbation d’une personne autre que l’auteur.<br>La CI passe.<br>Le mainteneur valide, et fusionne par <b>« Créer un commit de fusion »</b> : ni squash, ni rebase à la fusion.</p></div><div style="flex:1.35;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #A98BFF;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:23px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#A98BFF;font-weight:600">Le graphe garde le branchement</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">main ──●────●──────────●── fusion (#12)</p><p style="font-size:23px;color:#EEF2F8;white-space:pre"> \ /</p><p style="font-size:23px;color:#EEF2F8;white-space:pre"> ●──●──●────── courriel/srs</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:23px;color:#8592AD;white-space:pre"># main a avancé pendant la revue :</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git pull --rebase eregion main</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git push --force-with-lease</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">Rebaser, jamais <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">git merge main</span> dans la branche : le graphe ne garde que de vrais branchements. Votre branche n’est qu’à vous jusqu’à la fusion ; ne force-poussez que la vôtre.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">09</p>
<aside>Revue et fusion. Pour fusionner, il faut une approbation d’une personne autre que l’auteur, une CI qui passe, et la validation du mainteneur. Il fusionne par un commit de fusion : ni squash ni rebase au moment de fusionner, si bien que vos commits arrivent tels quels et que le graphe garde la trace de votre branche. Si main avance pendant la revue, rebasez votre branche sur main, puis repoussez avec --force-with-lease ; ne fusionnez jamais main dans votre branche, le graphe ne doit montrer que de vrais branchements. Votre branche n’appartient qu’à vous jusqu’à la fusion : ne force-poussez jamais celle d’un autre.</aside>
</section>

View file

@ -0,0 +1,10 @@
<section id="jamais" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Ce qui ne se fait jamais</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Cinq gestes que rien ne justifie.</h2>
</div>
<div style="display:flex;flex-direction:column;gap:20px"><div style="display:flex;gap:24px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #FF8A8A"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Pousser sur main</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">tout passe par une demande de fusion</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #FF8A8A"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Réécrire ce qui est fusionné</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">on corrige par un nouveau commit</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #FF8A8A"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Mettre un secret dans le dépôt</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">il passe par la voûte, jamais en clair</p></div></div><div style="display:flex;gap:24px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #FF8A8A"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Fusionner sa propre demande</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">sans l’approbation d’une autre personne</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #FF8A8A"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Laisser un outil ou un robot</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">signer, fusionner ou régler la forge</p></div></div></div>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">11</p>
<aside>Cinq gestes que rien ne justifie. Pousser sur main : tout passe par une demande de fusion. Réécrire un historique déjà fusionné : on corrige par un nouveau commit. Mettre un secret dans le dépôt : il passe par la voûte, jamais en clair, et c’est la seule règle du dépôt qui ne se lève pour aucune raison. Fusionner sa propre demande sans l’approbation d’une autre personne. Et laisser un outil ou un robot signer, fusionner ou régler la forge.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="journal" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Le journal</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Votre entrée, dans un fragment.</h2>
</div>
<div style="display:flex;gap:0px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #4FE3C1;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:24px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#4FE3C1;font-weight:600">changelog.d/courriel-srs.md</p><p style="font-size:24px;color:#8592AD;white-space:pre">## Les renvois de Sieve passent par SRS</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">Ce qui a été appris, et la mesure</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">qui l’a tranché.</p></div><div style="display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:200px"><x-shape kind="arrow-right" style="background:#3A4775;width:64px;height:30px"></x-shape><p style="font-size:24px;line-height:1.3;color:#8592AD;text-align:center">juste avant la fusion</p></div><div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #A98BFF;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:24px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#A98BFF;font-weight:600">Daté et numéroté</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">make changelog-assembler</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># en tête de CHANGELOG.md :</p><p style="font-size:24px;color:#8592AD;white-space:pre">## 2026-11-23 (348) — Les renvois</p><p style="font-size:24px;color:#8592AD;white-space:pre">## de Sieve passent par SRS</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">Deux demandes ouvertes ensemble écrivaient chacune en tête du CHANGELOG, avec le même numéro suivant. Le fragment ne porte ni date ni numéro : l’assemblage les donne, sur la branche rebasée, et le résultat se commite.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">08</p>
<aside>Le journal. Chaque changement significatif a son entrée au CHANGELOG ; mais deux demandes ouvertes en même temps y écrivaient chacune en tête du fichier, avec le même numéro suivant, et le conflit était certain. Votre branche écrit donc son entrée dans un fragment, sous changelog.d, avec seulement un titre et un texte : ce qui a été appris, et la mesure qui l’a tranché. Juste avant la fusion, sur la branche rebasée, make changelog-assembler date et numérote les fragments et les place en tête du CHANGELOG. Le résultat se commite sur la branche, par un commit docs(changelog).</aside>
</section>

View file

@ -0,0 +1,10 @@
<section id="memo" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Aide-mémoire</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Toutes les commandes, dans l’ordre.</h2>
</div>
<div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #4FE3C1;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:23px;line-height:1.45"><p style="font-size:23px;color:#8592AD;white-space:pre"># une fois</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git clone &lt;votre bifurcation&gt; &amp;&amp; cd Set-OPS-Public</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git remote add eregion &lt;Alliance-Boreale/Set-OPS-Public&gt;</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">make git-hooks</p><p style="font-size:23px;color:#8592AD;white-space:pre"># chaque changement</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git switch main &amp;&amp; git pull --ff-only eregion main</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git switch -c courriel/srs</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git commit -s # titre conventionnel, Assisted-by si un outil a aidé</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">$EDITOR changelog.d/courriel-srs.md</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">make prouver &amp;&amp; make commits-verifier</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git rebase -i main # nettoyer avant la revue</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git push -u origin courriel/srs # puis la demande de fusion, sur eregion</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">git pull --rebase eregion main &amp;&amp; git push --force-with-lease # si main avance</p></div>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">12</p>
<aside>L’aide-mémoire : toutes les commandes, dans l’ordre. Une fois : cloner votre bifurcation, déclarer le dépôt de l’Alliance sous le nom eregion, activer le hook. Pour chaque changement : partir de main à jour, créer la branche, commiter avec -s, écrire le fragment du journal, vérifier, nettoyer la branche, la pousser sur votre bifurcation et ouvrir la demande de fusion sur eregion. Si main avance pendant la revue : rebaser, puis repousser avec --force-with-lease. Gardez cette diapositive ouverte la première fois.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="ou" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Où</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Votre bifurcation, une demande, main.</h2>
</div>
<div style="display:flex;gap:0px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #4FE3C1"><p style="font-size:27px;color:#EEF2F8;font-weight:600">Votre bifurcation</p><p style="font-size:22px;line-height:1.35;color:#8592AD">votre copie du dépôt sur eregion (<i>fork</i>) ; vos branches y vivent</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #56C2FF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">La demande de fusion</p><p style="font-size:22px;line-height:1.35;color:#8592AD">vers Alliance-Boreale/Set-OPS-Public, branche main</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #A98BFF"><p style="font-size:27px;color:#EEF2F8;font-weight:600">main, sur eregion</p><p style="font-size:22px;line-height:1.35;color:#8592AD">après approbation, la fusion du mainteneur</p></div><div style="display:flex;align-items:center;justify-content:center;width:56px"><x-shape kind="arrow-right" style="background:#3A4775;width:44px;height:24px"></x-shape></div><div style="flex:1;display:flex;flex-direction:column;gap:8px;background:#0B1022;padding:22px 22px;border-radius:16px;border-top:5px solid #FFC37A"><p style="font-size:27px;color:#EEF2F8;font-weight:600">Les forges des sites</p><p style="font-size:22px;line-height:1.35;color:#8592AD">le mainteneur y porte main : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make publier</span></p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">eregion (forge.alliance-boreale.ca) est la porte publique des contributions. La forge de chaque site fait autorité pour le génome : elle ne reçoit que ce qu’eregion a déjà fusionné, et <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make publier</span> refuse le reste. Les dépôts privés des écosystèmes suivent un autre chemin, décrit à part.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">03</p>
<aside>Où se passe une contribution. Vous travaillez dans votre bifurcation, votre copie du dépôt sur eregion, la forge publique de l’Alliance ; vos branches y vivent. Vous ouvrez une demande de fusion vers le dépôt Alliance-Boreale/Set-OPS-Public, branche main. Après approbation, le mainteneur fusionne. Ensuite seulement, il porte main aux forges des sites, par make publier : ce sont elles qui font autorité pour le génome, d’où chaque écosystème se reproduit. Cette commande refuse tout commit qu’eregion n’a pas fusionné. Les dépôts privés des écosystèmes ne passent pas par eregion ; leur chemin est décrit à part.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="outils" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Les outils</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Un outil aide ; il ne signe pas.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #4FE3C1;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:24px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Oui</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">Assisted-by: Claude Code</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">Assisted-by: Codex</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># quand l’outil a produit ou modifié</p><p style="font-size:24px;color:#8592AD;white-space:pre"># significativement le contenu</p></div><div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #FF8A8A;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:24px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#FF8A8A;font-weight:600">Jamais</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">Co-authored-by: Claude …</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># un compte robot qui commite</p><p style="font-size:24px;color:#8592AD;white-space:pre"># ou ouvre une demande de fusion</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># un outil qui fusionne,</p><p style="font-size:24px;color:#8592AD;white-space:pre"># ou qui règle la forge</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px"><span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">Co-authored-by</span> reste permis entre personnes. Vous relisez ce que l’outil a produit, et votre signature dit que vous en répondez. Dans ce dépôt, Claude Code est déjà réglé pour écrire <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">Assisted-by</span> (<span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">.claude/settings.json</span>).</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">07</p>
<aside>Les outils. Un assistant de programmation peut vous aider ; il se déclare alors par Assisted-by, suivi de son nom, quand il a produit ou modifié significativement le contenu. Il n’est jamais co-auteur : la ligne Co-authored-by reste réservée aux personnes. Aucun compte robot ne commite ni n’ouvre de demande de fusion, et aucun outil ne fusionne ni ne règle la forge. Vous relisez ce que l’outil a produit, et votre signature dit que vous en répondez. Dans ce dépôt, Claude Code est déjà réglé pour écrire Assisted-by.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="pourquoi" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Pourquoi des règles</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">L’historique répond à trois questions.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #4FE3C1"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Qui a écrit ?</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">Une personne, auteur du commit, qui le signe : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">Signed-off-by</span>. Elle en répond.</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #56C2FF"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Qui a aidé ?</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">Un outil se déclare : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">Assisted-by</span>. Il n’est jamais auteur, ni co-auteur, ni compte de la forge.</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #A98BFF"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Qui a validé ?</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">Une autre personne approuve ; le mainteneur valide et fusionne, par un commit de fusion.</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">Set-OPS déploie de vraies infrastructures, chez de vrais membres. Chaque ligne qui arrive sur <b>main</b> doit pouvoir être retracée jusqu’à une personne qui en répond, et chaque commit y arrive tel quel.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">02</p>
<aside>Pourquoi ces règles ? Parce que l’historique du dépôt doit répondre à trois questions, sans ambiguïté. Qui a écrit : une personne, auteur du commit, qui le signe par Signed-off-by et en répond. Qui a aidé : quand un outil, un assistant de programmation par exemple, a produit ou modifié le contenu, il se déclare par Assisted-by ; il n’est jamais auteur ni co-auteur, et aucun compte robot n’écrit dans le dépôt. Qui a validé : une autre personne approuve la demande, et le mainteneur valide puis fusionne. Set-OPS déploie de vraies infrastructures : chaque ligne sur main doit pouvoir être retracée jusqu’à quelqu’un. Et comme la fusion se fait par commit de fusion, chaque commit de votre branche arrive tel quel dans l’historique.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="refus" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Ce que la machine refuse</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Le hook refuse avant la revue.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1.5;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #FF8A8A;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:22px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#FF8A8A;font-weight:600">Un vrai refus, abrégé</p><p style="font-size:22px;color:#EEF2F8;white-space:pre">$ git commit -m &quot;courriel : essai&quot;</p><p style="font-size:22px;color:#FF8A8A;white-space:pre">Commit refuse — convention du depot (CONTRIBUTING.md) :</p><p style="font-size:22px;color:#8592AD;white-space:pre"> - titre non conventionnel : « courriel : essai »</p><p style="font-size:22px;color:#8592AD;white-space:pre"> - aucun `Signed-off-by: Nom &lt;courriel&gt;` (DCO)</p><p style="font-size:22px;color:#EEF2F8;white-space:pre"> — `git commit -s`</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #56C2FF"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Les gestes</p><p style="font-size:24px;line-height:1.4;color:#BCC7DA">Activer, une fois par copie :<br><span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make git-hooks</span><br><br>Relire toute la branche :<br><span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">make commits-verifier</span><br><br>Corriger : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">git commit --amend -s</span>, ou <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">git rebase -i main</span> (reword)</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">La CI rejoue la même vérification sur chaque commit d’une demande, et main est protégée : personne n’y pousse, le mainteneur compris.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">10</p>
<aside>Ce que la machine refuse. Activez une fois, dans votre copie, le hook du dépôt : make git-hooks. Il refuse un commit dont le titre n’est pas conventionnel, qui n’a pas de Signed-off-by, ou qui nomme un outil comme co-auteur, et il dit pourquoi ; voici un vrai refus. make commits-verifier relit toute votre branche d’un coup. Pour corriger le dernier commit, git commit --amend -s ; pour un plus ancien, un rebase interactif et l’action reword. La CI rejoue la même vérification sur chaque commit d’une demande, et la branche main est protégée : personne n’y pousse directement, le mainteneur compris.</aside>
</section>

View file

@ -0,0 +1,15 @@
<section id="retenir" data-transition="fade" style="background:linear-gradient(120deg, #4FE3C1 0%, #56C2FF 50%, #A98BFF 100%);color:#04121A;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;justify-content:space-between;gap:40px">
<p style="font-size:28px;letter-spacing:4px;text-transform:uppercase;font-weight:600;color:#04121A">À retenir</p>
<div style="display:flex;flex-direction:column;gap:20px">
<p style="font-family:'Source Serif 4', Georgia, serif;font-size:48px;line-height:1.25;color:#04121A">Chaque changement passe par une demande de fusion ; personne ne pousse sur main.</p>
<p style="font-family:'Source Serif 4', Georgia, serif;font-size:48px;line-height:1.25;color:#04121A">Chaque commit arrive tel quel : un titre conventionnel, et la signature de qui en répond.</p>
<p style="font-family:'Source Serif 4', Georgia, serif;font-size:48px;line-height:1.25;color:#04121A">Un outil se déclare par Assisted-by ; il n’est jamais auteur ni co-auteur.</p>
<p style="font-family:'Source Serif 4', Georgia, serif;font-size:48px;line-height:1.25;color:#04121A">La machine vérifie, une personne approuve, le mainteneur fusionne.</p>
</div>
<div style="display:flex;gap:24px;align-items:center">
<p style="font-size:28px;color:#04121A">La référence</p>
<p style="font-size:32px;font-weight:600;padding:12px 28px;border-radius:40px;background:rgba(4,18,26,0.12);color:#04121A">CONTRIBUTING.md, à la racine du dépôt</p>
</div>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#04121A">13</p>
<aside>Quatre phrases à retenir. Chaque changement passe par une demande de fusion, et personne ne pousse sur main. Chaque commit arrive tel quel dans l’historique : un titre conventionnel, et la signature de la personne qui en répond. Un outil se déclare par Assisted-by ; il n’est jamais auteur ni co-auteur. Et la machine vérifie, une personne approuve, le mainteneur fusionne. La référence, à consulter au moment d’agir, est le fichier CONTRIBUTING.md, à la racine du dépôt.</aside>
</section>

View file

@ -0,0 +1,11 @@
<section id="signer" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Signer</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Signed-off-by : vous en répondez.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #4FE3C1"><p style="font-size:30px;color:#EEF2F8;font-weight:600">Ce que la signature atteste</p><p style="font-size:26px;line-height:1.4;color:#BCC7DA">Le <i>Developer Certificate of Origin</i> (developercertificate.org) : vous avez le droit de soumettre cette contribution sous la licence du dépôt — vous l’avez écrite, ou elle vient d’une source compatible que vous indiquez — et vous acceptez qu’elle reste publique, avec votre signature.</p></div><div style="flex:1;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #56C2FF;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:24px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#56C2FF;font-weight:600">Signer, ou réparer un oubli</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">git commit -s</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># oublié sur le dernier commit</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">git commit --amend -s --no-edit</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:24px;color:#8592AD;white-space:pre"># oublié sur toute la branche</p><p style="font-size:24px;color:#EEF2F8;white-space:pre">git rebase --signoff main</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">La signature est celle de l’auteur du commit : la vérification exige le même courriel. Personne ne retire ni ne modifie la signature d’un autre.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">06</p>
<aside>Signer. Chaque commit porte la ligne Signed-off-by de son auteur : c’est le Developer Certificate of Origin. En signant, vous attestez que vous avez le droit de soumettre cette contribution sous la licence du dépôt, parce que vous l’avez écrite, ou parce qu’elle vient d’une source compatible que vous indiquez, et vous acceptez qu’elle reste publique avec votre signature. git commit -s l’ajoute. Un oubli sur le dernier commit se répare par git commit --amend -s --no-edit ; sur toute la branche, par git rebase --signoff main. La vérification exige la signature de l’auteur du commit, avec le même courriel. Personne ne retire ni ne modifie la signature d’un autre.</aside>
</section>