@roomi-fields/grillhouse 0.50.3 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +68 -0
  3. package/agents/developpeur.md +1 -1
  4. package/agents/direct.md +1 -1
  5. package/agents/explorateur.md +1 -1
  6. package/agents/questionneur.md +1 -1
  7. package/agents/relecteur.md +1 -1
  8. package/agents/testwriter.md +1 -1
  9. package/cadre/templates/c/package.json +1 -0
  10. package/cadre/templates/cargo/package.json +1 -0
  11. package/cadre/templates/python/package.json +1 -0
  12. package/charte/plan.md +47 -0
  13. package/charte/preuve.md +39 -0
  14. package/charte/superviseur.md +61 -0
  15. package/charte/tests.md +38 -0
  16. package/charte.md +39 -189
  17. package/dist/machine/part-par-sorte.d.ts +16 -0
  18. package/dist/machine/part-par-sorte.js +36 -0
  19. package/dist/machine/part-par-sorte.js.map +1 -0
  20. package/dist/temporal/circuit/appel.js +1 -1
  21. package/dist/temporal/circuit/appel.js.map +1 -1
  22. package/dist/temporal/circuit/client.d.ts +4 -4
  23. package/dist/temporal/circuit/client.js +38 -16
  24. package/dist/temporal/circuit/client.js.map +1 -1
  25. package/dist/temporal/circuit/contrat.d.ts +11 -7
  26. package/dist/temporal/circuit/contrat.js +5 -9
  27. package/dist/temporal/circuit/contrat.js.map +1 -1
  28. package/dist/temporal/circuit/deroule.js +18 -6
  29. package/dist/temporal/circuit/deroule.js.map +1 -1
  30. package/dist/temporal/commande.js +12 -3
  31. package/dist/temporal/commande.js.map +1 -1
  32. package/dist/temporal/installation.d.ts +54 -3
  33. package/dist/temporal/installation.js +187 -17
  34. package/dist/temporal/installation.js.map +1 -1
  35. package/dist/temporal/places/client.d.ts +5 -1
  36. package/dist/temporal/places/client.js +23 -11
  37. package/dist/temporal/places/client.js.map +1 -1
  38. package/docs/ARCHITECTURE.md +23 -2700
  39. package/docs/INTERFACE.md +26 -10
  40. package/docs/architecture/circuit.md +61 -14
  41. package/docs/architecture/entree.md +21 -8
  42. package/docs/architecture/greffon.md +49 -20
  43. package/docs/architecture/installation.md +46 -17
  44. package/docs/architecture/machine.md +79 -39
  45. package/docs/architecture/tests.md +59 -16
  46. package/docs/lexique.md +163 -0
  47. package/hooks/hooks.json +0 -10
  48. package/hooks/register.tsx +92 -4
  49. package/package.json +2 -1
  50. package/scripts/activites.mjs +105 -65
  51. package/scripts/aiguillage.mjs +15 -8
  52. package/scripts/attente-au-tour.mjs +2 -3
  53. package/scripts/attente-de-la-machine.mjs +4 -8
  54. package/scripts/avancement.mjs +12 -8
  55. package/scripts/bilan.mjs +126 -63
  56. package/scripts/bilans-gardes.mjs +37 -0
  57. package/scripts/branche-de-nuit.mjs +2 -2
  58. package/scripts/ci-de-main.mjs +18 -21
  59. package/scripts/circuit.mjs +89 -44
  60. package/scripts/circuits-du-serveur.mjs +5 -5
  61. package/scripts/composants-affectes.mjs +30 -12
  62. package/scripts/composition-des-langages.mjs +5 -3
  63. package/scripts/conformite.mjs +1 -1
  64. package/scripts/consommation-des-passes.mjs +8 -6
  65. package/scripts/copies-finies.mjs +3 -14
  66. package/scripts/depart-du-ticket.d.mts +8 -2
  67. package/scripts/depart-du-ticket.mjs +26 -8
  68. package/scripts/direct.mjs +158 -72
  69. package/scripts/droits.mjs +165 -208
  70. package/scripts/engendres.mjs +3 -14
  71. package/scripts/entree-de-seance.mjs +35 -0
  72. package/scripts/enveloppe/enveloppe.mjs +98 -46
  73. package/scripts/enveloppe/lancer.sh +90 -66
  74. package/scripts/enveloppe/paquets-du-plan.mjs +38 -11
  75. package/scripts/enveloppe/travail-de-la-copie.mjs +192 -3
  76. package/scripts/etapes.mjs +84 -22
  77. package/scripts/faits-du-circuit.mjs +8 -2
  78. package/scripts/grillhouse-maj.mjs +43 -18
  79. package/scripts/groupe-cles.d.mts +15 -0
  80. package/scripts/groupe-cles.mjs +77 -2
  81. package/scripts/init.mjs +9 -2
  82. package/scripts/integration/rejeu.mjs +8 -1
  83. package/scripts/jointure.d.ts +24 -4
  84. package/scripts/langages/c/index.mjs +5 -2
  85. package/scripts/langages/cargo/commandes.mjs +35 -15
  86. package/scripts/langages/cargo/composants.mjs +45 -3
  87. package/scripts/langages/cargo/index.mjs +6 -3
  88. package/scripts/langages/python/commandes.mjs +50 -7
  89. package/scripts/langages/python/index.mjs +5 -2
  90. package/scripts/langages/python/squelette.mjs +2 -1
  91. package/scripts/langages/typescript/chemins-des-tests.mjs +1 -1
  92. package/scripts/langages/typescript/index.mjs +16 -14
  93. package/scripts/langages/typescript/mise-a-jour.mjs +1 -1
  94. package/scripts/langages/typescript/rapports-aux-lignes.mjs +74 -0
  95. package/scripts/langages/typescript/turbo-des-paquets.mjs +151 -38
  96. package/scripts/langages/typescript/verdict.mjs +29 -3
  97. package/scripts/langages/typescript/verifier.mjs +28 -3
  98. package/scripts/langages/typescript/vitest-config/changements.mjs +8 -6
  99. package/scripts/langages/typescript/vitest-config/lances.mjs +15 -32
  100. package/scripts/langages.mjs +54 -4
  101. package/scripts/matieres-lues.mjs +1 -1
  102. package/scripts/mesure/base-de-passe.mjs +32 -90
  103. package/scripts/migrations/serveurs-de-l-index.mjs +79 -0
  104. package/scripts/migrations/suivi-du-superviseur-retire.mjs +56 -0
  105. package/scripts/migrations.mjs +23 -7
  106. package/scripts/nuit.sh +3 -2
  107. package/scripts/paquet.mjs +1 -1
  108. package/scripts/paquets.d.ts +3 -0
  109. package/scripts/paquets.mjs +88 -1
  110. package/scripts/passe-de-la-machine.mjs +109 -36
  111. package/scripts/places-de-la-machine.mjs +81 -29
  112. package/scripts/plafond-de-la-machine.d.mts +2 -5
  113. package/scripts/plafond-de-la-machine.mjs +9 -9
  114. package/scripts/reprise.mjs +42 -13
  115. package/scripts/resultats.mjs +78 -56
  116. package/scripts/retirer-les-copies-finies.mjs +1 -1
  117. package/scripts/seances.mjs +471 -133
  118. package/scripts/services-du-noyau.mjs +9 -1
  119. package/scripts/session-start.sh +22 -7
  120. package/scripts/sortie-de-seance.mjs +70 -0
  121. package/scripts/sortie.mjs +37 -6
  122. package/scripts/sous-commandes.mjs +0 -3
  123. package/scripts/superviseur.mjs +400 -162
  124. package/scripts/tableau.mjs +188 -65
  125. package/scripts/transitions.d.mts +25 -2
  126. package/scripts/transitions.mjs +137 -29
  127. package/scripts/verrous/ecriture-hors-enveloppe.mjs +31 -9
  128. package/skills/codebase-design/DESIGN-IT-TWICE.md +1 -1
  129. package/skills/developpeur/SKILL.md +38 -15
  130. package/skills/direct/SKILL.md +29 -9
  131. package/skills/domain-modeling/GLOSSARY-FORMAT.md +9 -9
  132. package/skills/domain-modeling/SKILL.md +14 -12
  133. package/skills/explorateur/SKILL.md +32 -8
  134. package/skills/grill/SKILL.md +3 -2
  135. package/skills/pitmaster/SKILL.md +80 -50
  136. package/skills/pitmaster/references/cadre.md +1 -1
  137. package/skills/pitmaster/references/consigne-agent.md +12 -11
  138. package/skills/pitmaster/references/tour.md +6 -5
  139. package/skills/relecteur/SKILL.md +13 -6
  140. package/skills/systematic-debugging/SKILL.md +281 -0
  141. package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  142. package/skills/systematic-debugging/condition-based-waiting.md +115 -0
  143. package/skills/systematic-debugging/defense-in-depth.md +122 -0
  144. package/skills/systematic-debugging/find-polluter.sh +72 -0
  145. package/skills/systematic-debugging/root-cause-tracing.md +169 -0
  146. package/skills/testwriter/SKILL.md +37 -31
  147. package/cadre/templates/projet/pitmaster/SUIVI.md +0 -22
  148. package/scripts/attente-a-l-arret.mjs +0 -114
  149. package/scripts/verrous/commande.mjs +0 -214
  150. package/scripts/verrous/verrou.mjs +0 -311
