@roomi-fields/grillhouse 0.41.0 → 0.42.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.
@@ -5,5 +5,5 @@
5
5
  "author": {
6
6
  "name": "Romain Peyrichou"
7
7
  },
8
- "version": "0.41.0"
8
+ "version": "0.42.0"
9
9
  }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,28 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.42.0] - 2026-11-16
10
+
11
+ - **The guard refuses a style script of the root that launches the packages again** (grillhouse-6dt): the root keeps its own files (grillhouse-44b.9), and the guard `turbo-des-paquets` refused a root `lint` or `format:check` that names a file a package holds, but read paths alone; a script that delegates to the packages (`npm run lint --workspaces --if-present`, `-w <paquet>`, `turbo run lint`) names none and passed, so the root task `//#lint` played the style of every package a second time, the packages out of the frame included — BPScript's update went red on « ⛔ //#lint (code 1) », no guard naming the script. The guard now refuses such a script by its name, with the gesture. **Action for projects**: a project whose root `lint` or `format:check` launches its packages removes it, or reduces it to the files of the root; Turborepo plays the script of each package.
12
+
13
+ - **The CI of the frame fetches the submodules of the project, private ones included** (grillhouse-c42): the workflows of the template (`ci.yml`, `nuit.yml`) checked the repository out without its submodules, though the frame reads them on the poste (`grillhouse.partage`); a project whose guards and tests read one went red on GitHub — BPScript, « le sous-module du moteur n'est pas là (vendor/bp3-engine) » — and could not edit a generated workflow. Each checkout now takes the submodules, recursively (`submodules: recursive`), with the repository's secret `SOUS_MODULES` as its token when it exists, the workflow's own token otherwise. **Action for projects**: `npx grillhouse maj`, which rewrites the frame's workflows; a project with a private submodule creates the secret `SOUS_MODULES` of its repository (a token that reads the submodule's repository), and a workflow of its own that calls the frame's passes it (`secrets: inherit`).
14
+
15
+ - **A red workflow of main already given does not come back after a reading of bd that fails** (grillhouse-d4n.21): the wait of the supervisor gives a ticket reopened for a red workflow of main once, and keeps the reds given that still stand; but a reading of bd that failed (its 5 s delay on a loaded machine) was read as « no red », the memory was written empty, and the next reading gave the same red as new — SyntHub SH-br0.6.3 came back every 5 min, `--rappel` governing only the questions of the circuits. A failed reading now gives null (`fluxRougesDe`), which the wait leaves aside: the reds given stay as they are, and the next reading judges them. **Action for projects**: none.
16
+
17
+ - **The context of `--depuis <role>` tells the other agent whom it was given to** (grillhouse-d4n.16): the text of `--contexte` heads the instruction of each agent of the run as « TA TÂCHE » ; given with `--depuis testwriter` (« écris les tests… »), the developpeur launched after the proof read it as his own, refused it — his role writes no test — and sent the lot back to the testwriter, twice: the stop « sans-livraison » (SyntHub SH-ae6.6.1). The run now keeps the role the context was given to (`destinataire`, in the memory of its acts); that agent still reads « TA TÂCHE », the other one reads « LA TÂCHE DU SUPERVISEUR, donnée au <rôle> … » and that his share is his own role's. **Action for projects**: none.
18
+
19
+ - **A plan the explorateur writes again keeps the packages the supervisor gave it** (grillhouse-d4n.17): `--etendre` wrote the gained package in the title alone; when the plan was written again (a description the responsable changed), the explorateur's packages replaced the title, the supervisor's extension gone, and the developpeur met the same file out of the plan — a second `--etendre .` on SyntHub SH-ae6.6.1. The extension is now kept among the sheets with the plan it extended (`etendus`), and a plan written again takes back each package it leaves out, in its order, said at the ticket (`avecLesEtendus`); `--recommencer`, which removes the sheets, starts the plan over without them. **Action for projects**: none.
20
+
21
+ - **`--etendre` answers a stopped circuit whose copy no longer loads** (grillhouse-mk7): the command read the order of the extended plan in the ticket's copy alone, and failed with the error of its tool when that tree did not load — `cargo metadata` (code 101) on a workspace whose member names a dependency its root does not declare, the very state `--etendre .` came to repair (OSC Bridge OB-20q.1). The order is now read in the copy, else in the main tree, else each gained package goes at the plan's end (`planEtendu`), and the line of the plan at the ticket says which when the copy did not load; the names the title writes are read the same way (`nomsDe`), a package keeping its path when no tree loads. **Action for projects**: none.
22
+
23
+ - **A session of the envelope finds uv, and plays `npm test` on a package of Python** (grillhouse-d4n.19): the home of an agent's envelope shows only what is declared, and the module `python` declared the Pythons uv installs (`~/.local/share/uv/python/`) but not uv itself, which its installer lays in `~/.local/bin/uv`. A testwriter or a developpeur whose plan holds a package of Python could not play its tests (« uv absent du PATH »), delivered without running them, and the checks, played out of the envelope, found the reds — the stop « sans-livraison » (SyntHub SH-br0.6.3). The module now declares `~/.local/bin/uv` among what its tools read, mounted read-only as cargo's home is. **Action for projects**: none.
24
+
25
+ - **A refused sheet names every fault of it in one refusal** (grillhouse-d4n.18): a session is taken up once on a refused sheet, but its faults were judged in layers, each hiding the next — what the sheet lacks, its pieces not found, those out of the ticket, then the session's own validation (the conformity of a review). A reviewer on a lot without a defect was refused for « RENDU sans constat bloquant », then for « conformite : sans ligne pour crates/service/Cargo.toml#service », a fault its first refusal did not name: the stop « sans-fiche » (SyntHub SH-ae6.6.1). A sheet that holds its schema is now judged whole: `lireFiche` names what it lacks, its pieces not found and those out of the ticket together, and gives the sheet read back beside them (`lue`), which `jusquALaFiche` gives to the session's validation, its faults joined to the same refusal. **Action for projects**: none.
26
+
27
+ - **The integration commits the lot the copy holds, even under a stale label `en-file`** (grillhouse-d4n.20): the integration read the label `en-file` alone as « the lot is already committed », and skipped its commit; a circuit whose branch waited in the queue and that went back to its plan, its tests or its code wrote a new lot in a new copy, which the integration then left uncommitted while it announced the tip of the branch — SyntHub SH-ae6.6.1 announced main's own commit, « la branche n'a rien en avance sur main », 13 files of the copy uncommitted. The label now skips the commit only when the copy holds no file of the lot (the integrator removes the copy of a lot it commits); a copy that holds one is committed, the branch set on it. **Action for projects**: none.
28
+
29
+ - **A circuit stopped on the supervisor's word leaves the queue of the tickets** (grillhouse-d4n.14, grillhouse-d4n.15): since the queue counts only the circuits alive (grillhouse-d0t, 0.39.0), a ticket stopped by `--arreter` stayed open and labelled `circuit`, its workflow ended, so the queue started it again at its next turn — SyntHub SH-ae6.6.1 stopped at 11:15 after its review, started again alone at 11:16, committed its lot and sent it to the CI. The act of the stop now takes the label `circuit` off the ticket (`sortirDeLaFile`), as the architecture already said, and the run that opens on the supervisor's answer (`--reprendre`, `--depuis`, `--etendre`) puts it back (`rentrerDansLaFile`); the effect `etiquettes` carries the labels taken off (`retirees`). **Action for projects**: none.
30
+
9
31
  ## [0.41.0] - 2026-11-16
10
32
 
11
33
  - **The « nuit rouge » alert of the board follows the verdict of the project's last night, not the presence of a `nuit` ticket** (grillhouse-o7g): the alert was built by looping over the open tickets labelled `nuit`, so it stayed after the night turned green (OSC Bridge: 6 h after a green night). The night pass (`scripts/nuit.sh`) now writes, at its end, a durable verdict per project in `<git common dir>/nuit/verdict` (`scripts/verdict-de-la-nuit.mjs`): green on exit 0, red on any other code but 75, and 75 (« à repasser ») writes nothing and leaves the previous verdict. The board reads it without a server: the alert stands while it is red (naming each open `nuit` ticket, or « Nuit rouge » alone when none is open), falls on green, and is not posed when no night is known or the file does not read; on a board of several projects each alert follows its own project's verdict. The `nuit` ticket keeps its cycle: the green does not close or change it. **Action for projects**: none; the alert appears after the next night's verdict.
@@ -96,6 +96,10 @@ jobs:
96
96
  uses: actions/checkout@v5
97
97
  with:
98
98
  fetch-depth: 0
99
+ # The submodules of the project, a private one read by the repository's secret SOUS_MODULES
100
+ # (a token that reads it); without the secret, the workflow's own token.
101
+ submodules: recursive
102
+ token: ${{ secrets.SOUS_MODULES || github.token }}
99
103
 
100
104
  - name: Setup Node.js ${{ matrix.node-version }}
101
105
  uses: actions/setup-node@v5
@@ -139,6 +143,10 @@ jobs:
139
143
  uses: actions/checkout@v5
140
144
  with:
141
145
  fetch-depth: 0
146
+ # The submodules of the project, a private one read by the repository's secret SOUS_MODULES
147
+ # (a token that reads it); without the secret, the workflow's own token.
148
+ submodules: recursive
149
+ token: ${{ secrets.SOUS_MODULES || github.token }}
142
150
 
143
151
  - name: Setup Node.js ${{ matrix.node-version }}
144
152
  uses: actions/setup-node@v5
@@ -194,6 +202,11 @@ jobs:
194
202
  steps:
195
203
  - name: Checkout
196
204
  uses: actions/checkout@v5
205
+ with:
206
+ # The submodules of the project, a private one read by the repository's secret SOUS_MODULES
207
+ # (a token that reads it); without the secret, the workflow's own token.
208
+ submodules: recursive
209
+ token: ${{ secrets.SOUS_MODULES || github.token }}
197
210
 
198
211
  - name: Setup Node.js ${{ matrix.node-version }}
199
212
  uses: actions/setup-node@v5
@@ -39,6 +39,10 @@ jobs:
39
39
  uses: actions/checkout@v5
40
40
  with:
41
41
  fetch-depth: 0
42
+ # The submodules of the project, a private one read by the repository's secret SOUS_MODULES
43
+ # (a token that reads it); without the secret, the workflow's own token.
44
+ submodules: recursive
45
+ token: ${{ secrets.SOUS_MODULES || github.token }}
42
46
 
43
47
  - name: Setup Node.js ${{ matrix.node-version }}
44
48
  uses: actions/setup-node@v5
@@ -93,6 +97,11 @@ jobs:
93
97
  steps:
94
98
  - name: Checkout
95
99
  uses: actions/checkout@v5
100
+ with:
101
+ # The submodules of the project, a private one read by the repository's secret SOUS_MODULES
102
+ # (a token that reads it); without the secret, the workflow's own token.
103
+ submodules: recursive
104
+ token: ${{ secrets.SOUS_MODULES || github.token }}
96
105
 
97
106
  - name: Setup Node.js ${{ matrix.node-version }}
98
107
  uses: actions/setup-node@v5
@@ -779,7 +779,7 @@ chaque lot traité, sans tube ni veille à durée (grillhouse-d4n.9 : une attent
779
779
  derrière `| tail` n'a été lue par personne pendant 40 min). Une question toujours sans réponse
780
780
  (le circuit est arrêté sur la même clé) est re-présentée toutes les 5 min
781
781
  (`--rappel <minutes>`), comme SQS redonne un message non acquitté après son délai de visibilité,
782
- jusqu'à ce que le circuit quitte l'arrêt ; un ticket que la file a rouvert pour un flux de main rouge (étiquette `flux-rouge`, ouvert) se rend aussi comme un lot, une fois, avec l'adresse du passage, et plus une fois repris ou refermé ; une clé qui change est une question neuve, rendue
782
+ jusqu'à ce que le circuit quitte l'arrêt ; un ticket que la file a rouvert pour un flux de main rouge (étiquette `flux-rouge`, ouvert) se rend aussi comme un lot, une fois, avec l'adresse du passage, et plus une fois repris ou refermé (une lecture de bd en échec ne dit rien des rouges, et laisse tels quels ceux déjà rendus) ; une clé qui change est une question neuve, rendue
783
783
  aussitôt. `.claude/worktrees/questions-remontees.json` garde, par arrêt, `depuis` (sa première
784
784
  remontée) et `presentee` (sa dernière présentation), en ms ; un fichier à l'ancien format (liste de
785
785
  clés) se lit, ses arrêts prenant l'heure de la lecture. Le tableau les lit : une alerte par
@@ -1118,7 +1118,8 @@ aussi les branches `agent/**` que pousse la file), et `nuit.yml`, les tests de n
1118
1118
  poste, tels que Grillhouse les joue chez lui. Chaque job tourne sur la variable `RUNNER` du dépôt
