@roomi-fields/grillhouse 0.29.0 → 0.31.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 (263) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +769 -0
  3. package/agents/developpeur.md +0 -1
  4. package/agents/explorateur.md +0 -1
  5. package/agents/questionneur.md +0 -1
  6. package/agents/testwriter.md +0 -1
  7. package/bin/grillhouse.mjs +79 -18
  8. package/cadre/templates/projet/.github/workflows/ci.yml +2 -13
  9. package/cadre/templates/projet/CLAUDE.md +5 -1
  10. package/cadre/templates/projet/docs/agents/issue-tracker.md +1 -1
  11. package/cadre/templates/projet/package.json +2 -2
  12. package/charte.md +24 -0
  13. package/dist/temporal/acte.d.ts +24 -0
  14. package/dist/temporal/acte.js +139 -0
  15. package/dist/temporal/acte.js.map +1 -0
  16. package/dist/temporal/attributs.d.ts +6 -0
  17. package/dist/temporal/attributs.js +15 -0
  18. package/dist/temporal/attributs.js.map +1 -0
  19. package/dist/temporal/circuit/activites.d.ts +13 -0
  20. package/dist/temporal/circuit/activites.js +33 -0
  21. package/dist/temporal/circuit/activites.js.map +1 -0
  22. package/dist/temporal/circuit/client.d.ts +72 -0
  23. package/dist/temporal/circuit/client.js +247 -0
  24. package/dist/temporal/circuit/client.js.map +1 -0
  25. package/dist/temporal/circuit/commande.d.ts +2 -0
  26. package/dist/temporal/circuit/commande.js +238 -0
  27. package/dist/temporal/circuit/commande.js.map +1 -0
  28. package/dist/temporal/circuit/contrat.d.ts +305 -0
  29. package/dist/temporal/circuit/contrat.js +30 -0
  30. package/dist/temporal/circuit/contrat.js.map +1 -0
  31. package/dist/temporal/circuit/deroule.d.ts +3 -0
  32. package/dist/temporal/circuit/deroule.js +540 -0
  33. package/dist/temporal/circuit/deroule.js.map +1 -0
  34. package/dist/temporal/client.d.ts +47 -0
  35. package/dist/temporal/client.js +69 -0
  36. package/dist/temporal/client.js.map +1 -0
  37. package/dist/temporal/commande.d.ts +2 -0
  38. package/dist/temporal/commande.js +94 -0
  39. package/dist/temporal/commande.js.map +1 -0
  40. package/dist/temporal/deroules.d.ts +5 -0
  41. package/dist/temporal/deroules.js +10 -0
  42. package/dist/temporal/deroules.js.map +1 -0
  43. package/dist/temporal/etat.d.ts +33 -0
  44. package/dist/temporal/etat.js +59 -0
  45. package/dist/temporal/etat.js.map +1 -0
  46. package/dist/temporal/file/activites.d.ts +10 -0
  47. package/dist/temporal/file/activites.js +25 -0
  48. package/dist/temporal/file/activites.js.map +1 -0
  49. package/dist/temporal/file/client.d.ts +4 -0
  50. package/dist/temporal/file/client.js +6 -0
  51. package/dist/temporal/file/client.js.map +1 -0
  52. package/dist/temporal/file/contrat.d.ts +158 -0
  53. package/dist/temporal/file/contrat.js +14 -0
  54. package/dist/temporal/file/contrat.js.map +1 -0
  55. package/dist/temporal/file/deroule.d.ts +15 -0
  56. package/dist/temporal/file/deroule.js +235 -0
  57. package/dist/temporal/file/deroule.js.map +1 -0
  58. package/dist/temporal/installation.d.ts +120 -0
  59. package/dist/temporal/installation.js +386 -0
  60. package/dist/temporal/installation.js.map +1 -0
  61. package/dist/temporal/places/activites.d.ts +8 -0
  62. package/dist/temporal/places/activites.js +13 -0
  63. package/dist/temporal/places/activites.js.map +1 -0
  64. package/dist/temporal/places/client.d.ts +28 -0
  65. package/dist/temporal/places/client.js +64 -0
  66. package/dist/temporal/places/client.js.map +1 -0
  67. package/dist/temporal/places/contrat.d.ts +106 -0
  68. package/dist/temporal/places/contrat.js +21 -0
  69. package/dist/temporal/places/contrat.js.map +1 -0
  70. package/dist/temporal/places/deroule.d.ts +3 -0
  71. package/dist/temporal/places/deroule.js +198 -0
  72. package/dist/temporal/places/deroule.js.map +1 -0
  73. package/dist/temporal/sonde/activites.d.ts +6 -0
  74. package/dist/temporal/sonde/activites.js +52 -0
  75. package/dist/temporal/sonde/activites.js.map +1 -0
  76. package/dist/temporal/sonde/contrat.d.ts +35 -0
  77. package/dist/temporal/sonde/contrat.js +10 -0
  78. package/dist/temporal/sonde/contrat.js.map +1 -0
  79. package/dist/temporal/sonde/deroule.d.ts +3 -0
  80. package/dist/temporal/sonde/deroule.js +39 -0
  81. package/dist/temporal/sonde/deroule.js.map +1 -0
  82. package/dist/temporal/tickets/activites.d.ts +7 -0
  83. package/dist/temporal/tickets/activites.js +81 -0
  84. package/dist/temporal/tickets/activites.js.map +1 -0
  85. package/dist/temporal/tickets/client.d.ts +10 -0
  86. package/dist/temporal/tickets/client.js +31 -0
  87. package/dist/temporal/tickets/client.js.map +1 -0
  88. package/dist/temporal/tickets/contrat.d.ts +56 -0
  89. package/dist/temporal/tickets/contrat.js +13 -0
  90. package/dist/temporal/tickets/contrat.js.map +1 -0
  91. package/dist/temporal/tickets/deroule.d.ts +3 -0
  92. package/dist/temporal/tickets/deroule.js +94 -0
  93. package/dist/temporal/tickets/deroule.js.map +1 -0
  94. package/dist/temporal/travailleur.d.ts +2 -0
  95. package/dist/temporal/travailleur.js +69 -0
  96. package/dist/temporal/travailleur.js.map +1 -0
  97. package/docs/ARCHITECTURE.md +646 -87
  98. package/docs/CADRE.md +27 -0
  99. package/docs/INTERFACE.md +139 -42
  100. package/hooks/crochet.mjs +19 -2
  101. package/hooks/hooks.json +11 -0
  102. package/package.json +16 -4
  103. package/scripts/activites.mjs +2255 -0
  104. package/scripts/aiguillage.d.mts +37 -0
  105. package/scripts/aiguillage.mjs +40 -14
  106. package/scripts/avancement.mjs +155 -26
  107. package/scripts/bilan.mjs +137 -43
  108. package/scripts/cadre.mjs +16 -4
  109. package/scripts/circuit.mjs +993 -4075
  110. package/scripts/circuits-cles.d.mts +4 -0
  111. package/scripts/circuits-cles.mjs +21 -0
  112. package/scripts/circuits-du-serveur.mjs +105 -0
  113. package/scripts/codes-de-sortie.mjs +9 -0
  114. package/scripts/commandes-composees.mjs +45 -41
  115. package/scripts/commandes-du-path.d.mts +7 -0
  116. package/scripts/commandes-du-path.mjs +25 -0
  117. package/scripts/composants-affectes.mjs +64 -21
  118. package/scripts/composition-des-langages.mjs +18 -12
  119. package/scripts/conformite.mjs +56 -28
  120. package/scripts/copies-finies.mjs +52 -47
  121. package/scripts/depart-du-ticket.d.mts +53 -0
  122. package/scripts/depart-du-ticket.mjs +124 -0
  123. package/scripts/dependances-internes.mjs +121 -0
  124. package/scripts/dernier-vert.mjs +61 -34
  125. package/scripts/dette.mjs +32 -11
  126. package/scripts/donnees-cles.mjs +244 -0
  127. package/scripts/droits.mjs +51 -16
  128. package/scripts/effets.mjs +352 -0
  129. package/scripts/empreinte-d-etape.mjs +17 -0
  130. package/scripts/engendres.mjs +15 -5
  131. package/scripts/enveloppe/enveloppe.mjs +259 -55
  132. package/scripts/enveloppe/lancer.sh +14 -18
  133. package/scripts/enveloppe/paquets-du-plan.mjs +2 -2
  134. package/scripts/enveloppe/travail-de-la-copie.mjs +41 -13
  135. package/scripts/etapes.mjs +5 -2
  136. package/scripts/faits-du-circuit.mjs +493 -0
  137. package/scripts/file-des-tickets.d.mts +21 -0
  138. package/scripts/file-des-tickets.mjs +58 -0
  139. package/scripts/flux-des-paquets.mjs +201 -0
  140. package/scripts/gardes-du-cadre.mjs +21 -5
  141. package/scripts/init.mjs +11 -4
  142. package/scripts/integration/file.mjs +544 -434
  143. package/scripts/integration/integrer.mjs +87 -43
  144. package/scripts/integration/rejeu.mjs +45 -13
  145. package/scripts/jointure.d.ts +151 -28
  146. package/scripts/langages/cargo/commandes.mjs +383 -124
  147. package/scripts/langages/cargo/composants.mjs +154 -42
  148. package/scripts/langages/cargo/exemples.mjs +12 -21
  149. package/scripts/langages/cargo/index.mjs +22 -8
  150. package/scripts/langages/cargo/sccache.mjs +8 -14
  151. package/scripts/langages/cargo/tests-de-head.mjs +25 -9
  152. package/scripts/langages/python/commandes.mjs +218 -100
  153. package/scripts/langages/python/composants.mjs +53 -21
  154. package/scripts/langages/python/exemples.mjs +6 -16
  155. package/scripts/langages/python/index.mjs +28 -8
  156. package/scripts/langages/python/lot.mjs +1 -36
  157. package/scripts/langages/typescript/chemins-des-tests.mjs +6 -2
  158. package/scripts/langages/typescript/composants.mjs +9 -3
  159. package/scripts/langages/typescript/consommateurs-arbitres.mjs +40 -14
  160. package/scripts/langages/typescript/consommateurs.mjs +39 -14
  161. package/scripts/langages/typescript/construire.mjs +6 -163
  162. package/scripts/langages/typescript/elements-du-lot.mjs +36 -12
  163. package/scripts/langages/typescript/exemples.mjs +3 -11
  164. package/scripts/langages/typescript/frontieres.mjs +66 -22
  165. package/scripts/langages/typescript/index-interfaces.mjs +36 -13
  166. package/scripts/langages/typescript/index.mjs +50 -61
  167. package/scripts/langages/typescript/interfaces-contre-code.mjs +113 -45
  168. package/scripts/langages/typescript/lecteurs.mjs +36 -11
  169. package/scripts/langages/typescript/migrations/0.23.0-config-vitest.mjs +15 -5
  170. package/scripts/langages/typescript/migrations/0.25.0-chemins-des-tests.mjs +6 -2
  171. package/scripts/langages/typescript/migrations/0.25.0-tailles-des-tests.mjs +6 -2
  172. package/scripts/langages/typescript/migrations/0.30.0-prefixe-des-tickets.mjs +63 -0
  173. package/scripts/langages/typescript/migrations/0.30.0-tailles-des-outils-lourds.mjs +33 -0
  174. package/scripts/langages/typescript/migrations/0.30.0-titres-nommant-un-ticket.mjs +40 -0
  175. package/scripts/langages/typescript/mise-a-jour.mjs +1 -2
  176. package/scripts/langages/typescript/parcours.mjs +12 -4
  177. package/scripts/langages/typescript/regle-des-tests.mjs +9 -3
  178. package/scripts/langages/typescript/resumes.mjs +9 -3
  179. package/scripts/langages/typescript/tailles-des-tests.mjs +93 -20
  180. package/scripts/langages/typescript/tests-de-nuit.mjs +15 -10
  181. package/scripts/langages/typescript/tests.mjs +40 -15
  182. package/scripts/langages/typescript/titres-de-tests.mjs +320 -0
  183. package/scripts/langages/typescript/turbo-des-paquets.mjs +327 -81
  184. package/scripts/langages/typescript/verdict.mjs +4 -2
  185. package/scripts/langages/typescript/verifier.mjs +58 -20
  186. package/scripts/langages/typescript/vitest-config/avancement.reporter.mjs +15 -5
  187. package/scripts/langages/typescript/vitest-config/base.mjs +29 -3
  188. package/scripts/langages/typescript/vitest-config/bornes.mjs +13 -0
  189. package/scripts/langages/typescript/vitest-config/changements.mjs +21 -8
  190. package/scripts/langages/typescript/vitest-config/cibles.mjs +36 -14
  191. package/scripts/langages/typescript/vitest-config/delais.mjs +60 -0
  192. package/scripts/langages/typescript/vitest-config/delais.setup.mjs +11 -0
  193. package/scripts/langages/typescript/vitest-config/duree.classement.mjs +108 -0
  194. package/scripts/langages/typescript/vitest-config/duree.reporter.mjs +56 -59
  195. package/scripts/langages/typescript/vitest-config/lances.mjs +83 -27
  196. package/scripts/langages/typescript/vitest-config/machine.setup.mjs +10 -0
  197. package/scripts/langages/typescript/vitest-config/resultats.mjs +3 -1
  198. package/scripts/langages/typescript/vitest.nuit.config.mjs +4 -0
  199. package/scripts/lint-des-scripts.mjs +58 -0
  200. package/scripts/mesure/base-de-passe.mjs +117 -25
  201. package/scripts/mesure/pression.mjs +12 -6
  202. package/scripts/mesure-de-la-machine.d.mts +21 -0
  203. package/scripts/mesure-de-la-machine.mjs +76 -0
  204. package/scripts/migrations/0.23.0-charte-importee.mjs +6 -2
  205. package/scripts/migrations/0.23.0-crochets-de-seance.mjs +25 -8
  206. package/scripts/migrations/0.23.0-marche-du-projet.mjs +18 -6
  207. package/scripts/migrations/0.23.2-copies-du-cadre.mjs +56 -18
  208. package/scripts/migrations/0.24.12-tri-des-decouvertes.mjs +6 -2
  209. package/scripts/migrations/0.25.0-script-des-tests.mjs +15 -5
  210. package/scripts/migrations/0.30.0-ci-appelle-la-verification.mjs +124 -0
  211. package/scripts/migrations/0.31.0-paquets-dans-le-graphe.mjs +81 -0
  212. package/scripts/migrations.mjs +5 -0
  213. package/scripts/nuit.sh +25 -3
  214. package/scripts/outil.mjs +3 -1
  215. package/scripts/outils-cles.d.mts +24 -0
  216. package/scripts/outils-cles.mjs +18 -8
  217. package/scripts/paquet-npm.mjs +157 -0
  218. package/scripts/paquet.mjs +73 -4
  219. package/scripts/paquets.mjs +46 -10
  220. package/scripts/passe-de-la-machine.mjs +71 -0
  221. package/scripts/places-de-la-machine.mjs +414 -0
  222. package/scripts/places-du-serveur.mjs +170 -0
  223. package/scripts/prefixe-des-tickets.mjs +68 -0
  224. package/scripts/preparation.mjs +25 -8
  225. package/scripts/registre.mjs +9 -4
  226. package/scripts/regles-des-places.d.mts +36 -0
  227. package/scripts/regles-des-places.mjs +70 -0
  228. package/scripts/reponses-du-circuit.d.mts +6 -0
  229. package/scripts/reponses-du-circuit.mjs +28 -0
  230. package/scripts/reprise.mjs +66 -0
  231. package/scripts/resultats.mjs +112 -46
  232. package/scripts/retirer-les-copies-finies.mjs +25 -0
  233. package/scripts/sans-reponse.d.mts +4 -0
  234. package/scripts/sans-reponse.mjs +13 -0
  235. package/scripts/seances.mjs +936 -0
  236. package/scripts/services-du-noyau.mjs +27 -8
  237. package/scripts/session-start.sh +2 -2
  238. package/scripts/sortie.mjs +3 -3
  239. package/scripts/sous-commandes.mjs +41 -10
  240. package/scripts/style-a-l-ecriture.mjs +260 -0
  241. package/scripts/superviseur.mjs +122 -111
  242. package/scripts/tableau.mjs +180 -117
  243. package/scripts/taches-du-graphe.mjs +348 -0
  244. package/scripts/ticket-du-circuit.mjs +216 -0
  245. package/scripts/transitions.d.mts +148 -0
  246. package/scripts/transitions.mjs +1018 -0
  247. package/scripts/verrou-de-fichier.mjs +8 -4
  248. package/scripts/verrou-de-machine.mjs +150 -51
  249. package/scripts/verrous/commande.mjs +50 -17
  250. package/scripts/verrous/ticket-du-sous-agent.mjs +9 -3
  251. package/scripts/verrous/verrou.mjs +42 -14
  252. package/skills/explorateur/SKILL.md +9 -2
  253. package/skills/grill/SKILL.md +1 -1
  254. package/skills/mesure/SKILL.md +3 -0
  255. package/skills/pitmaster/SKILL.md +17 -18
  256. package/skills/pitmaster/references/consigne-agent.md +5 -1
  257. package/skills/release/SKILL.md +3 -3
  258. package/skills/relecteur/SKILL.md +5 -3
  259. package/skills/testwriter/SKILL.md +49 -31
  260. package/scripts/demon.mjs +0 -251
  261. package/scripts/integration/file-attente.mjs +0 -61
  262. package/scripts/langages/cargo/touches.mjs +0 -93
  263. package/scripts/langages/typescript/script-des-tests.mjs +0 -6