@@ -11,7 +11,15 @@
11
11
  // What the core asks of a module, and the boundary: docs/architecture/tests.md §3.3 and §3.5.
12
12
  import { fileURLToPath } from 'node:url';
13
13
 
14
- export * from './langages.mjs';
14
+ // `generateursDe`, which the update alone reads, stays inside the core.
15
+ export {
16
+ LANGAGES,
17
+ langage,
18
+ langageDe,
19
+ langageDeLaCopie,
20
+ langagesDe,
21
+ langagesDeclares,
22
+ } from './langages.mjs';
15
23
 
16
24
  // The services of the core to a module of language: the plan of an envelope, the progress of a
17
25
  // pass and its measure, the tasks of the graph of the packages, the base of a pass, the pressure of the machine, its place and its lock, the last
@@ -27,10 +27,15 @@
27
27
  # temporal perime`) joins « Manque » with `npx grillhouse temporal installer`. An agent's copy
28
28
  # does not read it.
29
29
  #
30
- # The supervisor (scripts/superviseur.mjs): the session takes the lock of its repository; when its
31
- # opening takes it (not when it keeps it) it receives « Les questions des circuits » then « Les
32
- # circuits du dépôt »; a second session while the first lives receives first « Un autre
33
- # superviseur tient ce dépôt ». An agent's copy takes nothing and receives nothing.
30
+ # - The group (scripts/groupe-cles.mjs, `lignesDuGroupe`): each path of `grillhouse.groupe` that
31
+ # leads to no project of the frame, and each other fault of the key, in one line that names the
32
+ # key and the path. An agent's copy does not read it.
33
+ #
34
+ # The supervisor (scripts/superviseur.mjs, given the `source` of the hook's input): the session
35
+ # takes the lock of its repository; when its opening takes it, and after a /clear of the session
36
+ # that holds it, it receives « Les questions des circuits », « Les circuits du dépôt » and the note
37
+ # of resumption; a second session while the first lives receives first « Un autre superviseur tient
38
+ # ce dépôt ». An agent's copy takes nothing and receives nothing.
34
39
  #