1119
1119
  (`fromJSON(vars.RUNNER || '"ubuntu-latest"')`, une étiquette ou une liste d'étiquettes en JSON,
1120
1120
  la convention de SyntHub), qui vit dans les réglages du dépôt sur GitHub et qu'aucun fichier
1121
- n'écrit. Les tranches couvrent chaque langage, chaque test joué une fois dans leur union :
1121
+ n'écrit. Chaque récupération du dépôt prend ses sous-modules (`submodules: recursive`), un
1122
+ sous-module privé par le secret `SOUS_MODULES` du dépôt, sinon par le jeton du flux. Les tranches couvrent chaque langage, chaque test joué une fois dans leur union :
1122
1123
  Vitest par son découpage (`--shard`), cargo par celui de nextest (`--partition hash:i/n`, ses
1123
1124
  doctests dans la première tranche), Python, que pytest ne découpe pas, dans la première tranche
1124
1125
  seule ; la fusion ne relit que les rapports de Vitest, et un rouge de cargo ou de Python est le
@@ -1578,7 +1579,8 @@ enregistrer-la-base-de-reference.mjs`, avec la version épinglée d'alors) quand
1578
1579
  reste comptée par le disque libre réel. Repris, il redemande lui-même sa place
1579
1580
  (`reserverDesCircuits`, son rang d'arrivée gardé) et attend, à l'étape `attend-une-place`, avant
1580
1581
  de rouvrir. À 1, le suivant part quand le précédent finit ou se met en pause. Un déroulé ne se ferme qu'intégré (son ticket fermé dans Beads) ou arrêté sur le
1581
- mot du superviseur (`--arreter`, l'étiquette `circuit` retirée) : Beads, le registre durable,
1582
+ mot du superviseur (`--arreter`, l'étiquette `circuit` retirée par l'acte de l'arrêt, `sortirDeLaFile` de
1583
+ `scripts/circuit.mjs`, et remise par le run qui s'ouvre sur sa réponse, `rentrerDansLaFile`) : Beads, le registre durable,
1582
1584
  le garde de repartir. Un circuit vivant dont le ticket est fermé hors de son circuit (livré en
1583
1585
  direct), avant son intégration, ne compte plus : la file l'arrête (`ARRETER`) à son réveil
1584
1586
  suivant et écrit sa ligne « termine » au journal des états (`fermesHorsCircuit` de
package/docs/INTERFACE.md CHANGED
@@ -200,8 +200,8 @@ noyau, et chaque réponse décrit sans agir, sauf `verifier` d'un fichier engend
200
200
  écrits ; `~/.cargo/` (son `env`, que les shells sourcent, sa configuration, ses binaires) et
201
201
  `~/.rustup/` lus ; `python` : `.venv/` et `.pytest_cache/`, où ses commandes font écrire uv et pytest pour chaque
202
202
  paquet, et `~/.cache/grillhouse/uv/` écrits,
203
- `__pycache__` propre (le code-octet de Python, sous un seul arbre à la racine), les Python de uv,
204
- `~/.local/share/uv/python/`, lus.
203
+ `__pycache__` propre (le code-octet de Python, sous un seul arbre à la racine), uv lui-même, là où son
204
+ installeur le pose (`~/.local/bin/uv`), et les Python de uv, `~/.local/share/uv/python/`, lus.
205
205
  - `droits` : les règles de Claude Code qui refusent à un rôle qui écrit l'outil de test lancé
206
206
  directement ; `typescript`, Vitest et Turborepo ; `cargo`, `cargo test` et `cargo nextest` ;
207
207
  `python`, pytest, seul, par Python ou par `uv run`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomi-fields/grillhouse",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "description": "Roomi's Grillhouse: the frame's scripts, called by one command, grillhouse <sous-commande>",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -1024,7 +1024,8 @@ export function integrer(ctx) {
1024
1024
  // when the ticket is labelled `en-file` (the queue takes it off) or the copy holds no file of the
1025
1025
  // lot (a copy that holds one still has a lot to commit — a second commit of a reopened ticket, for
1026
1026
  // example).
1027
- if (enFile || !(tests.length || code.length)) {
1027
+ const sansLot = !(tests.length || code.length);
1028
+ if (enFile || sansLot) {
1028
1029
  // A lot already on main (`lotSurMain`, the one rule the integrator publishes): the ticket
1029
1030
  // finishes at integre, and its copy goes with its working directory, as the integrator removes
1030
1031
  // the copy after a commit (here the ticket is done, so `.travail` goes too — no `--garder-travail`).
@@ -1059,7 +1060,7 @@ export function integrer(ctx) {
1059
1060
  // A lot already committed but not yet on main: its ticket is labelled `en-file`
1060
1061
  // (scripts/integration/integrer.mjs) until the queue takes it off, as a job of a CI keyed by its
1061
1062
  // commit is not run twice. The integration plays again without a second commit, then the queue.
1062
- if (enFile) {
1063
+ if (enFile && sansLot) {
1063
1064
  return finir(
1064
1065
  `la branche ${branche} est déjà en file : le lot est déjà commité, aucun second commit.\n`,
1065
1066
  { code: 0, deja: true, enFile: true }
@@ -1067,7 +1068,14 @@ export function integrer(ctx) {
1067
1068
  }
1068
1069
  // No lot to apply and no commit on main: refused by its name, as the integrator refuses a direct
1069
1070
  // call in the same case (the one rule `lotSurMain` deciding).
1070
- return finir(`${refusLotAbsent(ctx.ticket)}\n`, { code: 1, nom: 'lot-absent' });
1071
+ if (sansLot) {
1072
+ return finir(`${refusLotAbsent(ctx.ticket)}\n`, { code: 1, nom: 'lot-absent' });
1073
+ }
1074
+ // Labelled `en-file`, not on main, and the copy holds a lot: the lot was written after the
1075
+ // commit the label names (the circuit went back to its plan, its tests or its code while the
1076
+ // branch waited for its CI), and the integrator removes the copy of a lot it commits. The label
1077
+ // is stale: the lot of the copy is committed below, the branch set on it, as a new push to a
1078
+ // pull request replaces the commit its merge queue holds.
1071
1079
  }
1072
1080
  const dansCopie = (...a) =>
1073
1081
  spawnSync('git', ['-C', ctx.copie, ...a], { encoding: 'utf8', maxBuffer: 256 * 1024 * 1024 });
@@ -529,7 +529,9 @@
529
529
  // change since its last green is read back (scripts/transitions.mjs). With the developpeur's
530
530
  // or the testwriter's step, it has the lot corrected: the whole ticket from
531
531
  // that step, the text of `--contexte` the task at the head of each agent's instruction in the
532
- // run, the reviewer's line CONTEXTE (after a stop
532
+ // run (the agent whose step `--depuis` names reads it as his task; the other one reads whom it
533
+ // was given to, and does his own role's share: `constatsDeLaSeance` of scripts/seances.mjs),
534
+ // the reviewer's line CONTEXTE (after a stop
533
535
  // « integration », from the developpeur, the refusal as his report, the red to lift, as a merge
534
536
  // queue sends the lot back to its author with the log of its check; from the testwriter, the
535
537
  // refusal dropped), as a retry
@@ -553,7 +555,9 @@
553
555
  // cancels the act under way, its session with it, then the state keeps its step, its stop
554
556
  // « arrete », its question lifted, its motive (`--contexte`) as its report, said at the ticket
555
557
  // (`Circuit · arret : le superviseur arrête le circuit : <motif>`), and the workflow ends, giving
556
- // that state back, which an answer reopens from.
558
+ // that state back, which an answer reopens from. The ticket leaves the queue of the tickets, its
559
+ // label `circuit` taken off (`sortirDeLaFile`): the queue does not start it again, and the run
560
+ // that opens on the supervisor's answer puts the label back (`rentrerDansLaFile`).
557
561
  // - On a stop other than 0, the circuit applies its gesture when one settles it (`a-repasser`:
558
562
  // it ends at 75), the gesture written at the ticket and in the log; every other stop goes up to
559
563
  // the supervisor (`monter`): its question (MONTEES of scripts/etapes.mjs, or the agent's own
@@ -1906,6 +1910,31 @@ function ecrireLePlan(ctx, plan, description = null) {
1906
1910
  return titre;
1907
1911
  }
1908
1912
 
1913
+ /**
1914
+ * The plan <paquets> the explorateur writes for <ctx>, with each package the supervisor gave the
1915
+ * plan (`--etendre`, kept among the sheets, `etendus`) that it leaves out, in its order
1916
+ * (`planEtendu`), said at the ticket: the supervisor's word on the plan stands until he changes
1917
+ * it, as a reviewer's requested change stays on a pull request its author pushes again, and a plan
1918
+ * written again (a description the responsable changed) does not send the developpeur back to the
1919
+ * stop « hors-plan » the extension had lifted. `--recommencer`, which removes the sheets, starts
1920
+ * the plan over without them.
1921
+ */
1922
+ export function avecLesEtendus(ctx, paquets) {
1923
+ const donnes = lesFiches(ctx).flatMap(e =>
1924
+ e.role === AUTEUR_DU_CIRCUIT ? (e.plan?.etendus ?? []) : []
1925
+ );
1926
+ const gardes = [...new Set(donnes)].filter(c => !paquets.includes(c));
1927
+ if (!gardes.length) {
1928
+ return paquets;
1929
+ }
1930
+ commenter(
1931
+ ctx,
1932
+ 'plan',
1933
+ `le plan garde ${nomsDe(ctx, gardes).join(', ')}, que le superviseur lui a donné (\`--etendre\`).`
1934
+ );
1935
+ return planEtendu(ctx, paquets, gardes).plan;
1936
+ }
1937
+
1909
1938
  // What makes the packages of the sheet <fiche> of the explorateur out of conformity, or null: a
