@roomi-fields/grillhouse 0.24.12 → 0.24.13

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.
@@ -5,5 +5,5 @@
5
5
  "author": {
6
6
  "name": "Romain Peyrichou"
7
7
  },
8
- "version": "0.24.12"
8
+ "version": "0.24.13"
9
9
  }
@@ -177,7 +177,13 @@ références, 4.3 Relecture) · 5 Intégration (5.1 Commit, 5.2 File, 5.3 Tri de
177
177
  ticket entier depuis cette étape ; `--etendre <paquet>` ajoute un paquet au plan, puis reprend
178
178
  l'étape en cours, celle du testwriter après un arrêt sur un renvoi du développeur vers lui. Un constat bloquant du relecteur va droit à l'agent qu'il nomme et reste ouvert
179
179
  d'une relance à l'autre, comme un fil de revue non résolu, jusqu'à ce que le relecteur le dise
180
- levé ou accepte le lot. Le bilan compte par étape et par rôle. Ainsi un type change avec ses
180
+ levé ou accepte le lot. Comme l'auteur répond dans chaque fil d'une revue GitHub ou Gerrit, la
181
+ fiche FAIT du développeur répond à chaque constat ouvert pour lui, par son titre (`reponses` :
182
+ `levé` avec sa pièce, ou `contesté` avec sa raison et sa pièce) ; le circuit refuse une fiche à
183
+ laquelle il en manque une (`reponsesAuxConstats`), garde chaque réponse avec son constat, et la
184
+ relecture suivante la lit sous lui (BP 320.21 : la cause de son choix dans une passation que le
185
+ circuit ne lit pas, « la relecture n'a reçu aucune fiche du développeur », trois `RENDU`, puis
186
+ l'arrêt). Le bilan compte par étape et par rôle. Ainsi un type change avec ses
181
187
  lecteurs en une seule séance, et un constat n'est jamais perdu (BP 320.9 : seize composants
182
188
  joués l'un après l'autre, 118 min d'étapes vertes rejouées, un constat sur `exemplar` perdu six
183
189
  fois).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomi-fields/grillhouse",
3
- "version": "0.24.12",
3
+ "version": "0.24.13",
4
4
  "description": "Roomi's Grillhouse: the frame's scripts, called by one command, grillhouse <sous-commande>",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -359,8 +359,14 @@
359
359
  // restricted to what the fix changes and its dependents, and the reviewer again, on the
360
360
  // difference: the lot it read before is kept (`lot` of its sheet's entry), as Gerrit keeps each
361
361
  // patch set, and the next review receives the command of the difference between the two lots,
362
- // the files of the lot that changed since, and the findings still open, which it judges lifted
363
- // or not (`suivi`); the rest of the lot it does not read again (its skill, « La relecture
362
+ // the files of the lot that changed since, and the findings still open, each with the
363
+ // developpeur's answer under it, which it judges lifted or not (`suivi`). As the author answers
364
+ // in each thread of a review on GitHub or Gerrit, a sheet FAIT of the developpeur answers each
365
+ // finding open for him, by its title, levé or contesté with its reason, with its piece
366
+ // (`reponses`); a sheet without the answer to one is refused (`reponsesAuxConstats` of
367
+ // scripts/resultats.mjs) and asked again once of the same session, and the answer is kept with
368
+ // its finding in the state until the next review (BP 320.21: the cause of his choice in a
369
+ // handover the circuit does not read, three RENDU, then the stop); the rest of the lot it does not read again (its skill, « La relecture
364
370
  // bornée »). A blocking finding without a valid agent, or one that puts its criterion in
365
371
  // question (`critere_en_cause`), stops at « relecture-arret »; so does the third RENDU since the
366
372
  // ticket's last ACCEPTÉ.
@@ -549,6 +555,7 @@ import {
549
555
  lireResumes,
550
556
  lireSarif,
551
557
  regleDeLaLigne,
558
+ reponsesAuxConstats,
552
559
  reponsesAuxQuestions,
553
560
  RESULTATS,
554
561
  schemaDeFiche,
@@ -1250,13 +1257,22 @@ function consigne(valeurs, rang = 0) {
1250
1257
  // the plan, and the last handover of its author at the ticket. Every instruction, fresh or resumed,
1251
1258
  // carries the findings of the reviewer still open for its role (`ctx.constats`), all of them,
1252
1259
  // whatever the relaunch: a proof refused, red checks, a sending, a RENDU, a resumption of the
1253
- // supervisor. Throws an Arret for a launch that stops before its session, a motionless session, or
1260
+ // supervisor; a developpeur's sheet FAIT answers each of his by its title (`reponsesAuxConstats`),
1261
+ // refused without one, and the circuit keeps each answer with its finding (`avecLesReponses`).
1262
+ // Throws an Arret for a launch that stops before its session, a motionless session, or
1254
1263
  // a session that ends twice without a sheet that conforms.
1255
1264
  async function seance(ctx, role, { tentative, rapport, fort, derniere }) {
1256
1265
  const nom = nomDuRole(role);
1257
1266
  const reprise = tentative > 1 && !derniere && ctx.reprise?.agent === role ? ctx.reprise : null;
1258
1267
  const constats = texteDesOuverts(ouverts(ctx, role));
1259
1268
  const plan = ctx.paquets.join(', ');
1269
+ // A developpeur's sheet answers each finding open for him, kept with its finding.
1270
+ const titres = role === 'developpeur' ? ouverts(ctx, role).map(c => c.titre) : [];
1271
+ const valider = f => reponsesAuxConstats(f, titres);
1272
+ const repondu = fiche => {
1273
+ if (fiche && titres.length) ctx.constats = avecLesReponses(ctx.constats, fiche);
1274
+ return fiche;
1275
+ };
1260
1276
  if (reprise) {
1261
1277
  const courte = {
1262
1278
  role: nom,
@@ -1276,8 +1292,9 @@ async function seance(ctx, role, { tentative, rapport, fort, derniere }) {
1276
1292
  premiere: 'reprend',
1277
1293
  id: reprise.seance,
1278
1294
  repli: true,
1295
+ valider,
1279
1296
  });
1280
- if (fiche) return fiche;
1297
+ if (fiche) return repondu(fiche);
1281
1298
  commenter(
1282
1299
  ctx,
1283
1300
  role,
@@ -1315,7 +1332,22 @@ async function seance(ctx, role, { tentative, rapport, fort, derniere }) {
1315
1332
  .map(r => `- ${r.nom} : ${r.fichiers.map(f => `\`${f}\``).join(', ')}`)
1316
1333
  .join('\n'),
1317
1334
  };
1318
- return await jusquALaFiche(ctx, role, consigne(valeurs), { fort, neuve: role });
1335
+ return repondu(await jusquALaFiche(ctx, role, consigne(valeurs), { fort, neuve: role, valider }));
1336
+ }
1337
+
1338
+ // The findings <constats>, each finding of the developpeur that his sheet <fiche> answers (by its
1339
+ // title) with its answer `{ etat, raison, piece }`, as a thread of a review keeps the author's
1340
+ // reply under its comment.
1341
+ function avecLesReponses(constats, fiche) {
1342
+ const parTitre = new Map((fiche.reponses ?? []).map(r => [r.titre, r]));
1343
+ return (constats ?? []).map(c => {
1344
+ const r = c.role === 'developpeur' ? parTitre.get(c.titre) : undefined;
1345
+ if (!r) return c;
1346
+ return {
1347
+ ...c,
1348
+ reponse: { etat: r.etat, ...(r.raison ? { raison: r.raison } : {}), piece: r.piece },
1349
+ };
1350
+ });
1319
1351
  }
1320
1352
 
1321
1353
  // The line CONTEXTE of a session: the text of `--contexte` of the run, which every session of the
@@ -1477,7 +1509,7 @@ const bloquants = bloquantsDeLaFiche;
1477
1509
 
1478
1510
  // The blocking findings <constats>, each under its heading, the criterion or rule it holds, its
1479
1511
  // recipient (or the criterion in question), its body and its piece (an element judged not
1480
- // conforming carries it in its body): lines.
1512
+ // conforming carries it in its body), then the developpeur's answer to it, when he gave one: lines.
1481
1513
  const lignesDesConstats = constats =>
1482
1514
  constats.flatMap((c, i) => [
1483
1515
  `### Constat ${i + 1} — ${c.titre}`,
@@ -1485,6 +1517,12 @@ const lignesDesConstats = constats =>
1485
1517
  c.critere_en_cause ? `Critère en cause : ${c.critere_en_cause}` : `Agent : ${c.role ?? '?'}`,
1486
1518
  c.corps,
1487
1519
  ...(c.piece ? [`Pièce : ${c.piece}`] : []),
1520
+ ...(c.reponse
1521
+ ? [
1522
+ `Réponse du développeur : ${c.reponse.etat}${c.reponse.raison ? ` — ${c.reponse.raison}` : ''}`,
1523
+ `Pièce de la réponse : ${c.reponse.piece}`,
1524
+ ]
1525
+ : []),
1488
1526
  '',
1489
1527
  ]);
1490
1528
 
@@ -2025,7 +2063,8 @@ const texteDesOuverts = constats =>
2025
2063
  // remark reaches the ticket, no agent; the sheet's schema gives a RENDU at least one), after each
2026
2064
  // finding open before it that the sheet neither marks lifted (`suivi`, by its title) nor states
2027
2065
  // again. Each one `{ titre, regle, role, corps, piece }`, its recipient the agent it names, testwriter or
2028
- // developpeur. Throws an Arret `relecture-arret` for a finding without a valid recipient or one
2066
+ // developpeur, without the developpeur's answer to the review before (`reponse`): his next sheet
2067
+ // answers it again. Throws an Arret `relecture-arret` for a finding without a valid recipient or one
2029
2068
  // that puts a criterion in question.
2030
2069
  function constatsOuverts(ctx, fiche, texte) {
2031
2070
  const arret = raison =>
@@ -2041,9 +2080,9 @@ function constatsOuverts(ctx, fiche, texte) {
2041
2080
  return { titre: c.titre, regle: c.regle, role: c.role, corps: c.corps, piece: c.piece };
2042
2081
  });
2043
2082
  const leves = new Set((fiche.suivi ?? []).filter(s => s.etat === 'levé').map(s => s.titre));
2044
- const restes = (ctx.constats ?? []).filter(
2045
- c => !leves.has(c.titre) && !neufs.some(n => n.titre === c.titre)
2046
- );
2083
+ const restes = (ctx.constats ?? [])
2084
+ .filter(c => !leves.has(c.titre) && !neufs.some(n => n.titre === c.titre))
2085
+ .map(c => Object.fromEntries(Object.entries(c).filter(([k]) => k !== 'reponse')));
2047
2086
  return [...restes, ...neufs];
2048
2087
  }
2049
2088
 
package/scripts/nuit.sh CHANGED
@@ -5,8 +5,12 @@
5
5
  # to the files changed since the last green (scripts/integration/integrer.mjs,
6
6
  # scripts/dernier-vert.mjs).
7
7
  #
8
- # npx grillhouse nuit from the root of the project, by the crontab of the machine, e.g.
9
- # « 0 3 * * * cd <root> && node_modules/.bin/grillhouse nuit »
8
+ # npx grillhouse nuit from the root of the project, by the crontab of the machine, as the
9
+ # session start proposes it, with the directory of its Node, e.g.
10
+ # « 0 3 * * * export PATH=<node dir>:$PATH; cd <root> &&
11
+ # node_modules/.bin/grillhouse nuit »
12
+ # npx grillhouse nuit --help the usage on the output (also -h), exit 0; any other argument is
13
+ # refused, the usage on the error stream, exit 2: nothing runs.
10
14
  #
11
15
  # - It plays main's HEAD in its own clean copy (.claude/worktrees/nuit): detached, every untracked
12
16
  # file removed, its submodules set at the commit of HEAD (scripts/sous-modules.sh, a local
@@ -18,8 +22,10 @@
18
22
  # played for real (`--force`, no log replayed from the cache, no measure against the last
19
23
  # green: the complete pass, scripts/verifier.mjs), its result written to the cache again; green,
20
24
  # its tree becomes the last green of the day's passes.
21
- # A full pass « à repasser » (75, scripts/verifier.mjs: a failure of duration under load, which
22
- # found no rest in its bound) makes the night « à repasser », below.
25
+ # Its three steps (the full pass, the night tests, the project's night script) each play even
26
+ # when one before is red, as a CI plays its independent jobs; the night is red when one of them
27
+ # is. A full pass « à repasser » (75, scripts/verifier.mjs: a failure of duration under load,
28
+ # which found no rest in its bound) ends the night there, « à repasser », below.
23
29
  # An existing copy that does not get ready (its move onto HEAD, its cleaning or the setting of
24
30
  # its submodules fails) is removed by `scripts/retirer-copie.sh --jetable` (local work does not
25
31
  # hold it, a lock does) and created again, once; a copy that does not get ready the second time
@@ -29,17 +35,17 @@
29
35
  # read-only, its working tree and its git repository (the list the preparation's pose printed,
30
36
  # whatever a command rewrites afterwards): a write into it fails. With a shared submodule and no possible mount (bwrap absent
31
37
  # or refused), the night turns red, the log saying so, before any command runs.
32
- # - The night tests: after a green full pass, the files `*.nuit.test.*`, `*.nuit.spec.*`,
38
+ # - The night tests: after the full pass, the files `*.nuit.test.*`, `*.nuit.spec.*`,
33
39
  # `*.budget.test.*` and `*.budget.spec.*` of the copy (outside node_modules, dist and .git): the
34
40
  # night tests and the time budget benches, which `npm test` and the integration leave out
35
41
  # (the package @roomi-fields/grillhouse/vitest-config, scripts/vitest-config/, which every day configuration
36
42
  # extends), run by Vitest with the frame's configuration (scripts/vitest.nuit.config.mjs, beside
37
43
  # this script), bench or night test alone as well. A red turns the night red, with a log line that says so, and the
38
- # project's night script does not run. A copy with neither plays none. A run « à repasser » (75:
44
+ # project's night script still plays. A copy with neither plays none. A run « à repasser » (75:
39
45
  # every failure depended on a duration, one under load, scripts/vitest-config/duree.reporter.mjs)
40
46
  # waits for rest (`npx grillhouse pression attendre`, bound 15 min) and plays
41
47
  # once more; green then, the night goes on; à repasser again, or no rest in the bound, the night
42
- # is « à repasser ».
48
+ # ends there, « à repasser », red if the full pass is.
43
49
  # - « À repasser » (exit 75): neither green nor red. The last green stays, no ticket opens, nothing
44
50
  # is pushed, the log says so; the next night plays again.
45
51
  # - The project's night script: `grillhouse.nuit` in the package.json of the commit it plays names
@@ -57,19 +63,47 @@
57
63
  # keys are read as written, before any work: a grillhouse.poussee that is neither null nor an
58
64
  # object, or a grillhouse.poussee.nuit that is not a non-blank string, turns the night red with
59
65
  # a log line that cites it, one line per faulty key. A refused push keeps the last green, opens
60
- # (or completes) the night ticket « La poussée de la nuit est refusée sur <commit> », and exits
61
- # 1; a remote already at the commit accepts the push.
66
+ # the night ticket « La poussée de la nuit est refusée sur <commit> vers « origin/<branch> » »
67
+ # (or comments the open one that names « origin/<branch> »), and exits 1; a remote already at
68
+ # the commit accepts the push.
62
69
  # - It takes no lock of the integration or of the queue (scripts/integration/file.mjs): an
63
70
  # integration and the queue run during the night, each in its own copy.
64
71
  # - Its log is <git common dir>/nuit/<date>.log. Green: HEAD becomes the last green commit
65
- # (<git common dir>/nuit/dernier-vert). Red: a ticket labelled `nuit`, with the commits since the
66
- # last green, where `git bisect` looks for the culprit; an open one gets a comment instead.
67
- # With a last green, each red task of the full pass (the file GRILLHOUSE_ROUGES names, which
68
- # scripts/verifier.mjs writes: `<package>#<task>` per line, no task à repasser among them) gets
69
- # its line, the command that looks for the culprit with that task alone:
72
+ # (<git common dir>/nuit/dernier-vert). Red: the red tasks, each grouped by its cause as an
73
+ # alerting system groups by fingerprint: each red task of the full pass (the file
74
+ # GRILLHOUSE_ROUGES names, which scripts/verifier.mjs writes: `<package>#<task>` per line, no
75
+ # task à repasser among them), else the full pass by its command, the night tests, the project's
76
+ # night script by its command, or the preparation when the night is red before any step. Each
77
+ # red task comments the open ticket labelled `nuit` whose title names it (« <task> »), once per
78
+ # ticket, or opens its own, « La nuit est rouge sur « <task> » depuis la nuit du <date> ». The
79
+ # text, the same for each, gives the commits since the last green, where `git bisect` looks for
80
+ # the culprit, each red step and each red task, with or without a last green, then the end of
81
+ # the log. With a last green, each red task of the full pass gets the command that looks for the
82
+ # culprit with that task alone:
70
83
  # `git bisect start <head> <last green> && git bisect run npx turbo run <task> --filter=<package>`
71
84
  # (`--filter=//` for the root), Turborepo's hash replaying at each step only what changed.
72
85
  set -u
86
+ usage() {
87
+ echo "Usage : grillhouse nuit"
88
+ echo "La nuit : la passe complète jouée pour de vrai, puis les tests de nuit et les bancs de budget,"
89
+ echo "sur le HEAD de main, dans sa copie (.claude/worktrees/nuit). Se lance depuis la racine du projet."
90
+ echo "Options :"
91
+ echo " -h, --help affiche cette aide, sans lancer la nuit"
92
+ }
93
+ for argument in "$@"; do
94
+ case "$argument" in
95
+ -h | --help) ;;
96
+ *)
97
+ echo "⛔ grillhouse nuit : argument inconnu : $argument" >&2
98
+ usage >&2
99
+ exit 2
100
+ ;;
101
+ esac
102
+ done
103
+ if [ $# -gt 0 ]; then
104
+ usage
105
+ exit 0
106
+ fi
73
107
  # The project is the working directory; the frame's scripts are this one's neighbours.
74
108
  racine="$PWD"
75
109
  ici="$(cd "$(dirname "$0")" && pwd)"
@@ -84,6 +118,11 @@ rm -f "$rouges"
84
118
  tete="$(git -C "$racine" rev-parse HEAD)"
85
119
  copie="$racine/.claude/worktrees/nuit"
86
120
  branche=
121
+ # The red steps of the night, and its red tasks: those of the full pass (turbo 1, which a bisect
122
+ # replays alone), then a step red without a task of its own, named by its command (turbo 0).
123
+ etapes=()
124
+ taches=()
125
+ turbo=()
87
126
  # Gets the copy ready on HEAD: detached, cleaned, its submodules set; `partages` holds the list the
88
127
  # pose fixes, which every mount gets. Prints the reason on failure.
89
128
  partages=
@@ -162,15 +201,31 @@ jouer() {
162
201
  monter npm --prefix "$copie" ci --no-audit --no-fund --silent || return 1
163
202
  cp "$copie/package-lock.json" "$copie/node_modules/.nuit-lock"
164
203
  fi
165
- # The full pass, played for real: the night replays no log of the cache.
166
- local code
204
+ # The full pass, played for real: the night replays no log of the cache. Each step plays even
205
+ # when one before it is red; a step à repasser ends the night there, red if a step before it is.
206
+ local code tache avant
167
207
  GRILLHOUSE_ROUGES="$rouges" monter npm --prefix "$copie" run verifier -- --force
168
208
  code=$?
169
209
  if [ "$code" -eq 75 ]; then
170
210
  echo "⏱ la passe complète est à repasser (code 75) : un échec de durée sous charge, sans repos dans la borne."
171
211
  return 75
172
212
  fi
173
- [ "$code" -eq 0 ] || return 1
213
+ if [ "$code" -ne 0 ]; then
214
+ echo "✗ la passe complète (npm run verifier -- --force) a échoué."
215
+ etapes+=("la passe complète (npm run verifier -- --force)")
216
+ avant=${#taches[@]}
217
+ if [ -s "$rouges" ]; then
218
+ while IFS= read -r tache; do
219
+ [ -n "$tache" ] || continue
220
+ taches+=("$tache")
221
+ turbo+=(1)
222
+ done < "$rouges"
223
+ fi
224
+ if [ "${#taches[@]}" -eq "$avant" ]; then
225
+ taches+=("npm run verifier -- --force")
226
+ turbo+=(0)
227
+ fi
228
+ fi
174
229
  if [ -n "$(find "$copie" \( -name node_modules -o -name dist -o -name .git \) -prune -o \
175
230
  -type f -regextype posix-extended -regex '.*\.(nuit|budget)\.(test|spec)\.(c|m)?[jt]sx?' -print -quit)" ]; then
176
231
  bancs() { (cd "$copie" && monter npx --no-install vitest run --root "$copie" \
@@ -181,25 +236,36 @@ jouer() {
181
236
  echo "⏱ les bancs de temps ou les tests de nuit sont à repasser (code 75) : attente du repos, puis une relance."
182
237
  if ! node "$ici/vitest-config/pression.mjs" attendre; then
183
238
  echo "⏱ à repasser : pas de repos dans la borne."
184
- return 75
239
+ fin 75
240
+ return
185
241
  fi
186
242
  bancs
187
243
  code=$?
188
244
  if [ "$code" -eq 75 ]; then
189
245
  echo "⏱ à repasser : les bancs échouent encore sous charge après la relance."
190
- return 75
246
+ fin 75
247
+ return
191
248
  fi
192
249
  fi
193
250
  if [ "$code" -ne 0 ]; then
194
251
  echo "✗ les bancs de temps ou les tests de nuit (*.budget.*, *.nuit.*) ont échoué."
195
- return 1
252
+ etapes+=("les bancs de temps et les tests de nuit (*.budget.*, *.nuit.*)")
253
+ taches+=("les bancs de temps et les tests de nuit")
254
+ turbo+=(0)
196
255
  fi
197
256
  fi
198
- [ -n "$nuit" ] || return 0
199
- if ! monter npm --prefix "$copie" run "$nuit"; then
257
+ if [ -n "$nuit" ] && ! monter npm --prefix "$copie" run "$nuit"; then
200
258
  echo "✗ le script de nuit du projet \`npm run $nuit\` (grillhouse.nuit) a échoué."
201
- return 1
259
+ etapes+=("le script de nuit du projet (npm run $nuit, grillhouse.nuit)")
260
+ taches+=("npm run $nuit")
261
+ turbo+=(0)
202
262
  fi
263
+ fin 0
264
+ }
265
+ # The night's verdict once its steps are played: red when a step is red, else <code>.
266
+ fin() {
267
+ [ "${#etapes[@]}" -eq 0 ] || return 1
268
+ return "$1"
203
269
  }
204
270
  jouer >> "$journal" 2>&1
205
271
  verdict=$?
@@ -209,19 +275,30 @@ if [ "$verdict" -eq 75 ]; then
209
275
  exit 75
210
276
  fi
211
277
 
212
- # Opens the night ticket (subject « number — subject — parent », the number being the id without the
213
- # project's prefix as `bd config get issue_prefix` gives it), or comments the open one; prints its id.
278
+ # The open night tickets, read once; a ticket names a cause when its title holds « <cause> ».
279
+ ouverts=
280
+ commentes=" "
281
+ # Reports one cause: comments the open night ticket whose title names it (once a night), or opens
282
+ # its own (title « number — subject — parent », the number being the id without the project's
283
+ # prefix as `bd config get issue_prefix` gives it, the subject naming « <cause> »); its id goes to
284
+ # `numero`.
214
285
  signaler() {
215
- local sujet="$1" texte="$2" ouvert neuf= prefixe
216
- ouvert="$(cd "$racine" && bd list --status open --label nuit --json 2>/dev/null | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{try{const l=JSON.parse(s);process.stdout.write(l[0]?.id??"")}catch{}})')"
286
+ local cause="$1" sujet="$2" texte="$3" ouvert neuf= prefixe
287
+ [ -n "$ouverts" ] || ouverts="$(cd "$racine" && bd list --status open --label nuit --json 2>/dev/null)"
288
+ ouvert="$(printf '%s' "$ouverts" | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>{try{const c=`« ${process.argv[1]} »`;process.stdout.write(JSON.parse(s).find(t=>String(t.title??"").includes(c))?.id??"")}catch{}})' "$cause")"
217
289
  if [ -n "$ouvert" ]; then
218
- (cd "$racine" && bd comments add "$ouvert" "$texte" >/dev/null)
290
+ case "$commentes" in
291
+ *" $ouvert "*) ;;
292
+ *)
293
+ (cd "$racine" && bd comments add "$ouvert" "$texte" >/dev/null)
294
+ commentes="$commentes$ouvert " ;;
295
+ esac
219
296
  else
220
297
  neuf="$(cd "$racine" && bd create "$sujet" -t bug -p 1 -l nuit -d "$texte" --silent)"
221
298
  prefixe="$(cd "$racine" && bd config get issue_prefix 2>/dev/null)"
222
299
  [ -n "$neuf" ] && (cd "$racine" && bd update "$neuf" --title "${neuf#"$prefixe"-} — $sujet — parent" >/dev/null)
223
300
  fi
224
- echo "${ouvert:-$neuf}"
301
+ numero="${ouvert:-$neuf}"
225
302
  }
226
303
 
227
304
  if [ "$verdict" -eq 0 ]; then
@@ -237,7 +314,7 @@ Le dernier vert reste ${tete:0:7}.
237
314
  Journal : $journal
238
315
  Fin du journal :
239
316
  $(tail -40 "$journal")"
240
- numero="$(signaler "La poussée de la nuit est refusée sur ${tete:0:7}" "$texte")"
317
+ signaler "origin/$branche" "La poussée de la nuit est refusée sur ${tete:0:7} vers « origin/$branche »" "$texte"
241
318
  echo "✗ vert, poussée refusée : ticket ${numero:-neuf} (étiquette nuit)." >> "$journal"
242
319
  exit 1
243
320
  fi
@@ -247,23 +324,39 @@ fi
247
324
 
248
325
  vert="$(cat "$dossier/dernier-vert" 2>/dev/null || true)"
249
326
  intervalle="${vert:+${vert:0:7}..}${tete:0:7}"
250
- bissections=
251
- if [ -n "$vert" ] && [ -s "$rouges" ]; then
252
- bissections="Pour chaque tâche rouge, la commande qui cherche le commit fautif :"
253
- while IFS= read -r tache; do
254
- [ -n "$tache" ] || continue
255
- bissections="$bissections
256
- - $tache : git bisect start ${tete:0:7} ${vert:0:7} && git bisect run npx turbo run ${tache#*#} --filter=${tache%%#*}"
257
- done < "$rouges"
258
- bissections="$bissections
259
- "
327
+ # A red before any step (the copy, its mount, the keys, the installation) is the preparation's.
328
+ if [ "${#etapes[@]}" -eq 0 ]; then
329
+ etapes=("la préparation (la copie, ses sous-modules, les clés grillhouse, l'installation)")
330
+ taches=("la préparation")
331
+ turbo=(0)
260
332
  fi
333
+ liste="Étapes rouges :"
334
+ for e in "${etapes[@]}"; do
335
+ liste="$liste
336
+ - $e"
337
+ done
338
+ liste="$liste
339
+ Tâches rouges"
340
+ [ -n "$vert" ] && liste="$liste, avec pour une tâche de la passe complète la commande qui cherche le commit fautif"
341
+ liste="$liste :"
342
+ for i in "${!taches[@]}"; do
343
+ tache="${taches[$i]}"
344
+ if [ -n "$vert" ] && [ "${turbo[$i]}" -eq 1 ]; then
345
+ tache="$tache : git bisect start ${tete:0:7} ${vert:0:7} && git bisect run npx turbo run ${tache#*#} --filter=${tache%%#*}"
346
+ fi
347
+ liste="$liste
348
+ - $tache"
349
+ done
261
350
  texte="La nuit du $(date +%Y-%m-%d) est rouge sur ${tete:0:7}.
262
351
  Commits à chercher (git bisect) : $intervalle.
263
- ${bissections}Journal : $journal
352
+ $liste
353
+ Journal : $journal
264
354
  Fin du journal :
265
355
  $(tail -40 "$journal")"
266
- # A night ticket is the mother of its fixes.
267
- numero="$(signaler "La nuit est rouge depuis la nuit du $(date +%Y-%m-%d)" "$texte")"
268
- echo "✗ rouge : ticket ${numero:-neuf} (étiquette nuit)." >> "$journal"
356
+ # Each red task reports on the night ticket that names it, else on its own; a night ticket is the
357
+ # mother of its fixes.
358
+ for tache in "${taches[@]}"; do
359
+ signaler "$tache" "La nuit est rouge sur « $tache » depuis la nuit du $(date +%Y-%m-%d)" "$texte"
360
+ echo "✗ rouge : ticket ${numero:-neuf} (étiquette nuit) sur « $tache »." >> "$journal"
361
+ done
269
362
  exit 1
@@ -22,6 +22,12 @@
22
22
  // FAIT that carries one stops at « hors-portee », as a required check keeps a merge from a
23
23
  // change that does not pass it (BP 320.17: « critère 10 hors plan, non fait », in a handover
24
24
  // the circuit does not read, fell at the review) (developpeur);
25
+ // - `reponses` (`titre` of the finding, `etat` levé or contesté, `raison` for a contesté,
26
+ // `piece`): as the author answers in each thread of a review on GitHub or Gerrit, a FAIT
27
+ // answers each finding of the reviewer open for him, by its title, and the circuit refuses a
28
+ // sheet without the answer to one (`reponsesAuxConstats`) and gives the next review each answer
29
+ // under its finding (BP 320.21: the cause of his choice in a handover the circuit does not
30
+ // read, three RENDU, then the stop) (developpeur);
25
31
  // - `ecarts` (`sujet`, `texte`): the body of the commit message, written by the circuit, each
26
32
  // subject once, its value from the last sheet that carries it (developpeur, reviewer);
27
33
  // - `decouvertes` (`sujet`, `corps`): each one a ticket filed closed under the ticket, labelled
@@ -285,6 +291,23 @@ const FICHES = {
285
291
  ),
286
292
  'Chaque critère du ticket que tu ne tiens pas parce qu’il demande un paquet hors du plan ; le circuit monte au superviseur, qui étend le plan ou amende le critère.'
287
293
  ),
294
+ reponses: liste(
295
+ objet(
296
+ {
297
+ titre: texte('Le titre du constat, tel que ta consigne l’écrit.'),
298
+ etat: {
299
+ type: 'string',
300
+ enum: ['levé', 'contesté'],
301
+ description:
302
+ 'levé : ton lot le lève ; contesté : tu ne le lèves pas, avec ta raison.',
303
+ },
304
+ raison: texte('Contesté : pourquoi le lot reste tel quel.'),
305
+ piece: piece('Sa pièce, ce qui le lève ou ce qui fonde ta raison'),
306
+ },
307
+ ['titre', 'etat', 'piece']
308
+ ),
309
+ 'FAIT : ta réponse à chaque constat du relecteur ouvert pour toi, par son titre ; le relecteur la lit sous son constat. Le circuit refuse une fiche à laquelle il en manque une.'
310
+ ),
288
311
  ...ECARTS,
289
312
  ...DECOUVERTES,
290
313
  },
@@ -507,6 +530,17 @@ export function reponsesAuxQuestions(fiche, posees) {
507
530
  return sans.length ? `reponses : sans ligne pour les questions ${sans.join(', ')}` : null;
508
531
  }
509
532
 
533
+ // What makes the developpeur's sheet <fiche> out of conformity with the findings open for him
534
+ // (<titres>), as the author answers in each thread of a review: a FAIT without the answer to one,
535
+ // by its title (a BLOQUÉ or a BESOIN stops the circuit before any review). The fault, or null.
536
+ export function reponsesAuxConstats(fiche, titres) {
537
+ if (fiche.statut !== 'FAIT') return null;
538
+ const repondus = new Set((fiche.reponses ?? []).map(r => r.titre));
539
+ const sans = titres.filter(t => !repondus.has(t)).map(t => `« ${t} »`);
540
+ if (!sans.length) return null;
541
+ return `reponses : sans réponse ${sans.length > 1 ? 'aux constats' : 'au constat'} ${sans.join(', ')}`;
542
+ }
543
+
510
544
  // What makes the sheet of the tri <fiche> out of conformity with the discoveries <decouvertes> of
511
545
  // the ticket (their ids), as a reviewer gives a line to each element of its lot: a discovery
512
546
  // without its line, a line on an id out of the list, a discovery with two lines. The fault, or
@@ -571,10 +605,10 @@ function pieceDuTicket(reste) {
571
605
 
572
606
  // The pieces of the sheet <f>, each `[son chemin, son texte]`: of the stop it carries (a status,
573
607
  // a reviewer's question), of its findings, of its lines of conformity, of its questions, of its
574
- // criteria out of the plan, of the verdicts of a tri.
608
+ // criteria out of the plan, of the verdicts of a tri, of the developpeur's answers.
575
609
  const piecesDe = f => [
576
610
  ...('piece' in f ? [['piece', f.piece]] : []),
577
- ...['constats', 'conformite', 'questions', 'hors_plan', 'verdicts'].flatMap(k =>
611
+ ...['constats', 'conformite', 'questions', 'hors_plan', 'verdicts', 'reponses'].flatMap(k =>
578
612
  (f[k] ?? []).map((x, i) => [`${k}[${i}].piece`, x.piece]).filter(([, p]) => p !== undefined)
579
613
  ),
580
614
  ];
@@ -640,7 +674,8 @@ function horsDuTicket(f, description) {
640
674
  }
641
675
 
642
676
  // What a sheet of <role> needs beyond its schema: the reason of a BLOQUÉ, the question of a
643
- // BESOIN, the number of each criterion out of the plan, the packages of a plan and the number of each answer, the questions of a QUESTIONS, the text of a
677
+ // BESOIN, the number of each criterion out of the plan, the reason of a developpeur's answer
678
+ // contesté, the packages of a plan and the number of each answer, the questions of a QUESTIONS, the text of a
644
679
  // DÉSACCORD, the criterion or rule of a blocking finding, the reference of the rule each line of
645
680
  // a reviewer's conformity cites in its document and the recipient of a « non », and a reviewer's verdict that follows its blocking findings, its « non » among them
646
681
  // (RENDU with one, ACCEPTÉ without), the piece of a BLOQUÉ, a BESOIN and a reviewer's question,
@@ -694,6 +729,13 @@ function manques(role, f) {
694
729
  out.push(`hors_plan[${i}].critere : « ${h.critere} » n'est pas le numéro d'un critère`);
695
730
  }
696
731
  }
732
+ if (role === 'developpeur') {
733
+ for (const [i, r] of (f.reponses ?? []).entries()) {
734
+ if (r.etat === 'contesté' && !(typeof r.raison === 'string' && r.raison.trim())) {
735
+ out.push(`reponses[${i}].raison : manque, pour contesté`);
736
+ }
737
+ }
738
+ }
697
739
  if (role === 'explorateur') {
698
740
  if (!(f.paquets ?? []).length) out.push('paquets : manque, pour un plan');
699
741
  for (const [i, r] of (f.reponses ?? []).entries()) {
@@ -167,9 +167,32 @@ if [ -f "$root/package.json" ]; then
167
167
  fi
168
168
 
169
169
  # Once the architecture is written, the night (the full pass played for real, the night tests and
170
- # the time budget benches) needs its line in the crontab.
171
- if [ -f "$root/docs/ARCHITECTURE.md" ] && ! crontab -l 2>/dev/null | grep -qF "cd $root && node_modules/.bin/grillhouse nuit"; then
172
- nuit="0 3 * * * cd $root && node_modules/.bin/grillhouse nuit"
170
+ # the time budget benches) needs its line in the crontab. Under the crontab, `#!/usr/bin/env node`
171
+ # does not find a Node that nvm installed: the line sets the directory of the Node this script
172
+ # runs. A line of the crontab is the night's when it runs `cd <root> && node_modules/.bin/grillhouse
173
+ # nuit` and sets `PATH=<that directory>:`. A line that launches a nuit.sh under the root, absent
174
+ # (the frame's script before the package, 0.24.0; a relative path after `cd <root>`), is named
175
+ # with the line that replaces it, as brew doctor names a configuration that aims at a missing path.
176
+ nuit_absente=
177
+ if [ -f "$root/docs/ARCHITECTURE.md" ]; then
178
+ noeud="$(dirname "$(command -v node)")"
179
+ table="$(crontab -l 2>/dev/null | grep -v '^[[:space:]]*#')"
180
+ if ! printf '%s\n' "$table" | grep -F "cd $root && node_modules/.bin/grillhouse nuit" | grep -qF "PATH=$noeud:"; then
181
+ nuit="0 3 * * * export PATH=$noeud:\$PATH; cd $root && node_modules/.bin/grillhouse nuit"
182
+ while IFS= read -r ligne; do
183
+ read -ra mots <<< "$ligne"
184
+ for mot in "${mots[@]}"; do
185
+ mot="${mot%%[;&|]*}"
186
+ case "$mot" in
187
+ "$root"/*nuit.sh) chemin="$mot" ;;
188
+ /*) continue ;;
189
+ *nuit.sh) [[ "$ligne" == *"cd $root "* ]] || continue; chemin="$root/$mot" ;;
190
+ *) continue ;;
191
+ esac
192
+ [ -f "$chemin" ] || nuit_absente+="${nuit_absente:+ ; }lance $chemin, absent, par \`$ligne\`"
193
+ done
194
+ done <<< "$table"
195
+ fi
173
196
  fi
174
197
 
175
198
  # An epic is a chantier, at the root: one with a mother is a mother ticket typed by mistake.
@@ -189,7 +212,9 @@ fi
189
212
  if [ ${#wiring[@]} -gt 0 ]; then
190
213
  echo "À brancher : $(IFS=' '; echo "${wiring[*]}") dans le package.json de la racine. L'intégration (\`npx grillhouse integrer\`, contrat en tête de son script) et la nuit lancent \`npm run verifier\` (Turborepo, \`turbo.json\` : construction, puis gardes et tests), les agents \`npm test\` ; sans eux, l'intégration refuse chaque lot. Un projet testé par Vitest les reçoit de \`npm run grillhouse:maj\`, qui finit par \`npm run verifier\`, une passe longue : lance-la en tâche de fond et relis son code à la fin ; sinon, écris-les pour ses tests."
191
214
  fi
192
- if [ -n "${nuit:-}" ]; then
215
+ if [ -n "$nuit_absente" ]; then
216
+ echo "La nuit ne tourne plus : la table des tâches du poste $nuit_absente. Propose au responsable de remplacer cette ligne (\`crontab -e\`) par : \`$nuit\`."
217
+ elif [ -n "${nuit:-}" ]; then
193
218
  echo "La nuit n'est pas programmée : elle rejoue pour de vrai la passe complète, puis les tests de nuit et les bancs de budget, que le jour ne joue pas (\`npx grillhouse nuit\`). Propose au responsable d'ajouter à la table des tâches du poste (\`crontab -e\`) : \`$nuit\`."
194
219
  fi
195
220
  if [ -n "$epopees" ]; then
@@ -161,6 +161,11 @@ son adresse) : le circuit la consigne fermée sous ton ticket, et tu continues.
161
161
  critère reste non tenu pour cette raison, même quand ta fiche dit FAIT sur le reste ; le
162
162
  circuit s'arrête alors à 3 Code (`hors-portee`), et le superviseur étend le plan ou amende le
163
163
  critère. Une passation qui dit « hors plan, non fait » ne suffit pas : le circuit ne la lit pas ;
164
+ - `reponses` : sur FAIT, ta réponse à chaque constat du relecteur ouvert pour toi, par son
165
+ `titre` tel que ta consigne l'écrit : `levé`, avec sa `piece`, ou `contesté`, avec sa `raison`
166
+ et sa `piece` ; le circuit refuse une fiche à laquelle il en manque une, et le relecteur lit
167
+ chaque réponse sous son constat, comme l'auteur répond dans chaque fil d'une revue. Une
168
+ passation qui dit pourquoi tu gardes ton choix ne suffit pas : le relecteur ne la reçoit pas ;
164
169
  - `ecarts` : ce que le message de commit nomme, chacun sous son `sujet` (ce qui s'écarte :
165
170
  une référence, un test, un plafond), avec son `texte` ;
166
171
  - `decouvertes` : ce que le circuit consigne fermé sous le ticket.
@@ -183,8 +183,9 @@ remplace jamais le grill. Les branches de l'arbre :
183
183
  9. **Les interfaces** — pour chaque frontière : ce qui la traverse, qui offre, qui consomme, qui
184
184
  juge quelle faute, et le garde qui la tiendra.
185
185
  **Une fois les composants décidés**, la nuit entre dans la table des tâches du poste
186
- (`crontab -e` : `0 3 * * * bash <racine>/scripts/nuit.sh`) : elle rejoue pour de vrai la passe
187
- complète, puis les tests de nuit et les bancs de budget, que le jour ne joue pas. Chaque
186
+ (`crontab -e` : `0 3 * * * export PATH=<dossier de Node>:$PATH; cd <racine> && node_modules/.bin/grillhouse nuit`,
187
+ la ligne que propose l'ouverture de séance, avec le dossier du Node qui l'exécute, que la table
188
+ des tâches ne trouve pas seule) : elle rejoue pour de vrai la passe complète, puis les tests de nuit et les bancs de budget, que le jour ne joue pas. Chaque
188
189
  intégration joue `npm run verifier` en entier (les gardes et les tests), Turborepo relisant de
189
190
  son cache ce qui n'a pas bougé.
190
191
  Restent des choix selon la taille du projet, que le responsable tranche :
@@ -198,7 +198,9 @@ nomme le responsable, ce qui décide, les documents qu'il valide et les commande
198
198
  changement du cadre n'attend aucune livraison.
199
199
  - **La nuit se lit le matin** : la passe complète tourne pour de vrai une fois la nuit
200
200
  (`packages/grillhouse/scripts/nuit.sh`, `npm run verifier -- --force`), suivie des tests de nuit (`*.nuit.test.*`) et des
201
- bancs de budget (`*.budget.test.*`) ; un rouge ouvre un ticket étiqueté `nuit`, avec les commits où chercher ;
201
+ bancs de budget (`*.budget.test.*`), puis du script de nuit du projet, chaque étape jouée même
202
+ après un rouge ; chaque tâche rouge commente le ticket étiqueté `nuit` qui la nomme, ou ouvre le
203
+ sien, avec les commits où chercher, chaque étape et chaque tâche rouges ;
202
204
  une nuit « à repasser » (code 75 : des échecs de durée sous charge, sans repos) n'ouvre rien et
203
205
  garde le dernier vert, la nuit suivante rejoue. Je
204
206
  le lis en ouvrant la séance, et il passe avant tout autre ticket. Ainsi un défaut que les
@@ -6,7 +6,7 @@ tout le ticket, dans l'enveloppe du plan du ticket, le lanceur ajoutant ses sect
6
6
  consigne portant les constats du relecteur qui restent ouverts pour son rôle ; le second pour chaque séance du relecteur, hors
7
7
  enveloppe, après la passe finale verte, qui porte la liste des éléments du lot, et après un `RENDU` la relecture d'avant (la
8
8
  commande de la différence entre le lot qu'elle a lu et celui d'aujourd'hui, ses fichiers, les
9
- constats qui restent ouverts) et ne nomme que les fichiers que le lot change depuis elle ; le troisième pour la reprise
9
+ constats qui restent ouverts, chacun avec la réponse du développeur sous lui) et ne nomme que les fichiers que le lot change depuis elle ; le troisième pour la reprise
10
10
  de toute séance finie sans fiche conforme, neuve ou reprise, à la même séance ; le quatrième pour la reprise de la séance du testwriter
11
11
  ou du développeur, relancé sur son étape (le testwriter après une preuve refusée, le développeur
12
12
  après des contrôles rouges), sauf la dernière tentative, une séance neuve sur le premier ; le
@@ -67,7 +67,7 @@ LES RÉFÉRENCES QUE LE CIRCUIT RÉGÉNÈRE à l'étape 4.2, sur la copie entiè
67
67
 
68
68
  Ta séance finit sur ta fiche, que ton schéma décrit et que le circuit lit seule ; ta passation au ticket (`bd comments add`) reste, pour l'humain et la séance suivante de ton rôle : ce qui est fait, ce qui ne l'est pas et pourquoi.
69
69
 
70
- Testwriter : chaque test vert avant le code entre dans `verts_attendus` (son fichier depuis la racine, son nom complet tel que le rapport de la preuve l'écrit, sa raison) ; pour un fichier de tests que HEAD tient, adapté, dont tous les verts ont une même raison, le fichier et la raison seuls, qui n'excusent aucun rouge et ne valent rien sur un fichier neuf ; quand le ticket change un type ou un nom d'un paquet du plan, tu migres aussi, dans la même séance, la matière de test partagée et les tests du plan qui le lisent. Développeur : quand le rouge qui reste est dans les tests du lot, ta fiche porte `renvoi` (testwriter), et le circuit relance le testwriter, puis la preuve et ta séance ; un critère que tu ne tiens pas parce qu'il demande un paquet hors du plan va dans `hors_plan` (son numéro, ce paquet, sa pièce), même quand ta fiche dit FAIT, et le circuit monte au superviseur à 3 Code ; un écart que le commit doit nommer va dans `ecarts`, sous son sujet. Ainsi chaque rouge va à l'agent qui le lève.
70
+ Testwriter : chaque test vert avant le code entre dans `verts_attendus` (son fichier depuis la racine, son nom complet tel que le rapport de la preuve l'écrit, sa raison) ; pour un fichier de tests que HEAD tient, adapté, dont tous les verts ont une même raison, le fichier et la raison seuls, qui n'excusent aucun rouge et ne valent rien sur un fichier neuf ; quand le ticket change un type ou un nom d'un paquet du plan, tu migres aussi, dans la même séance, la matière de test partagée et les tests du plan qui le lisent. Développeur : quand le rouge qui reste est dans les tests du lot, ta fiche porte `renvoi` (testwriter), et le circuit relance le testwriter, puis la preuve et ta séance ; un critère que tu ne tiens pas parce qu'il demande un paquet hors du plan va dans `hors_plan` (son numéro, ce paquet, sa pièce), même quand ta fiche dit FAIT, et le circuit monte au superviseur à 3 Code ; sur FAIT, ta fiche répond à chaque constat du relecteur ouvert pour toi, par son titre, dans `reponses` (`levé` avec sa `piece`, ou `contesté` avec sa `raison` et sa `piece`), que le relecteur lit sous son constat, et le circuit refuse une fiche à laquelle il en manque une ; un écart que le commit doit nommer va dans `ecarts`, sous son sujet. Ainsi chaque rouge va à l'agent qui le lève.
71
71
 
72
72
  Le `statut` de ta fiche : FAIT quand ta part est faite ; BLOQUÉ, avec sa `raison`, quand ce qui reste est hors de ta portée (dans les tests, dans la matière de test partagée, dans un fichier hors du plan, ou une décision hors de ton rôle) ; BESOIN, avec sa `question`, quand une réponse te manque pour avancer. Sur BESOIN, ou BLOQUÉ sans `renvoi`, le circuit s'arrête sans te relancer, et ta question monte au superviseur ; une découverte hors des critères va dans `decouvertes`, que le circuit consigne. Ainsi aucune séance ne tourne sur ce que son agent a dit hors de sa portée.
73
73
 
@@ -145,7 +145,7 @@ LES CONSTATS DU RELECTEUR QUI RESTENT OUVERTS pour ton rôle :
145
145
 
146
146
  {{constats}}
147
147
 
148
- Lève ce que disent ce rapport et ces constats, dans le cadre de ta consigne. Ta séance finit sur ta fiche, que le circuit lit : `statut` FAIT, BLOQUÉ avec sa `raison`, ou BESOIN avec sa `question`. Ainsi le circuit lit ta fin.
148
+ Lève ce que disent ce rapport et ces constats, dans le cadre de ta consigne. Ta séance finit sur ta fiche, que le circuit lit : `statut` FAIT, BLOQUÉ avec sa `raison`, ou BESOIN avec sa `question` ; développeur, sur FAIT, ta réponse à chacun de ces constats, par son titre (`reponses`). Ainsi le circuit lit ta fin.
149
149
  ```
150
150
 
151
151
  ## Questionneur, sur le plan (rempli par le circuit)
@@ -73,11 +73,12 @@ Quand ta consigne porte « LA RELECTURE D'AVANT » (un `RENDU` d'avant), tu reli
73
73
  différence du lot depuis elle, comme Gerrit fait relire la différence entre deux jeux de
74
74
  correctifs : le circuit garde le lot que chaque relecture a lu, et ta consigne nomme la commande
75
75
  de la différence (`git diff <lot d'avant> <lot d'aujourd'hui>`, dans la copie), ses fichiers et
76
- les constats d'avant.
76
+ les constats d'avant, chacun avec la réponse du développeur sous lui (« Réponse du développeur » :
77
+ `levé` ou `contesté` avec sa raison, et sa pièce).
77
78
 
78
79
  1. Chaque constat d'avant se juge levé ou non, sa preuve tirée de la différence, dans `suivi`
79
- (son titre, `levé` ou `non levé`, la preuve). Un constat non levé revient dans `constats`,
80
- bloquant, au même destinataire.
80
+ (son titre, `levé` ou `non levé`, la preuve). Une réponse `contesté` se juge sur sa raison et
81
+ sa pièce, relues, et ta preuve dit pourquoi elle tient ou non. Un constat non levé revient dans `constats`, bloquant, au même destinataire.
81
82
  2. Les six passes portent sur la différence : un constat bloquant neuf que le correctif crée,
82
83
  dans les lignes qu'il change, rend le lot.
83
84
  3. Un défaut hors de la différence et des constats d'avant est une remarque, et ne rend pas le