35
40
  # A session of a role of the frame (`claude --agent <rôle>`: the hook's input names it,
36
41
  # `agent_type`, bare or `grillhouse:<rôle>`, and the plugin defines it,
@@ -43,11 +48,12 @@ root="${CLAUDE_PROJECT_DIR:-$PWD}"
43
48
  ici="$(cd "$(dirname "$0")" && pwd)"
44
49
  entree=
45
50
  [ -t 0 ] || entree="$(cat)"
46
- role="$(printf '%s' "$entree" | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{try{const a=JSON.parse(s).agent_type;if(typeof a==="string"&&/^[A-Za-z0-9_:-]+$/.test(a))process.stdout.write(a)}catch{}})' 2>/dev/null)"
51
+ role= origine=
52
+ { read -r role; read -r origine; } < <(printf '%s' "$entree" | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{let e={};try{e=JSON.parse(s)}catch{}for(const v of [e?.agent_type,e?.source])console.log(typeof v==="string"&&/^[A-Za-z0-9_:-]+$/.test(v)?v:"")})' 2>/dev/null)
47
53
  role="${role#grillhouse:}"
48
54
  [ -n "$role" ] && [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && [ -f "$CLAUDE_PLUGIN_ROOT/agents/$role.md" ] && exit 0
49
55
  # One supervisor per project: the lock of the repository, or the section that says who holds it.
50
- superviseur="$(node "$ici/superviseur.mjs" "$root" 2>/dev/null)"
56
+ superviseur="$(node "$ici/superviseur.mjs" "$root" "$origine" 2>/dev/null)"
51
57
  [ -z "$superviseur" ] || echo "$superviseur"
52
58
  # The published version that leads the repository (grillhouse.outil), when it cannot be installed:
53
59
  # the orchestration runs on the code of the repository, which the session is told
@@ -123,6 +129,14 @@ while IFS= read -r crochet; do
123
129
  done < <(node "$ici/crochets.mjs" --absents "$root" 2>/dev/null)
124
130
  command -v bwrap >/dev/null || missing+=("bubblewrap (bwrap), l'enveloppe des agents : sudo apt install bubblewrap")
125
131
 
132
+ # The paths of grillhouse.groupe that lead to no project of the frame.
133
+ groupe=
134
+ [ -n "$copie_agent" ] || groupe="$(node --input-type=module -e '
135
+ const { pathToFileURL } = await import("node:url");
136
+ const { lignesDuGroupe } = await import(pathToFileURL(process.argv[1]).href);
137
+ process.stdout.write(lignesDuGroupe(process.argv[2]).join("\n"));
138
+ ' "$ici/groupe-cles.mjs" "$root" 2>/dev/null)"
139
+
126
140
  # The key elements the skills read; each one still empty is proposed for a grill.
127
141
  pending=()
128
142
  # Whether the document <$1> holds a field <…> of its template, outside code spans.
@@ -222,7 +236,7 @@ fi
222
236
  # An epic is a chantier, at the root: one with a mother is a mother ticket typed by mistake.
223
237
  epopees="$(cd "$root" && bd list --type epic --all --json --limit 0 2>/dev/null | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{try{process.stdout.write(JSON.parse(s).filter(t=>t.parent).map(t=>t.id).join(" "))}catch{}})')"
224
238
 
225
- [ ${#missing[@]} -eq 0 ] && [ ${#pending[@]} -eq 0 ] && [ ${#wiring[@]} -eq 0 ] && [ -z "$nuit_en_table" ] && [ -z "$epopees" ] && [ -z "${inconnus:-}" ] && [ -z "${ecart_versions:-}" ] && exit 0
239
+ [ ${#missing[@]} -eq 0 ] && [ ${#pending[@]} -eq 0 ] && [ ${#wiring[@]} -eq 0 ] && [ -z "$nuit_en_table" ] && [ -z "$epopees" ] && [ -z "${inconnus:-}" ] && [ -z "${ecart_versions:-}" ] && [ -z "$groupe" ] && exit 0
226
240
 
227
241
  echo "## Éléments du projet à définir (Roomi's Grillhouse)"
228
242
  if [ ${#missing[@]} -gt 0 ]; then
@@ -246,4 +260,5 @@ if [ -n "${inconnus:-}" ]; then
246
260
  echo "docs/agents/hors-cadre.txt nomme un dossier absent de packages/ et de src/ : $inconnus. Corrige la ligne (faute de frappe) ou retire-la : un nom sans dossier n'écarte rien."
247
261
  fi
248
262
  [ -n "${ecart_versions:-}" ] && echo "$ecart_versions"
263
+ [ -z "$groupe" ] || echo "$groupe"
249
264
  exit 0
@@ -0,0 +1,70 @@
1
+ // What a role session leaves of its output stream (claude's `--output-format stream-json`), read
2
+ // by both launchers once claude ends (scripts/seances.mjs out of the envelope,
3
+ // scripts/enveloppe/lancer.sh in it). A message of the stream is a line that holds a JSON object
4
+ // with a `type`. The result of the session is the line `type: result` alone: its sheet, the refusal
5
+ // of the API key and the usage limit are read there. The ticket's log takes that line and, as they
6
+ // are, the lines that are no message; the other messages stay in the transcript of the session.
7
+ // Without a result, the log takes after them the text of the last `assistant` message, where a
8
+ // usage limit said there is read at its end; the result of a tool, which may quote such a limit,
9
+ // never enters it. Architecture: docs/architecture/machine.md (§3.2).
10
+ //
11
+ // node sortie-de-seance.mjs <flux> <résultat>
12
+ //
13
+ // writes the result of the stream read in the file <flux> into <résultat> (empty without one), and
14
+ // the lines of the log on its standard output.
15
+ import { readFileSync, writeFileSync } from 'node:fs';
16
+ import { pathToFileURL } from 'node:url';
17
+
18
+ // The message the line holds, or null for a line that is none.
19
+ function messageDe(ligne) {
20
+ try {
21
+ const m = JSON.parse(ligne);
22
+ return typeof m?.type === 'string' ? m : null;
23
+ } catch {
24
+ return null;
25
+ }
26
+ }
27
+
28
+ const texteDe = message =>
29
+ (Array.isArray(message.message?.content) ? message.message.content : [])
30
+ .filter(bloc => bloc.type === 'text')
31
+ .map(bloc => bloc.text)
32
+ .join('\n');
33
+
34
+ /**
35
+ * The stream `flux` sorted: `resultat`, its line `type: result` (the last one), empty without one;
36
+ * `journal`, the lines the ticket's log takes.
37
+ */
38
+ export function trierLeFlux(flux) {
39
+ const lignes = flux.split('\n');
40
+ if (lignes.at(-1) === '') {
41
+ lignes.pop();
42
+ }
43
+ const journal = [];
44
+ let resultat = '';
45
+ let dernier = null;
46
+ for (const ligne of lignes) {
47
+ const message = messageDe(ligne);
48
+ if (message?.type === 'result') {
49
+ resultat = ligne;
50
+ }
51
+ if (message?.type === 'assistant') {
52
+ dernier = message;
53
+ }
54
+ if (!message || message.type === 'result') {
55
+ journal.push(ligne);
56
+ }
57
+ }
58
+ const dit = !resultat && dernier ? texteDe(dernier) : '';
59
+ if (dit) {
60
+ journal.push(dit);
61
+ }
62
+ return { resultat, journal };
63
+ }
64
+
65
+ if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) {
66
+ const [flux, fichier] = process.argv.slice(2);
67
+ const { resultat, journal } = trierLeFlux(readFileSync(flux, 'utf8'));
68
+ writeFileSync(fichier, resultat ? `${resultat}\n` : '');
69
+ process.stdout.write(journal.map(l => `${l}\n`).join(''));
70
+ }
@@ -3,7 +3,8 @@
3
3
  // §5.4): a release of Grillhouse, its package npm, which carries the frame's plugin: Grillhouse's own
4
4
  // script, which no project runs (`grillhouse init` installs the template of a project alone).
5
5
  //
6
- // npx grillhouse sortie <x.y.z> the release's files: the package's package.json, packages/grillhouse/CHANGELOG.md
6
+ // npx grillhouse sortie <x.y.z> the release's files: the package's package.json, packages/grillhouse/CHANGELOG.md,
7
+ // the migrations it numbers
7
8
  // npx grillhouse sortie --etiqueter the annotated tag v<version> on HEAD, the release commit
8
9
  // and the gesture that leads Grillhouse with it once published
9
10
  // npx grillhouse sortie --verifier-etiquette <v> exits 0 when the tag <v> names the version of the package
@@ -17,6 +18,9 @@
17
18
  // other fields kept, and dates the changelog: « ## [Unreleased] » becomes « ## [<x.y.z>] - <today> » and an
18
19
  // empty « ## [Unreleased] » opens above it. A release with nothing under « [Unreleased] » is
19
20
  // refused. Nothing is written when a check fails.
21
+ // - Preparing numbers each migration not released yet (`export const version = null;`, under
22
+ // scripts/migrations/ and scripts/langages/*/migrations/ of the package, scripts/migrations.mjs)
23
+ // with the version given.
20
24
  // - Tagging creates the annotated tag `v<version>` on HEAD, once the release commit is made and
21
25
  // the working tree holds no change. Nothing is pushed: the owner validates the push, whose
22
26
  // command the script names; `.github/workflows/release.yml` then calls the CI on the tagged
@@ -30,7 +34,7 @@
30
34
  // installs the version published last. `--entree-du-marche` prints it; the owner sets it in that
31
35
  // repository once the package is published, a public gesture this script does not make.
32
36
  import { execFileSync } from 'node:child_process';
33
- import { readFileSync, writeFileSync } from 'node:fs';
37
+ import { existsSync, readdirSync, readFileSync, writeFileSync } from 'node:fs';
34
38
  import path from 'node:path';
35
39
  import { pathToFileURL } from 'node:url';
36
40
 
@@ -43,6 +47,9 @@ export const ENTREE_DU_MARCHE = {
43
47
  };
44
48
  const CHANGELOG = 'packages/grillhouse/CHANGELOG.md';
45
49
  const OUVERTE = '## [Unreleased]\n';
50
+ const SCRIPTS = 'packages/grillhouse/scripts';
51
+ // The line of a migration not released yet.
52
+ const SANS_VERSION = /^export const version = null;$/m;
46
53
  const SEMVER = /^(\d+)\.(\d+)\.(\d+)$/;
47
54
 
48
55
  const lire = (racine, f) => readFileSync(path.join(racine, f), 'utf8');
@@ -70,7 +77,23 @@ const audessus = (a, b) => {
70
77
  return false;
71
78
  };
72
79
 
73
- // Writes the release <version> of Grillhouse at <racine>, dated <date> (YYYY-MM-DD).
80
+ // The migrations of the package at <racine> that have no version yet, from the root.
81
+ function migrationsASortir(racine) {
82
+ const lister = dossier =>
83
+ existsSync(path.join(racine, dossier))
84
+ ? readdirSync(path.join(racine, dossier), { withFileTypes: true })
85
+ : [];
86
+ const langages = lister(`${SCRIPTS}/langages`)
87
+ .filter(e => e.isDirectory())
88
+ .map(e => `${SCRIPTS}/langages/${e.name}/migrations`);
89
+ return [`${SCRIPTS}/migrations`, ...langages]
90
+ .flatMap(d => lister(d).map(e => `${d}/${e.name}`))
91
+ .filter(f => f.endsWith('.mjs') && SANS_VERSION.test(lire(racine, f)))
92
+ .sort();
93
+ }
94
+
95
+ // Writes the release <version> of Grillhouse at <racine>, dated <date> (YYYY-MM-DD); returns the
96
+ // migrations it numbered.
74
97
  export function preparerSortie(racine, version, date) {
75
98
  const actuelle = versionDuCadre(racine);
76
99
  const neuve = rang(version);
@@ -97,6 +120,14 @@ export function preparerSortie(racine, version, date) {
97
120
  path.join(racine, CHANGELOG),
98
121
  `${journal.slice(0, debut + 1)}${OUVERTE}\n## [${version}] - ${date}\n${corps}`
99
122
  );
123
+ const migrations = migrationsASortir(racine);
124
+ for (const f of migrations) {
125
+ writeFileSync(
126
+ path.join(racine, f),
127
+ lire(racine, f).replace(SANS_VERSION, `export const version = '${version}';`)
128
+ );
129
+ }
130
+ return migrations;
100
131
  }
101
132
 
102
133
  // Creates the annotated tag of the release at <racine> on HEAD, and returns its name; <git> runs
@@ -136,7 +167,7 @@ export function suiteDeLaSortie(etiquette) {
136
167
  }
137
168
 
138
169
  const USAGE =
139
- 'Usage : npx grillhouse sortie <x.y.z> prépare la sortie (package.json du paquet, CHANGELOG.md)\n' +
170
+ 'Usage : npx grillhouse sortie <x.y.z> prépare la sortie (package.json du paquet, CHANGELOG.md, migrations sans version)\n' +
140
171
  " npx grillhouse sortie --etiqueter pose l'étiquette v<version> sur le commit de sortie\n" +
141
172
  " npx grillhouse sortie --verifier-etiquette <v> vérifie que l'étiquette <v> nomme la version du paquet\n" +
142
173
  ' npx grillhouse sortie --entree-du-marche écrit l’entrée du greffon dans la place de marché roomi-fields\n';
@@ -164,9 +195,9 @@ if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) {
164
195
  } else if (args.length === 2 && args[0] === '--verifier-etiquette') {
165
196
  verifierEtiquette(racine, args[1]);
166
197
  } else if (args.length === 1 && !args[0].startsWith('-')) {
167
- preparerSortie(racine, args[0], aujourdhui());
198
+ const migrations = preparerSortie(racine, args[0], aujourdhui());
168
199
  process.stdout.write(
169
- `Sortie ${args[0]} préparée : ${PAQUET}, ${CHANGELOG}. ` +
200
+ `Sortie ${args[0]} préparée : ${[PAQUET, CHANGELOG, ...migrations].join(', ')}. ` +
170
201
  `Le commit de sortie, puis : npx grillhouse sortie --etiqueter\n`
171
202
  );
172
203
  } else {
@@ -36,12 +36,10 @@ const SCRIPTS = path.dirname(fileURLToPath(import.meta.url));
36
36
  // Each subcommand and its script, under `scripts/`, or the command of the module of the language
37
37
  // that runs it (`{ langage }`, its name in `commandes`).
38
38
  export const SOUS_COMMANDES = {
39
- 'attente-a-l-arret': 'attente-a-l-arret.mjs',
40
39
  'attente-au-tour': 'attente-au-tour.mjs',
41
40
  bilan: 'bilan.mjs',
42
41
  binaires: 'binaires.mjs',
43
42
  circuit: '../dist/temporal/circuit/commande.js',
44
- commande: 'verrous/commande.mjs',
45
43
  'composants-affectes': 'composants-affectes.mjs',
46
44
  consommation: 'consommation.mjs',
47
45
  'dependances-internes': 'dependances-internes.mjs',
@@ -84,7 +82,6 @@ export const SOUS_COMMANDES = {
84
82
  ticket: 'ticket.mjs',
85
83
  'ticket-du-sous-agent': 'verrous/ticket-du-sous-agent.mjs',
86
84
  verifier: { langage: 'verifier' },
87
- verrou: 'verrous/verrou.mjs',
88
85
  'verrou-hors-enveloppe': 'verrous/ecriture-hors-enveloppe.mjs',
89
86
  };
90
87