1910
1939
  // package that names neither a package nor a path of the repository, one package named twice
1911
1940
  // (by its name and by its path), or a component of the survey of the plan's description
@@ -2069,7 +2098,7 @@ const PAS_DU_PLAN = {
2069
2098
  );
2070
2099
  ecrireLePlan(
2071
2100
  ctx,
2072
- plan.paquets.map(ctx.resoudre),
2101
+ avecLesEtendus(ctx, plan.paquets.map(ctx.resoudre)),
2073
2102
  decrireLePlan(e.avant, plan.criteres, plan.questions, sorteEcrite(plan), plan.noms_publies)
2074
2103
  );
2075
2104
  const ouvertes = plan.questions.length ? `\n${lignesOuvertes(plan.questions)}` : 'aucune';
@@ -2168,7 +2197,7 @@ const PAS_DU_PLAN = {
2168
2197
  const plans = [{ fiche: premier }, { fiche: plan, reponse: true }];
2169
2198
  ecrireLePlan(
2170
2199
  ctx,
2171
- plan.paquets.map(ctx.resoudre),
2200
+ avecLesEtendus(ctx, plan.paquets.map(ctx.resoudre)),
2172
2201
  decrireLePlan(
2173
2202
  e.avant,
2174
2203
  plan.criteres,
@@ -2241,9 +2270,26 @@ export async function arreter(ctx, e) {
2241
2270
  });
2242
2271
  const pourquoi = ctx.contexte ? ` : ${ctx.contexte}` : '.';
2243
2272
  commenter(ctx, 'arret', `le superviseur arrête le circuit${pourquoi}`);
2273
+ sortirDeLaFile(ctx);
2244
2274
  return 0;
2245
2275
  }
2246
2276
 
2277
+ // The label `circuit` is the ticket's place in the queue of the tickets of its project
2278
+ // (scripts/file-des-tickets.mjs `enFile`), which starts every open ticket that holds it and whose
2279
+ // circuit does not run. A circuit stopped on the supervisor's word leaves that queue, its label
2280
+ // taken off, as a change whose approval is withdrawn leaves a merge queue (bors `r-`, Zuul's
2281
+ // dequeue): Beads keeps the ticket from starting again until his word reopens it.
2282
+ export const sortirDeLaFile = ctx =>
2283
+ emettre(ctx, { genre: 'etiquettes', ticket: ctx.ticket, etiquettes: [], retirees: ['circuit'] });
2284
+
2285
+ // The run of <ctx> that opens on the supervisor's answer to that stop (the state <e> it resumes
2286
+ // from, its stop « arrete ») is in the circuit again: its label put back.
2287
+ export function rentrerDansLaFile(ctx, e) {
2288
+ if (e?.raison === 'arrete') {
2289
+ emettre(ctx, { genre: 'etiquettes', ticket: ctx.ticket, etiquettes: ['circuit'] });
2290
+ }
2291
+ }
2292
+
2247
2293
  // The plan <paquets> of the repository at <base>, each a directory relative to it, extended by
2248
2294
  // <gagnes>: each one enters before the first package of the plan that reads it, as the module of
2249
2295
  // the language reads its components (`lecteurs` of the join, its `lit` and its `parLesTests`: the
@@ -2273,6 +2319,39 @@ export function ordonnerLePlan(base, paquets, gagnes) {
2273
2319
  return plan;
2274
2320
  }
2275
2321
 
2322
+ /**
2323
+ * The plan <paquets> of <ctx> extended by <gagnes>, in the order `ordonnerLePlan` reads: in the
2324
+ * ticket's copy; when the copy does not load (a manifest a session left broken: `cargo metadata`
2325
+ * refuses a workspace whose member names a dependency its root does not declare), in the main
2326
+ * tree; when neither loads, each gained package at the plan's end. The supervisor's answer to a
2327
+ * stopped circuit never fails on the tree it comes to repair, as a command that answers a workflow
2328
+ * does not need its working tree to build. `{ plan, lu }`: where the order was read, `copie`,
2329
+ * `principal`, or `aucun`.
2330
+ */
2331
+ export function planEtendu(ctx, paquets, gagnes) {
2332
+ const bases = [
2333
+ ...(existsSync(ctx.copie) ? [['copie', ctx.copie]] : []),
2334
+ ['principal', ctx.racine],
2335
+ ];
2336
+ for (const [lu, base] of bases) {
2337
+ try {
2338
+ return { plan: ordonnerLePlan(base, paquets, gagnes), lu };
2339
+ } catch {
2340
+ // This tree does not load: the next one is read.
2341
+ }
2342
+ }
2343
+ return { plan: [...paquets, ...gagnes], lu: 'aucun' };
2344
+ }
2345
+
2346
+ // What the line of the plan at the ticket says of the tree its order was read in, when the copy of
2347
+ // the ticket exists and does not load.
2348
+ const ORDRE_LU = {
2349
+ copie: '',
2350
+ principal: " (l'ordre du plan est lu dans l'arbre principal : la copie ne se charge pas)",
2351
+ aucun:
2352
+ " (le paquet gagné va en fin de plan : ni la copie ni l'arbre principal ne se chargent pour l'ordonner)",
2353
+ };
2354
+
2276
2355
  // The plan extended by the supervisor to the packages of `--etendre` (each a path or a package
2277
2356
  // name of the repository, else a Usage): each one enters the title in the order of
2278
2357
  // `ordonnerLePlan`, written by bd and said at the ticket. With the state <e>, the run then resumes
@@ -2283,15 +2362,22 @@ export function ordonnerLePlan(base, paquets, gagnes) {
2283
2362
  // the plan extended. The state the run resumes from.
2284
2363
  function etendre(ctx, e) {
2285
2364
  const gagnes = [...new Set(ctx.etendre.map(ctx.resoudre))].filter(c => !ctx.paquets.includes(c));
2286
- const base = existsSync(ctx.copie) ? ctx.copie : ctx.racine;
2287
- const plan = ordonnerLePlan(base, ctx.paquets, gagnes);
2365
+ const { plan, lu } = planEtendu(ctx, ctx.paquets, gagnes);
2288
2366
  const titre = ecrireLePlan(ctx, plan);
2289
- // The plan the supervisor extends has passed: it is written, questioned no more.
2290
- inscrire(ctx, { role: AUTEUR_DU_CIRCUIT, plan: { empreinte: empreinteDuPlan(leTicket(ctx)) } });
2367
+ // The plan the supervisor extends has passed: it is written, questioned no more. The packages
2368
+ // he gives it are kept with it (`etendus`): a plan the explorateur writes again keeps them
2369
+ // (`avecLesEtendus`).
2370
+ inscrire(ctx, {
2371
+ role: AUTEUR_DU_CIRCUIT,
2372
+ plan: {
2373
+ empreinte: empreinteDuPlan(leTicket(ctx)),
2374
+ etendus: [...new Set(ctx.etendre.map(ctx.resoudre))],
2375
+ },
2376
+ });
2291
2377
  commenter(
2292
2378
  ctx,
2293
2379
  'plan',
2294
- `le superviseur étend le plan à ${ctx.etendre.join(', ')} : ${titre.split(' — ').at(-1)}.`
2380
+ `le superviseur étend le plan à ${ctx.etendre.join(', ')} : ${titre.split(' — ').at(-1)}${ORDRE_LU[lu]}.`
2295
2381
  );
2296
2382
  if (!e) {
2297
2383
  return e;
@@ -2310,6 +2396,7 @@ function etendre(ctx, e) {
2310
2396
 
2311
2397
  // The opening of <ctx> on <e> before its plan: `{ debut }`, or `{ code }`, a stop gone up.
2312
2398
  async function avantLePlan(ctx, e) {
2399
+ rentrerDansLaFile(ctx, e);
2313
2400
  if (ctx.etendre) {
2314
2401
  if (e?.etape === 'integre') {
2315
2402
  throw new Usage(`--etendre : le lot de ${ctx.ticket} est intégré.`);
@@ -27,7 +27,8 @@
27
27
  // - `resume-du-tri` `{ ticket, debut, ecritures }`: the line of the tri at the ticket, which reads
28
28
  // each discovery's writings when it is written (`{ decouverte, verdict, etiquettes, rouvre }`:
29
29
  // its comment, its labels, its reopening), its key in the comment;
30
- // - `etiquettes` `{ ticket, etiquettes }`: labels added to a ticket;
30
+ // - `etiquettes` `{ ticket, etiquettes, retirees }`: labels added to a ticket, and those taken off
31
+ // it (`retirees`, none when absent);
31
32
  // - `reouverture` `{ ticket }`: a ticket reopened.
32
33
  //
33
34
  // An effect that does not replay without harm carries the key it is played under (`AVEC_CLE`),
@@ -286,8 +287,13 @@ const JOUEURS = {
286
287
  const texte = `${debut} ; ${rouvertes.length ? `rouvertes sous a-valider : ${rouvertes.join(', ')}` : 'aucune rouverte'}${rates.length ? ` ; écritures en échec : ${rates.join(' ; ')}` : ''}.`;
287
288
  return commenterUneFois(ctx, { ticket, texte, auteur: AUTEUR_DU_CIRCUIT }, cle);
288
289
  },
289
- etiquettes(ctx, { ticket, etiquettes }) {
290
- return ctx.bd('update', ticket, ...etiquettes.flatMap(e => ['--add-label', e]));
290
+ etiquettes(ctx, { ticket, etiquettes, retirees = [] }) {
291
+ return ctx.bd(
292
+ 'update',
293
+ ticket,
294
+ ...etiquettes.flatMap(e => ['--add-label', e]),
295
+ ...retirees.flatMap(e => ['--remove-label', e])
296
+ );
291
297
  },
292
298
  reouverture(ctx, { ticket }) {
293
299
  const r = ctx.bd('show', ticket, '--json');
@@ -103,8 +103,9 @@ import { Arret, geste } from './ticket-du-circuit.mjs';
103
103
  // resumes, the rank of arrival, the sort of the ticket, what the opening reads of the project's
104
104
  // package.json (its tools, its data, its generated files), which every pass of a later act plays
105
105
  // with, each act in a process of its own, and the supervisor's context of the
106
- // run (`contexte`), which each session of the run reads at the head of its instruction; a context
107
- // the act is given (an answer's, a motive) is kept over it.
106
+ // run (`contexte`), which each session of the run reads at the head of its instruction, with the
107
+ // role it was given to (`destinataire`, the role `--depuis` names); a context the act is given
108
+ // (an answer's, a motive) is kept over it.
108
109
  const GARDEE = [
109
110
  ...MEMOIRE,
110
111
  'seanceReprise',
@@ -114,6 +115,7 @@ const GARDEE = [
114
115
  'donnees',
115
116
  'engendres',
116
117
  'contexte',
118
+ 'destinataire',
117
119
  ];
118
120
 
119
121
  // The bases of the passes of the contexts this act opened, which its end removes, its death
@@ -183,13 +185,19 @@ const optionsDe = reponse => {
183
185
  return {};
184
186
  }
185
187
  const contexteDuSuperviseur = reponse.contexte ?? null;
188
+ // The role the supervisor's context is given to: the agent whose step `--depuis` names; every
189
+ // other answer gives it to the step under way, no role named.
186
190
  if (reponse.genre === 'reprendre') {
187
- return { reprendre: true, contexte: contexteDuSuperviseur };
191
+ return { reprendre: true, contexte: contexteDuSuperviseur, destinataire: null };
188
192
  }
189
193
  if (reponse.genre === 'depuis') {
190
- return { depuis: reponse.role, contexte: contexteDuSuperviseur };
194
+ return {
195
+ depuis: reponse.role,
196
+ contexte: contexteDuSuperviseur,
197
+ destinataire: ['testwriter', 'developpeur'].includes(reponse.role) ? reponse.role : null,
198
+ };
191
199
  }
192
- return { etendre: reponse.paquets, contexte: contexteDuSuperviseur };
200
+ return { etendre: reponse.paquets, contexte: contexteDuSuperviseur, destinataire: null };
193
201
  };
194
202
 
195
203
  // The act <f> on the context <ctx>: its outcome and the effects it emitted (`effets`), its bases
@@ -14,7 +14,9 @@
14
14
  // (./commandes.mjs), and uv's cache, `~/.cache/grillhouse/uv` (UV_CACHE_DIR, ./commandes.mjs: the
15
15
  // frame's caches of compilation, never in the temporary directory); proper to the session, the
16
16
  // tree of the bytecode at the root, `__pycache__` (PYTHONPYCACHEPREFIX, ./commandes.mjs); read,
17
- // the Pythons uv installs, `~/.local/share/uv/python`. The version of Python is uv's choice, from
17
+ // uv itself where its installer lays it, `~/.local/bin/uv` (./binaires.mjs: without it a session
18
+ // of the envelope, whose home shows only what is declared, cannot play `npm test` on a package of
19
+ // Python), and the Pythons uv installs, `~/.local/share/uv/python`. The version of Python is uv's choice, from
18
20
  // `requires-python` and `.python-version`. The rules that refuse a role that writes pytest run
19
21
  // directly (`droits`).
20
22
  // - The packages, a file's, the test files, what the testwriter writes, of the manifests too, the
@@ -79,7 +81,7 @@ export default {
79
81
  sorties: {
80
82
  ecrites: ['.venv/', '.pytest_cache/', '~/.cache/grillhouse/uv/'],
81
83
  propres: [PYCACHE],
82
- lues: ['~/.local/share/uv/python/'],
84
+ lues: ['~/.local/bin/uv', '~/.local/share/uv/python/'],
83
85
  },
84
86
  // pytest run directly, by itself, by Python or by uv: `npm test` and `npm run verifier` play it.
85
87
  droits: [
@@ -251,8 +251,15 @@ function cheminsDuScript(script) {
251
251
  return chemins.map(m => m.replace(/^\.\//, ''));
252
252
  }
253
253
 
254
- // The refusals of the root's format and lint scripts at <racine> that name a file a package holds:
255
- // the root keeps its own files (grillhouse-44b.9), a package plays its own.
254
+ // Whether a root script launches the packages' own scripts again: npm's workspaces (`--workspaces`,
255
+ // `-ws`, `--workspace`, `-w`) or a run of Turborepo, which already plays each package's task.
256
+ const relanceLesPaquets = script =>
257
+ /(^|\s)(--workspaces?|-ws|-w)(=|\s|$)/.test(String(script)) ||
258
+ /(^|[\s;&|])(npx\s+)?turbo\s+run(\s|$)/.test(String(script));
259
+
260
+ // The refusals of the root's format and lint scripts at <racine> that name a file a package holds,
261
+ // or launch the packages' scripts again: the root keeps its own files (grillhouse-44b.9), a package
262
+ // plays its own.
256
263
  function controlesDeRacineRefuses(racine) {
257
264
  const dossiers = paquets(racine)
258
265
  .filter(p => !p.hors)
@@ -269,6 +276,12 @@ function controlesDeRacineRefuses(racine) {
269
276
  return refus;
270
277
  }
271
278
  for (const c of CONTROLES) {
279
+ if (relanceLesPaquets(scripts?.[c] ?? '')) {
280
+ refus.push(
281
+ `⛔ package.json : le script \`${c}\` de la racine (tâche \`//#${c}\`) relance les paquets (\`${scripts[c]}\`) ; Turborepo joue déjà le script \`${c}\` de chaque paquet du cadre : retire ce script, ou réduis-le aux fichiers de la racine.`
282
+ );
283
+ continue;
284
+ }
272
285
  for (const chemin of cheminsDuScript(scripts?.[c] ?? '')) {
273
286
  const { fixe, glob } = partieFixe(chemin);
274
287
  // A glob at the root's top (`*.mjs`) names the root's files; `**` reaches the packages.
@@ -946,6 +946,10 @@ function manques(role, f) {
946
946
  // seance }`, or `{ erreur }` naming what lacks or does not conform; with <copie>, the directory
947
947
  // of the copy, each file piece of the sheet stands in it, its file and its line; with <ticket>,
948
948
  // the description of the ticket, each piece of the ticket names a criterion or a section of it.
949
+ // A sheet that holds its schema is judged whole: what it lacks, its pieces not found and those out
950
+ // of the ticket are named together, and the sheet read comes back beside its faults (`lue`), so
951
+ // that its session's own validation names its faults in the same refusal — a session is taken up
952
+ // once on a refused sheet, as a linter reports every finding of a file in one run.
949
953
  export function lireFiche(role, sortie, { copie, ticket } = {}) {
950
954
  const schema = schemaDeFiche(role);
951
955
  if (!schema) {
@@ -962,17 +966,18 @@ export function lireFiche(role, sortie, { copie, ticket } = {}) {
962
966
  }
963
967
  const fiche = resultat.structured_output;
964
968
  const fautes = erreurs(schema, fiche, '');
965
- if (!fautes.length) {
966
- fautes.push(...manques(role, fiche));
969
+ if (fautes.length) {
970
+ return { erreur: `fiche non conforme : ${fautes.join(' ; ')}` };
967
971
  }
968
- if (!fautes.length && copie) {
972
+ fautes.push(...manques(role, fiche));
973
+ if (copie) {
969
974
  fautes.push(...introuvables(fiche, copie));
970
975
  }
971
- if (!fautes.length && typeof ticket === 'string') {
976
+ if (typeof ticket === 'string') {
972
977
  fautes.push(...horsDuTicket(fiche, ticket));
973
978
  }
974
979
  if (fautes.length) {
975
- return { erreur: `fiche non conforme : ${fautes.join(' ; ')}` };
980
+ return { erreur: `fiche non conforme : ${fautes.join(' ; ')}`, lue: fiche };
976
981
  }
977
982
  return { fiche, seance: resultat.session_id ?? null };
978
983
  }
@@ -592,7 +592,8 @@ export async function seance(
592
592
  const { tache, ouverts, constats, valider, repondre } = constatsDeLaSeance(
593
593
  ctx.contexte,
594
594
  gardes,
595
- role
595
+ role,
596
+ ctx.destinataire ?? null
596
597
  );
597
598
  // The last sign of life of a launch of this session, which a fresh session after a failed
598
599
  // resumption waits for while its group runs.
@@ -701,7 +702,12 @@ export async function seance(
701
702
  // task, and his sheet FAIT answers each by its title, refused without one (`valider`,
702
703
  // `reponsesAuxConstats`). Either way, each answer a developpeur's sheet gives is kept with its
703
704
  // finding (`repondre`, `avecLesReponses`).
704
- export function constatsDeLaSeance(contexte, constats, role) {
705
+ // A context the supervisor gave to another role (<destinataire>, the role `--depuis` names: the
706
+ // run plays that role's step, then the ones after it) heads the instruction under that role's
707
+ // name: what it asks of him is his session's work, and this session does its own role's share, as
708
+ // a job of a pipeline replayed with the variables of the retry reads those meant for another job
709
+ // without taking them for its own.
710
+ export function constatsDeLaSeance(contexte, constats, role, destinataire = null) {
705
711
  const siens = (constats ?? []).filter(c => c.role === role);
706
712
  const anciens = siens.filter(c => c.enContexte);
707
713
  const neufs = siens.filter(c => !c.enContexte);
@@ -714,9 +720,13 @@ export function constatsDeLaSeance(contexte, constats, role) {
714
720
  anciens.length && neufs.length
715
721
  ? `${texteDesOuverts(neufs)}\n\nPUIS ${enContexte} :\n\n${texteDesOuverts(anciens, neufs.length)}`
716
722
  : texteDesOuverts(siens);
723
+ const avant = `elle passe avant le ticket, le rapport${anciens.length ? ' et les constats donnés en contexte' : ''} ci-dessous`;
724
+ const autre = destinataire && destinataire !== role ? destinataire : null;
717
725
  return {
718
726
  tache: contexte
719
- ? `TA TÂCHE, que le superviseur te donne ; elle passe avant le ticket, le rapport${anciens.length ? ' et les constats donnés en contexte' : ''} ci-dessous :\n\n${contexte}\n\n`
727
+ ? autre
728
+ ? `LA TÂCHE DU SUPERVISEUR, donnée au ${nomDuRole(autre)} en relançant le circuit depuis son étape (\`--depuis ${autre}\`) ; ${avant}. Elle s'adresse à lui : ce qu'elle lui demande est le travail de sa séance, déjà jouée ; ta part est celle de ton rôle sur ce qu'elle vise, et tu ne lui renvoies pas ce qu'elle lui demandait :\n\n${contexte}\n\n`
729
+ : `TA TÂCHE, que le superviseur te donne ; ${avant} :\n\n${contexte}\n\n`
720
730
  : '',
721
731
  ouverts: titre,
722
732
  constats: texte,
@@ -893,9 +903,12 @@ export async function jusquALaFiche(ctx, role, texte, options = {}) {
893
903
  r.seance === 0
894
904
  ? lireSaFiche(ctx, reste.fiche ?? role, r.sortie)
895
905
  : { erreur: `la séance finit en erreur (code ${r.seance})` };
896
- const faute = lu.fiche ? valider(lu.fiche, essai) : null;
906
+ // The session's own validation judges a sheet that holds its schema, refused or not for what
907
+ // it lacks: every fault goes to the one resumption (scripts/resultats.mjs `lireFiche`).
908
+ const lue = lu.fiche ?? lu.lue ?? null;
909
+ const faute = lue ? valider(lue, essai) : null;
897
910
  if (faute) {
898
- lu = { erreur: `fiche non conforme : ${faute}` };
911
+ lu = { erreur: lu.erreur ? `${lu.erreur} ; ${faute}` : `fiche non conforme : ${faute}` };
899
912
  }
900
913
  if (lu.fiche) {
901
914
  // The session that gave it, which a resumption of it names (the plan's answer).
@@ -179,7 +179,7 @@ function lireLesIntegrations(racine, maintenant) {
179
179
  }
180
180
  // The tickets the queue reopened for a red workflow of main (label `flux-rouge`) that wait open, with
181
181
  // the address of the run, which the title of the queue's comment (scripts/integration/file.mjs)
182
- // gives in its second paragraph; none when bd does not read them.
182
+ // gives in its second paragraph; null when bd does not read them, which says nothing of the reds.
183
183
  export async function fluxRougesDe(racine) {
184
184
  // A repository without its base of tickets has no ticket to give, and bd is never launched.
185
185
  if (!existsSync(path.join(racine, '.beads'))) {
@@ -205,7 +205,8 @@ export async function fluxRougesDe(racine) {
205
205
  );
206
206
  return lots.flat();
207
207
  } catch {
208
- return [];
208
+ // A reading that fails says nothing of the reds: null, never « none ».
209
+ return null;
209
210
  }
210
211
  }
211
212
 
@@ -438,7 +439,7 @@ const aucunFerme = () => new Set();
438
439
  * <fluxRouges>: bd by default) is given as a batch of its own, once per run (`adresse`: the
439
440
  * workflow, the URL of the run, the commit), and again at another run; taken up or closed, it is
440
441
  * no longer given.
441
- * @param {{ racine: string, fermes?: (racine: string, ids: string[]) => Set<string> | null, pas?: number, signal?: AbortSignal, circuitsDe?: (racine: string, options?: { integres?: boolean }) => Promise<import('./circuits-du-serveur.mjs').CircuitDuServeur[]>, fluxRouges?: (racine: string) => { ticket: string, adresse: string }[] | Promise<{ ticket: string, adresse: string }[]>, maintenant?: () => number, rappel?: number }} options
442
+ * @param {{ racine: string, fermes?: (racine: string, ids: string[]) => Set<string> | null, pas?: number, signal?: AbortSignal, circuitsDe?: (racine: string, options?: { integres?: boolean }) => Promise<import('./circuits-du-serveur.mjs').CircuitDuServeur[]>, fluxRouges?: (racine: string) => { ticket: string, adresse: string }[] | null | Promise<{ ticket: string, adresse: string }[] | null>, maintenant?: () => number, rappel?: number }} options
442
443
  * @returns {Promise<{ ticket: string, etape: string, question: string, qui: string, commande: string, cle: string, representee?: boolean, integre?: boolean }[]>}
443
444
  * @throws {Error} another wait runs
444
445
  */
@@ -469,7 +470,8 @@ export async function attendreUneQuestion({
469
470
  const { depuis: debut, rendues } = lireLesIntegrations(racine, maintenant());
470
471
  let lue = debut;
471
472
  let lectureDesRouges = null;
472
- let rougesLus = null;
473
+ // The reds read: undefined while the reading runs, null when it failed.
474
+ let rougesLus;
473
475
  try {
474
476
  while (!signal?.aborted) {
475
477
  const avant = maintenant();
@@ -479,8 +481,8 @@ export async function attendreUneQuestion({
479
481
  lectureDesRouges ??= Promise.resolve()
480
482
  .then(() => fluxRouges(racine))
481
483
  .then(
482
- r => (rougesLus = Array.isArray(r) ? r : []),
483
- () => (rougesLus = [])
484
+ r => (rougesLus = Array.isArray(r) ? r : null),
485
+ () => (rougesLus = null)
484
486
  );
485
487
  try {
486
488
  circuits = await circuitsDe(racine, { integres: true });
@@ -489,9 +491,12 @@ export async function attendreUneQuestion({
489
491
  }
490
492
  await new Promise(resolve => setImmediate(resolve));
491
493
  let rouges = [];
492
- if (rougesLus) {
493
- rouges = releverLesFluxRouges(racine, rougesLus);
494
- rougesLus = null;
494
+ if (rougesLus !== undefined) {
495
+ // A failed reading leaves the reds given as they are: the next one judges them.
496
+ if (rougesLus) {
497
+ rouges = releverLesFluxRouges(racine, rougesLus);
498
+ }
499
+ rougesLus = undefined;
495
500
  lectureDesRouges = null;
496
501
  }
497
502
  if (signal?.aborted) {
@@ -244,8 +244,19 @@ export const entete = (ctx, etape) =>
244
244
  appendFileSync(ctx.journal, `=== ${heureLocale()} · circuit · ${etape} ===\n`);
245
245
 
246
246
  // The name of each package of <dossiers> as a title writes it: its component's name, or its path.
247
+ // The components are read in the ticket's copy; when the copy does not load (a manifest a session
248
+ // left broken), in the main tree; when neither loads, each package keeps its path — a title is
249
+ // written whatever the state of the tree (scripts/circuit.mjs `planEtendu`).
247
250
  export function nomsDe(ctx, dossiers) {
248
- const liste = composantsDe(existsSync(ctx.copie) ? ctx.copie : ctx.racine);
251
+ let liste = [];
252
+ for (const base of [...(existsSync(ctx.copie) ? [ctx.copie] : []), ctx.racine]) {
253
+ try {
254
+ liste = composantsDe(base);
255
+ break;
256
+ } catch {
257
+ // This tree does not load: the next one is read.
258
+ }
259
+ }
249
260
  return dossiers.map(d => liste.find(p => p.dossier === d)?.pkg.name ?? d);
250
261
  }
251
262
 
@@ -5,7 +5,7 @@ de lui : le premier pour chaque séance neuve du testwriter et du développeur,
5
5
  tout le ticket, dans l'enveloppe du plan du ticket, le lanceur ajoutant ses sections, chaque
6
6
  consigne portant les constats du relecteur qui restent ouverts pour son rôle, et, quand le
7
7
  superviseur relance le circuit avec `--contexte`, ce contexte en tête, comme sa tâche
8
- (`{{tache}}`), les constats ouverts au lancement de la passe devenant son contexte, après
8
+ (`{{tache}}` ; donné à un autre rôle par `--depuis <rôle>`, il se lit sous le nom de ce rôle, « LA TÂCHE DU SUPERVISEUR, donnée au … », et la séance en fait la part de son propre rôle), les constats ouverts au lancement de la passe devenant son contexte, après
9
9
  ceux qu'un `RENDU` pose dans la passe (`{{ouverts}}`, leur titre, et `{{constats}}`) ; le second pour chaque séance du relecteur, hors
10
10
  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
11
11
  commande de la différence entre le lot qu'elle a lu et celui d'aujourd'hui, ses fichiers, les