@@ -83,12 +83,16 @@ function declarationsDe(ts, sf) {
83
83
  } else if (ts.isVariableStatement(st)) {
84
84
  const decls = st.declarationList.declarations;
85
85
  for (const d of decls) {
86
- for (const n of noms(d.name)) ajouter(n.text, 'constante', n, decls.length > 1 ? d : st);
86
+ for (const n of noms(d.name)) {
87
+ ajouter(n.text, 'constante', n, decls.length > 1 ? d : st);
88
+ }
87
89
  }
88
90
  } else if (ts.isExportDeclaration(st)) {
89
91
  const clause = st.exportClause;
90
92
  if (clause && ts.isNamedExports(clause)) {
91
- for (const s of clause.elements) ajouter(s.name.text, 'export', s.name, st);
93
+ for (const s of clause.elements) {
94
+ ajouter(s.name.text, 'export', s.name, st);
95
+ }
92
96
  } else if (clause) {
93
97
  ajouter(clause.name.text, 'export', clause.name, st);
94
98
  } else {
@@ -104,10 +108,14 @@ function declarationsDe(ts, sf) {
104
108
  // The declarations of an API report's text <texte>, as declarationsDe gives them, each line that
105
109
  // of the report file; an empty Map without a report.
106
110
  function declarationsDuRapport(ts, texte) {
107
- if (texte === null) return new Map();
111
+ if (texte === null) {
112
+ return new Map();
113
+ }
108
114
  const lignes = texte.split('\n');
109
115
  const debut = lignes.indexOf(`${CLOTURE}ts`);
110
- if (debut < 0) return new Map();
116
+ if (debut < 0) {
117
+ return new Map();
118
+ }
111
119
  const fin = lignes.indexOf(CLOTURE, debut + 1);
112
120
  const code = lignes.slice(debut + 1, fin < 0 ? undefined : fin).join('\n');
113
121
  const sf = ts.createSourceFile('rapport.d.ts', code, ts.ScriptTarget.Latest, true);
@@ -180,7 +188,9 @@ function calculer(copie, avant, apres) {
180
188
  for (const { fichier, supprime } of changes) {
181
189
  const c = composantDe(fichier);
182
190
  const abs = path.resolve(copie, fichier);
183
- if (!c || !SOURCE.test(fichier) || estTest(c, abs)) continue;
191
+ if (!c || !SOURCE.test(fichier) || estTest(c, abs)) {
192
+ continue;
193
+ }
184
194
  const lu = supprime ? null : lus.get(abs);
185
195
  const lisible = supprime
186
196
  ? !s.raison && existsSync(path.join(c.dir, 'tsconfig.json'))
@@ -211,11 +221,16 @@ function calculer(copie, avant, apres) {
211
221
  rapportApres.has(d.nom) || (d.noeud ? s.publie(c, d.noeud) : abs === s.entree(c));
212
222
  for (const d of decApres.values()) {
213
223
  const avantLui = decAvant.get(d.nom);
214
- if (!avantLui) element(d, 'neuf', exporteApres(d));
215
- else if (avantLui.texte !== d.texte) element(d, 'changé', exporteApres(d));
224
+ if (!avantLui) {
225
+ element(d, 'neuf', exporteApres(d));
226
+ } else if (avantLui.texte !== d.texte) {
227
+ element(d, 'changé', exporteApres(d));
228
+ }
216
229
  }
217
230
  for (const d of decAvant.values()) {
218
- if (!decApres.has(d.nom)) element(d, 'supprimé', rapportAvant.has(d.nom));
231
+ if (!decApres.has(d.nom)) {
232
+ element(d, 'supprimé', rapportAvant.has(d.nom));
233
+ }
219
234
  }
220
235
  }
221
236
 
@@ -223,7 +238,9 @@ function calculer(copie, avant, apres) {
223
238
  const changesEnSet = new Set(changes.map(x => enPosix(x.fichier)));
224
239
  for (const c of tous) {
225
240
  const { fichier, avant: a, apres: p } = rapportsDe(c);
226
- if (!changesEnSet.has(fichier)) continue;
241
+ if (!changesEnSet.has(fichier)) {
242
+ continue;
243
+ }
227
244
  const nommes = new Set(elements.filter(e => e.paquet === nomDe(c)).map(e => e.nom));
228
245
  const ajouter = (d, statut) =>
229
246
  nommes.has(d.nom) ||
@@ -239,10 +256,17 @@ function calculer(copie, avant, apres) {
239
256
  });
240
257
  for (const d of p.values()) {
241
258
  const avantLui = a.get(d.nom);
242
- if (!avantLui) ajouter(d, 'neuf');
243
- else if (avantLui.texte !== d.texte) ajouter(d, 'changé');
259
+ if (!avantLui) {
260
+ ajouter(d, 'neuf');
261
+ } else if (avantLui.texte !== d.texte) {
262
+ ajouter(d, 'changé');
263
+ }
264
+ }
265
+ for (const d of a.values()) {
266
+ if (!p.has(d.nom)) {
267
+ ajouter(d, 'supprimé');
268
+ }
244
269
  }
245
- for (const d of a.values()) if (!p.has(d.nom)) ajouter(d, 'supprimé');
246
270
  }
247
271
 
248
272
  elements.sort(
@@ -8,8 +8,7 @@
8
8
  // interfaces, the turbo.json of the packages): `aJour`; the same with each generated file out
9
9
  // of date: the interface of `a` changed after its index, a fault listed that its code never
10
10
  // produces (the check of the interfaces against the code), the turbo.json of `b` stale:
11
- // `enRetard`; the same, committed, a file of `a` then changed and a file out of every package
12
- // added: `change`, measured from its commit; the same where the code of `b` imports `a` and the
11
+ // `enRetard`; the same where the code of `b` imports `a` and the
13
12
  // code of `c` imports `b`: `lus`; the same with a second commit that changes a file of `a`:
14
13
  // `lot`. A directory whose package.json names no package: `vide`. A
15
14
  // repository of two packages, one with the script of the tests (`test:unit`): `avecTests`.
@@ -141,10 +140,6 @@ export default {
141
140
  const avantLeLot = tete(lot);
142
141
  writeFileSync(path.join(lot, 'packages/a/src/index.ts'), 'export const a = 3;\n');
143
142
  git(lot, 'commit', '-q', '-am', 'lot');
144
- const change = depot(dans);
145
- const depuis = tete(change);
146
- writeFileSync(path.join(change, 'packages/a/src/index.ts'), 'export const a = 2;\n');
147
- writeFileSync(path.join(change, 'notes.txt'), 'hors des paquets\n');
148
143
  return {
149
144
  racine: aJour,
150
145
  composants: {
@@ -169,11 +164,6 @@ export default {
169
164
  invalide: { racine: lus, noms: ['package.json'] },
170
165
  attendu: ['b lit a', 'c lit b', 'package.json : sans fournisseur'],
171
166
  },
172
- touches: {
173
- valide: { racine: aJour, depuis: 'HEAD' },
174
- invalide: { racine: change, depuis },
175
- attendu: ['touché a', 'dépendant b', 'dépendant c', 'hors notes.txt'],
176
- },
177
167
  commandes: {
178
168
  valide: [
179
169
  'tester',
@@ -188,6 +178,7 @@ export default {
188
178
  'interfaces-contre-code',
189
179
  'resumes',
190
180
  'tailles-des-tests',
181
+ 'titres-de-tests',
191
182
  'turbo-des-paquets',
192
183
  ],
193
184
  invalide: ['tester', 'deployer'],
@@ -270,6 +261,7 @@ export default {
270
261
  'interfaces-contre-code',
271
262
  'code-mort',
272
263
  'tailles-des-tests',
264
+ 'titres-de-tests',
273
265
  'chemins-des-tests',
274
266
  'resumes',
275
267
  ],
@@ -83,7 +83,9 @@ function ecrire(regle, retrait) {
83
83
  .map(l => {
84
84
  const ligne = retrait + l;
85
85
  const m = /^(\s*(?:"[^"]*": )?)"(.*)"(,?)$/.exec(ligne);
86
- if (ligne.length <= LARGEUR || !m) return ligne;
86
+ if (ligne.length <= LARGEUR || !m) {
87
+ return ligne;
88
+ }
87
89
  const [, tete, valeur, virgule] = m;
88
90
  const pieces = [];
89
91
  let reste = valeur;
@@ -91,8 +93,12 @@ function ecrire(regle, retrait) {
91
93
  while (reste.length > place) {
92
94
  const dans = reste.slice(0, place);
93
95
  let coupe = Math.max(dans.lastIndexOf(' '), dans.lastIndexOf('|')) + 1;
94
- if (coupe === 0) coupe = place;
95
- while (reste[coupe - 1] === '\\') coupe -= 1;
96
+ if (coupe === 0) {
97
+ coupe = place;
98
+ }
99
+ while (reste[coupe - 1] === '\\') {
100
+ coupe -= 1;
101
+ }
96
102
  pieces.push(reste.slice(0, coupe));
97
103
  reste = reste.slice(coupe);
98
104
  }
@@ -108,7 +114,9 @@ function ecrire(regle, retrait) {
108
114
  function entreesBin(racine) {
109
115
  return composants(racine).flatMap(({ dir }) => {
110
116
  const fichier = path.join(dir, 'package.json');
111
- if (!existsSync(fichier)) return [];
117
+ if (!existsSync(fichier)) {
118
+ return [];
119
+ }
112
120
  const { bin } = JSON.parse(readFileSync(fichier, 'utf8'));
113
121
  const cibles = typeof bin === 'string' ? [bin] : Object.values(bin ?? {});
114
122
  return cibles
@@ -165,7 +173,9 @@ export function configuration(racine) {
165
173
  severity: 'warn',
166
174
  from: {
167
175
  orphan: true,
168
- pathNot: [`${TESTS}|(^|/)index[.][a-z]+$|[.]d[.]ts$|[.]config[.][a-z]+$`, ...bin].join('|'),
176
+ pathNot: [`${TESTS}|(^|/)index[.][a-z]+$|[.]d[.][mc]?ts$|[.]config[.][a-z]+$`, ...bin].join(
177
+ '|'
178
+ ),
169
179
  },
170
180
  to: {},
171
181
  },
@@ -263,15 +273,23 @@ export function sorties(dir) {
263
273
  const hote = { ...ts.sys, onUnRecoverableConfigFileDiagnostic: () => {} };
264
274
  const table = new Map();
265
275
  for (const e of readdirSync(dir, { withFileTypes: true })) {
266
- if (!e.isFile() || !/^tsconfig.*[.]json$/.test(e.name)) continue;
276
+ if (!e.isFile() || !/^tsconfig.*[.]json$/.test(e.name)) {
277
+ continue;
278
+ }
267
279
  const analyse = ts.getParsedCommandLineOfConfigFile(path.join(dir, e.name), {}, hote);
268
- if (!analyse || analyse.options.noEmit) continue;
280
+ if (!analyse || analyse.options.noEmit) {
281
+ continue;
282
+ }
269
283
  for (const source of analyse.fileNames.map(f => path.resolve(f))) {
270
- if (DECLARATION.test(source) || !existsSync(source)) continue;
284
+ if (DECLARATION.test(source) || !existsSync(source)) {
285
+ continue;
286
+ }
271
287
  const emises = ts.getOutputFileNames(analyse, source, ts.sys.useCaseSensitiveFileNames);
272
288
  for (const sortie of emises) {
273
289
  const chemin = path.resolve(sortie);
274
- if (chemin !== source) table.set(chemin, new Set([...(table.get(chemin) ?? []), source]));
290
+ if (chemin !== source) {
291
+ table.set(chemin, new Set([...(table.get(chemin) ?? []), source]));
292
+ }
275
293
  }
276
294
  }
277
295
  }
@@ -281,7 +299,9 @@ export function sorties(dir) {
281
299
  // The targets of an `exports` value: the string itself, or the targets of each value of an object
282
300
  // (its subpaths and its conditions).
283
301
  function cibles(valeur) {
284
- if (typeof valeur === 'string') return [valeur];
302
+ if (typeof valeur === 'string') {
303
+ return [valeur];
304
+ }
285
305
  return valeur && typeof valeur === 'object' ? Object.values(valeur).flatMap(cibles) : [];
286
306
  }
287
307
 
@@ -293,13 +313,19 @@ function sourcesDuPaquet(racine, dir) {
293
313
  const sources = new Set();
294
314
  const refus = [];
295
315
  const fichier = path.join(dir, 'package.json');
296
- if (!existsSync(fichier)) return { sources, refus };
316
+ if (!existsSync(fichier)) {
317
+ return { sources, refus };
318
+ }
297
319
  const entrees = cibles(JSON.parse(readFileSync(fichier, 'utf8')).exports);
298
- if (entrees.length === 0) return { sources, refus };
320
+ if (entrees.length === 0) {
321
+ return { sources, refus };
322
+ }
299
323
  const emis = sorties(dir);
300
324
  for (const cible of entrees) {
301
325
  const abs = path.resolve(dir, cible);
302
- if (DECLARATION.test(abs) || abs.endsWith('.json')) continue;
326
+ if (DECLARATION.test(abs) || abs.endsWith('.json')) {
327
+ continue;
328
+ }
303
329
  const source =
304
330
  SOURCE_TS.test(abs) || (SOURCE_JS.test(abs) && !emis.has(abs) && existsSync(abs));
305
331
  const trouvees = source ? [abs].filter(f => existsSync(f)) : [...(emis.get(abs) ?? [])];
@@ -309,7 +335,9 @@ function sourcesDuPaquet(racine, dir) {
309
335
  'ni fichier source, ni configuration TypeScript du paquet qui la produise.'
310
336
  );
311
337
  }
312
- for (const f of trouvees) sources.add(f);
338
+ for (const f of trouvees) {
339
+ sources.add(f);
340
+ }
313
341
  }
314
342
  return { sources, refus };
315
343
  }
@@ -321,7 +349,9 @@ export function publiees(racine) {
321
349
  const refus = [];
322
350
  for (const { dir } of composants(racine)) {
323
351
  const trouve = sourcesDuPaquet(racine, dir);
324
- for (const f of trouve.sources) sources.add(posix(path.relative(racine, f)));
352
+ for (const f of trouve.sources) {
353
+ sources.add(posix(path.relative(racine, f)));
354
+ }
325
355
  refus.push(...trouve.refus);
326
356
  }
327
357
  return { sources, refus };
@@ -367,11 +397,15 @@ function aJuger(graphe, sources) {
367
397
  const pile = [...sources];
368
398
  while (pile.length) {
369
399
  const f = pile.pop();
370
- if (atteints.has(f)) continue;
400
+ if (atteints.has(f)) {
401
+ continue;
402
+ }
371
403
  atteints.add(f);
372
404
  juges.add(f);
373
405
  for (const d of modules.get(f)?.dependencies ?? []) {
374
- if (d.couldNotResolve || d.coreModule || /(^|\/)node_modules\//.test(d.resolved)) continue;
406
+ if (d.couldNotResolve || d.coreModule || /(^|\/)node_modules\//.test(d.resolved)) {
407
+ continue;
408
+ }
375
409
  pile.push(d.resolved);
376
410
  }
377
411
  }
@@ -420,21 +454,27 @@ function frontieres(racine, args) {
420
454
  return 1;
421
455
  }
422
456
  const racines = RACINES.filter(r => existsSync(path.join(racine, r)));
423
- if (racines.length === 0) return 0;
457
+ if (racines.length === 0) {
458
+ return 0;
459
+ }
424
460
  const environnement = { ...process.env };
425
461
  delete environnement[JUGES];
426
462
  let dossier = null;
427
463
  try {
428
464
  if (sources.size > 0) {
429
465
  const graphe = depcruise(racine, racines, 'json', environnement);
430
- if (!graphe.stdout) return graphe.status || 1;
466
+ if (!graphe.stdout) {
467
+ return graphe.status || 1;
468
+ }
431
469
  dossier = mkdtempSync(path.join(tmpdir(), 'frontieres-'));
432
470
  const fichier = path.join(dossier, 'juges.txt');
433
471
  writeFileSync(fichier, motifDes(aJuger(JSON.parse(graphe.stdout), sources)));
434
472
  environnement[JUGES] = fichier;
435
473
  }
436
474
  const r = depcruise(racine, racines, 'json', environnement);
437
- if (!r.stdout) return r.status || 1;
475
+ if (!r.stdout) {
476
+ return r.status || 1;
477
+ }
438
478
  const resultat = JSON.parse(r.stdout);
439
479
  const { refus, lignes } = trancher(racine, 'frontieres', constats(resultat));
440
480
  // The report is dependency-cruiser's own (`err-long`): the result formatted as it is when the
@@ -457,10 +497,14 @@ function frontieres(racine, args) {
457
497
  stdio: 'inherit',
458
498
  });
459
499
  }
460
- for (const l of lignes) process.stderr.write(`${l}\n`);
500
+ for (const l of lignes) {
501
+ process.stderr.write(`${l}\n`);
502
+ }
461
503
  return refus.length ? 1 : 0;
462
504
  } finally {
463
- if (dossier) rmSync(dossier, { recursive: true, force: true });
505
+ if (dossier) {
506
+ rmSync(dossier, { recursive: true, force: true });
507
+ }
464
508
  }
465
509
  }
466
510
 
@@ -48,7 +48,9 @@ export function interfaces(racine) {
48
48
  const found = composants(racine)
49
49
  .map(c => path.relative(racine, path.join(c.dir, 'docs', 'INTERFACE.md')))
50
50
  .filter(rel => existsSync(path.join(racine, rel)));
51
- if (existsSync(path.join(racine, 'docs', 'INTERFACE.md'))) found.push('docs/INTERFACE.md');
51
+ if (existsSync(path.join(racine, 'docs', 'INTERFACE.md'))) {
52
+ found.push('docs/INTERFACE.md');
53
+ }
52
54
  return found.sort();
53
55
  }
54
56
 
@@ -85,7 +87,9 @@ export function lire(rel, contenu) {
85
87
  // A code block is skipped whole: a `## …` written inside it is code, not a heading.
86
88
  const f = /^\s*(```|~~~)/.exec(l);
87
89
  if (cloture) {
88
- if (f && f[1] === cloture) cloture = null;
90
+ if (f && f[1] === cloture) {
91
+ cloture = null;
92
+ }
89
93
  continue;
90
94
  }
91
95
  if (f) {
@@ -100,7 +104,9 @@ export function lire(rel, contenu) {
100
104
  }
101
105
  const m = /^(#{1,3}) (.+)$/.exec(l);
102
106
  if (m) {
103
- if (m[1].length === 1) continue;
107
+ if (m[1].length === 1) {
108
+ continue;
109
+ }
104
110
  fermer();
105
111
  courante = { niveau: m[1].length, titre: m[2].trim(), corps: [], generee };
106
112
  } else if (courante.generee && (courante.fermee || /^\*\*[^*]+\*\*/.test(l))) {
@@ -108,17 +114,22 @@ export function lire(rel, contenu) {
108
114
  // `**Paramètres**`…) are read at its address.
109
115
  courante.fermee = true;
110
116
  } else if (!l.trim()) {
111
- if (courante.generee && courante.corps.length) courante.fermee = true;
117
+ if (courante.generee && courante.corps.length) {
118
+ courante.fermee = true;
119
+ }
112
120
  } else if (!l.startsWith('|')) {
113
- if (courante.corps.length < 6 || courante.titre === 'Consommateurs')
121
+ if (courante.corps.length < 6 || courante.titre === 'Consommateurs') {
114
122
  courante.corps.push(l.replace(/^[-*]\s+/, ''));
123
+ }
115
124
  }
116
125
  }
117
126
  fermer();
118
127
  const [tete, ...reste] = sections;
119
128
  const parties = [];
120
129
  for (const s of reste) {
121
- if (s.ignoree) continue;
130
+ if (s.ignoree) {
131
+ continue;
132
+ }
122
133
  if (s.niveau === 2 && s.titre === 'Consommateurs') {
123
134
  parties.push({
124
135
  consommateurs: declares(`## Consommateurs\n${s.corps.map(l => `- ${l}`).join('\n')}`),
@@ -161,17 +172,23 @@ const TITRE_PUBLIE = "## Ce que les composants d'avant publient";
161
172
  // `{ absent: true }` without the file, null without the rubric.
162
173
  function rend(racine, rel) {
163
174
  const fichier = path.join(racine, rel);
164
- if (!existsSync(fichier)) return { absent: true };
175
+ if (!existsSync(fichier)) {
176
+ return { absent: true };
177
+ }
165
178
  let cloture = null;
166
179
  for (const l of readFileSync(fichier, 'utf8').split('\n')) {
167
180
  const f = /^\s*(```|~~~)/.exec(l);
168
181
  if (cloture) {
169
- if (f && f[1] === cloture) cloture = null;
182
+ if (f && f[1] === cloture) {
183
+ cloture = null;
184
+ }
170
185
  } else if (f) {
171
186
  cloture = f[1];
172
187
  } else {
173
188
  const m = /^## ((?:\d+\.\s*)?Rend)\s*$/.exec(l);
174
- if (m) return { titre: m[1] };
189
+ if (m) {
190
+ return { titre: m[1] };
191
+ }
175
192
  }
176
193
  }
177
194
  return null;
@@ -254,9 +271,13 @@ export function publie(racine, composant) {
254
271
  }
255
272
  const cadre = path.join(path.dirname(f.rel), 'CADRE.md');
256
273
  const r = rend(racine, cadre);
257
- if (r?.absent) out.push(`Son cadre manque : \`${cadre}\` n’existe pas.`);
258
- else if (!r) out.push(`Son cadre n’a pas de rubrique « Rend » (\`${cadre}\`).`);
259
- else out.push(`Son cadre rend : \`${cadre}\` § ${r.titre}.`);
274
+ if (r?.absent) {
275
+ out.push(`Son cadre manque : \`${cadre}\` n’existe pas.`);
276
+ } else if (!r) {
277
+ out.push(`Son cadre n’a pas de rubrique « Rend » (\`${cadre}\`).`);
278
+ } else {
279
+ out.push(`Son cadre rend : \`${cadre}\` § ${r.titre}.`);
280
+ }
260
281
  }
261
282
  return out.join('\n');
262
283
  }
@@ -310,7 +331,9 @@ function commande(racine, args) {
310
331
  message: `${SORTIE} n'est pas à jour avec les interfaces : npx grillhouse index-interfaces le régénère.`,
311
332
  },
312
333
  ];
313
- for (const r of refus) process.stderr.write(`⛔ ${r.message}\n`);
334
+ for (const r of refus) {
335
+ process.stderr.write(`⛔ ${r.message}\n`);
336
+ }
314
337
  ecrireSarif({ garde: 'index-interfaces', racine, constats: refus });
315
338
  return refus.length ? 1 : 0;
316
339
  }
@@ -12,12 +12,6 @@
12
12
  // shared test material, the components whose package exports `./test-fixtures` (`matieres`); a
13
13
  // component plays tests when its package.json holds the script `test:unit` (`joueDesTests`),
14
14
  // which Turborepo runs in it (./tests.mjs).
15
- // - The components touched since a commit: the files git sees changed since it, the working tree
16
- // and the untracked files included (`git diff --name-only <depuis>`, `git ls-files -o
17
- // --exclude-standard`), each in its component, and the components that depend on them by their
18
- // package.json (its `dependencies`, `devDependencies`, `optionalDependencies` and
19
- // `peerDependencies` that name another component), transitively, as Turborepo's
20
- // `--filter=...[<depuis>]`; a file out of every component is out of the graph.
21
15
  // - The elements of a lot (./elements-du-lot.mjs).
22
16
  // - Where its tools write, which the envelope opens to a session (`sorties`), and the rules that
23
17
  // refuse a role that writes the test tool run directly (`droits`).
@@ -57,23 +51,26 @@ import { elementsDuLot } from './elements-du-lot.mjs';
57
51
  import { A_ELAGUER, lireSarif, RESULTATS } from '../../resultats.mjs';
58
52
  import { lecteurs } from './lecteurs.mjs';
59
53
  import { estUnTest, manifestes, soeurDAvant } from './regle-des-tests.mjs';
60
- import { SCRIPT_DES_TESTS } from './script-des-tests.mjs';
54
+ import { empreintesDesTaches, SCRIPT_DES_TESTS } from '../../services-du-noyau.mjs';
61
55
  import { verdict } from './verdict.mjs';
62
56
  import { miseAJour } from './mise-a-jour.mjs';
63
57
  import { squelette } from './squelette.mjs';
58
+ import { estHorsDuJour } from './vitest-config/cibles.mjs';
64
59
  import * as configVitest from './migrations/0.23.0-config-vitest.mjs';
65
60
  import * as nomsDeclaresInutilises from './migrations/0.24.4-noms-declares-inutilises.mjs';
66
61
  import * as lignesMalFormees from './migrations/0.24.6-lignes-mal-formees.mjs';
67
62
  import * as matiereDansLesTests from './migrations/0.24.7-matiere-dans-les-tests.mjs';
68
63
  import * as taillesDesTests from './migrations/0.25.0-tailles-des-tests.mjs';
69
64
  import * as cheminsDesTests from './migrations/0.25.0-chemins-des-tests.mjs';
65
+ import * as taillesDesOutilsLourds from './migrations/0.30.0-tailles-des-outils-lourds.mjs';
66
+ import * as prefixeDesTickets from './migrations/0.30.0-prefixe-des-tickets.mjs';
67
+ import * as titresNommantUnTicket from './migrations/0.30.0-titres-nommant-un-ticket.mjs';
70
68
 
71
69
  // The scripts of this module, beside this file.
72
70
  const SCRIPTS = path.dirname(fileURLToPath(import.meta.url));
73
71
  const requis = createRequire(import.meta.url);
74
72
  const ici = nom => path.join(SCRIPTS, nom);
75
73
  const generateur = (script, ...args) => [`node ${JSON.stringify(ici(script))}`, ...args].join(' ');
76
- const CHAMPS = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies'];
77
74
 
78
75
  const composants = racine =>
79
76
  lesComposants(racine).map(({ nom, dir, paquet }) => ({ nom, dossier: dir, paquet }));
@@ -88,6 +85,7 @@ const OUTILS = [
88
85
  'interfaces-contre-code',
89
86
  'resumes',
90
87
  'tailles-des-tests',
88
+ 'titres-de-tests',
91
89
  'turbo-des-paquets',
92
90
  ];
93
91
 
@@ -106,57 +104,6 @@ const lireJson = f => {
106
104
  }
107
105
  };
108
106
 
109
- const lignesDeGit = (racine, args) => {
110
- const r = spawnSync('git', ['-C', racine, ...args, '-z'], {
111
- encoding: 'utf8',
112
- maxBuffer: 256 * 1024 * 1024,
113
- });
114
- if (r.status !== 0) throw new Error(`⛔ git ${args.join(' ')} : ${r.stderr.trim()}`);
115
- return r.stdout.split('\0').filter(Boolean);
116
- };
117
-
118
- // The components touched in <racine> since the commit <depuis>, their dependents, and the files
119
- // out of every component.
120
- function touches(racine, { depuis }) {
121
- const liste = composants(racine);
122
- const fichiers = new Set([
123
- ...lignesDeGit(racine, ['diff', '--name-only', '--no-renames', depuis]),
124
- ...lignesDeGit(racine, ['ls-files', '-o', '--exclude-standard']),
125
- ]);
126
- const touches = new Set();
127
- const horsGraphe = [];
128
- for (const f of fichiers) {
129
- const c = composantDans(liste, racine, f);
130
- if (c) touches.add(c);
131
- else horsGraphe.push(f);
132
- }
133
- // The components that read each one, by the packages their package.json names.
134
- const parPaquet = new Map(liste.filter(c => c.paquet).map(c => [c.paquet, c]));
135
- const lecteursDe = new Map(liste.map(c => [c, new Set()]));
136
- for (const c of liste) {
137
- const pkg = lireJson(path.join(c.dossier, 'package.json')) ?? {};
138
- for (const nom of new Set(CHAMPS.flatMap(ch => Object.keys(pkg[ch] ?? {})))) {
139
- const lu = parPaquet.get(nom);
140
- if (lu && lu !== c) lecteursDe.get(lu).add(c);
141
- }
142
- }
143
- const dependants = new Set();
144
- const suivre = c => {
145
- for (const l of lecteursDe.get(c)) {
146
- if (touches.has(l) || dependants.has(l)) continue;
147
- dependants.add(l);
148
- suivre(l);
149
- }
150
- };
151
- for (const c of touches) suivre(c);
152
- const parNom = (a, b) => a.nom.localeCompare(b.nom);
153
- return {
154
- touches: [...touches].sort(parNom),
155
- dependants: [...dependants].sort(parNom),
156
- horsGraphe: horsGraphe.sort(),
157
- };
158
- }
159
-
160
107
  // TypeScript's compiler, the project's at <racine>, else the frame's.
161
108
  function compilateur(racine) {
162
109
  for (const depuis of [path.join(racine, 'package.json'), import.meta.url]) {
@@ -202,6 +149,37 @@ const joueDesTests = (_racine, composant) =>
202
149
  export default {
203
150
  nom: 'typescript',
204
151
  manifeste: 'package.json',
152
+ // The name a package.json gives its package; its internal dependencies are the package.json's
153
+ // own, so no other manifest holds any.
154
+ nomDuManifeste: texte => {
155
+ try {
156
+ const nom = JSON.parse(texte)?.name;
157
+ return typeof nom === 'string' ? nom : null;
158
+ } catch {
159
+ return null;
160
+ }
161
+ },
162
+ liensDuManifeste: () => ({ noms: [], table: 'dependencies', outil: 'npm' }),
163
+ // Builds the packages <noms> (by their package.json name) of the project in the working
164
+ // directory, through the graph of the project's packages, the cache reading what did not move;
165
+ // inside the graph's own run (`TURBO_HASH`) the providers are built already, nothing plays.
166
+ construireLesPaquets: noms => {
167
+ if (process.env.TURBO_HASH) {
168
+ return;
169
+ }
170
+ for (const nom of noms) {
171
+ const r = spawnSync('npx', ['--no-install', 'turbo', 'run', 'build', `--filter=${nom}`], {
172
+ stdio: 'inherit',
173
+ });
174
+ if (r.status !== 0) {
175
+ throw new Error(`la construction du fournisseur ${nom} échoue.`);
176
+ }
177
+ }
178
+ },
179
+ // No output of a package of TypeScript is a datum of another package's tests.
180
+ sortieDuPaquet: () => {
181
+ throw new Error('sortie non prise en charge pour typescript');
182
+ },
205
183
  // The tools a project of TypeScript installs, optional peers of the package: what this module
206
184
  // runs as commands (Turborepo, knip, dependency-cruiser) and what its scripts import (API
207
185
  // Extractor, its model, TSDoc's configuration, jsonc-parser); the project's own TypeScript and
@@ -252,8 +230,10 @@ export default {
252
230
  matieres(racine).map(({ nom, dir, paquet }) => ({ nom, dossier: dir, paquet })),
253
231
  joueDesTests,
254
232
  lecteurs,
255
- touches,
256
233
  elementsDuLot,
234
+ // The hashes of the inputs of the tests tasks of the packages and their dependents, as
235
+ // Turborepo plans them.
236
+ empreintes: (racine, noms) => empreintesDesTaches('turbo', racine, noms),
257
237
  commandes: racine => ({
258
238
  tester: { script: ici('tests.mjs'), args: [] },
259
239
  verifier: { script: ici('verifier.mjs'), args: [] },
@@ -264,8 +244,13 @@ export default {
264
244
  }),
265
245
  verdict,
266
246
  estUnTest,
247
+ // A night test, a bench or a time witness (./vitest-config/cibles.mjs, `estHorsDuJour`).
248
+ horsDuJour: (chemin, racine) => estHorsDuJour(path.resolve(racine, chemin)),
267
249
  soeurDAvant,
268
- // Its tool plays HEAD's version of each test file beside it (`soeurDAvant`): no name to read.
250
+ // Its tool plays HEAD's version of each test file beside it (`soeurDAvant`): no tree, no name
251
+ // to read.
252
+ arbreDAvant: () => false,
253
+ envDArbre: () => ({}),
269
254
  testsDeHead: () => null,
270
255
  manifestes,
271
256
  fichiersEngendres: () => [
@@ -323,6 +308,7 @@ export default {
323
308
  [ici('interfaces-contre-code.mjs')],
324
309
  [ici('code-mort.mjs')],
325
310
  [ici('tailles-des-tests.mjs')],
311
+ [ici('titres-de-tests.mjs')],
326
312
  [ici('chemins-des-tests.mjs')],
327
313
  [ici('resumes.mjs')],
328
314
  ],
@@ -333,6 +319,9 @@ export default {
333
319
  matiereDansLesTests,
334
320
  taillesDesTests,
335
321
  cheminsDesTests,
322
+ taillesDesOutilsLourds,
323
+ prefixeDesTickets,
324
+ titresNommantUnTicket,
336
325
  ],
337
326
  miseAJour: miseAJour(joueDesTests),
338
327
  squelette,