@roomi-fields/grillhouse 0.50.3 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +68 -0
  3. package/agents/developpeur.md +1 -1
  4. package/agents/direct.md +1 -1
  5. package/agents/explorateur.md +1 -1
  6. package/agents/questionneur.md +1 -1
  7. package/agents/relecteur.md +1 -1
  8. package/agents/testwriter.md +1 -1
  9. package/cadre/templates/c/package.json +1 -0
  10. package/cadre/templates/cargo/package.json +1 -0
  11. package/cadre/templates/python/package.json +1 -0
  12. package/charte/plan.md +47 -0
  13. package/charte/preuve.md +39 -0
  14. package/charte/superviseur.md +61 -0
  15. package/charte/tests.md +38 -0
  16. package/charte.md +39 -189
  17. package/dist/machine/part-par-sorte.d.ts +16 -0
  18. package/dist/machine/part-par-sorte.js +36 -0
  19. package/dist/machine/part-par-sorte.js.map +1 -0
  20. package/dist/temporal/circuit/appel.js +1 -1
  21. package/dist/temporal/circuit/appel.js.map +1 -1
  22. package/dist/temporal/circuit/client.d.ts +4 -4
  23. package/dist/temporal/circuit/client.js +38 -16
  24. package/dist/temporal/circuit/client.js.map +1 -1
  25. package/dist/temporal/circuit/contrat.d.ts +11 -7
  26. package/dist/temporal/circuit/contrat.js +5 -9
  27. package/dist/temporal/circuit/contrat.js.map +1 -1
  28. package/dist/temporal/circuit/deroule.js +18 -6
  29. package/dist/temporal/circuit/deroule.js.map +1 -1
  30. package/dist/temporal/commande.js +12 -3
  31. package/dist/temporal/commande.js.map +1 -1
  32. package/dist/temporal/installation.d.ts +54 -3
  33. package/dist/temporal/installation.js +187 -17
  34. package/dist/temporal/installation.js.map +1 -1
  35. package/dist/temporal/places/client.d.ts +5 -1
  36. package/dist/temporal/places/client.js +23 -11
  37. package/dist/temporal/places/client.js.map +1 -1
  38. package/docs/ARCHITECTURE.md +23 -2700
  39. package/docs/INTERFACE.md +26 -10
  40. package/docs/architecture/circuit.md +61 -14
  41. package/docs/architecture/entree.md +21 -8
  42. package/docs/architecture/greffon.md +49 -20
  43. package/docs/architecture/installation.md +46 -17
  44. package/docs/architecture/machine.md +79 -39
  45. package/docs/architecture/tests.md +59 -16
  46. package/docs/lexique.md +163 -0
  47. package/hooks/hooks.json +0 -10
  48. package/hooks/register.tsx +92 -4
  49. package/package.json +2 -1
  50. package/scripts/activites.mjs +105 -65
  51. package/scripts/aiguillage.mjs +15 -8
  52. package/scripts/attente-au-tour.mjs +2 -3
  53. package/scripts/attente-de-la-machine.mjs +4 -8
  54. package/scripts/avancement.mjs +12 -8
  55. package/scripts/bilan.mjs +126 -63
  56. package/scripts/bilans-gardes.mjs +37 -0
  57. package/scripts/branche-de-nuit.mjs +2 -2
  58. package/scripts/ci-de-main.mjs +18 -21
  59. package/scripts/circuit.mjs +89 -44
  60. package/scripts/circuits-du-serveur.mjs +5 -5
  61. package/scripts/composants-affectes.mjs +30 -12
  62. package/scripts/composition-des-langages.mjs +5 -3
  63. package/scripts/conformite.mjs +1 -1
  64. package/scripts/consommation-des-passes.mjs +8 -6
  65. package/scripts/copies-finies.mjs +3 -14
  66. package/scripts/depart-du-ticket.d.mts +8 -2
  67. package/scripts/depart-du-ticket.mjs +26 -8
  68. package/scripts/direct.mjs +158 -72
  69. package/scripts/droits.mjs +165 -208
  70. package/scripts/engendres.mjs +3 -14
  71. package/scripts/entree-de-seance.mjs +35 -0
  72. package/scripts/enveloppe/enveloppe.mjs +98 -46
  73. package/scripts/enveloppe/lancer.sh +90 -66
  74. package/scripts/enveloppe/paquets-du-plan.mjs +38 -11
  75. package/scripts/enveloppe/travail-de-la-copie.mjs +192 -3
  76. package/scripts/etapes.mjs +84 -22
  77. package/scripts/faits-du-circuit.mjs +8 -2
  78. package/scripts/grillhouse-maj.mjs +43 -18
  79. package/scripts/groupe-cles.d.mts +15 -0
  80. package/scripts/groupe-cles.mjs +77 -2
  81. package/scripts/init.mjs +9 -2
  82. package/scripts/integration/rejeu.mjs +8 -1
  83. package/scripts/jointure.d.ts +24 -4
  84. package/scripts/langages/c/index.mjs +5 -2
  85. package/scripts/langages/cargo/commandes.mjs +35 -15
  86. package/scripts/langages/cargo/composants.mjs +45 -3
  87. package/scripts/langages/cargo/index.mjs +6 -3
  88. package/scripts/langages/python/commandes.mjs +50 -7
  89. package/scripts/langages/python/index.mjs +5 -2
  90. package/scripts/langages/python/squelette.mjs +2 -1
  91. package/scripts/langages/typescript/chemins-des-tests.mjs +1 -1
  92. package/scripts/langages/typescript/index.mjs +16 -14
  93. package/scripts/langages/typescript/mise-a-jour.mjs +1 -1
  94. package/scripts/langages/typescript/rapports-aux-lignes.mjs +74 -0
  95. package/scripts/langages/typescript/turbo-des-paquets.mjs +151 -38
  96. package/scripts/langages/typescript/verdict.mjs +29 -3
  97. package/scripts/langages/typescript/verifier.mjs +28 -3
  98. package/scripts/langages/typescript/vitest-config/changements.mjs +8 -6
  99. package/scripts/langages/typescript/vitest-config/lances.mjs +15 -32
  100. package/scripts/langages.mjs +54 -4
  101. package/scripts/matieres-lues.mjs +1 -1
  102. package/scripts/mesure/base-de-passe.mjs +32 -90
  103. package/scripts/migrations/serveurs-de-l-index.mjs +79 -0
  104. package/scripts/migrations/suivi-du-superviseur-retire.mjs +56 -0
  105. package/scripts/migrations.mjs +23 -7
  106. package/scripts/nuit.sh +3 -2
  107. package/scripts/paquet.mjs +1 -1
  108. package/scripts/paquets.d.ts +3 -0
  109. package/scripts/paquets.mjs +88 -1
  110. package/scripts/passe-de-la-machine.mjs +109 -36
  111. package/scripts/places-de-la-machine.mjs +81 -29
  112. package/scripts/plafond-de-la-machine.d.mts +2 -5
  113. package/scripts/plafond-de-la-machine.mjs +9 -9
  114. package/scripts/reprise.mjs +42 -13
  115. package/scripts/resultats.mjs +78 -56
  116. package/scripts/retirer-les-copies-finies.mjs +1 -1
  117. package/scripts/seances.mjs +471 -133
  118. package/scripts/services-du-noyau.mjs +9 -1
  119. package/scripts/session-start.sh +22 -7
  120. package/scripts/sortie-de-seance.mjs +70 -0
  121. package/scripts/sortie.mjs +37 -6
  122. package/scripts/sous-commandes.mjs +0 -3
  123. package/scripts/superviseur.mjs +400 -162
  124. package/scripts/tableau.mjs +188 -65
  125. package/scripts/transitions.d.mts +25 -2
  126. package/scripts/transitions.mjs +137 -29
  127. package/scripts/verrous/ecriture-hors-enveloppe.mjs +31 -9
  128. package/skills/codebase-design/DESIGN-IT-TWICE.md +1 -1
  129. package/skills/developpeur/SKILL.md +38 -15
  130. package/skills/direct/SKILL.md +29 -9
  131. package/skills/domain-modeling/GLOSSARY-FORMAT.md +9 -9
  132. package/skills/domain-modeling/SKILL.md +14 -12
  133. package/skills/explorateur/SKILL.md +32 -8
  134. package/skills/grill/SKILL.md +3 -2
  135. package/skills/pitmaster/SKILL.md +80 -50
  136. package/skills/pitmaster/references/cadre.md +1 -1
  137. package/skills/pitmaster/references/consigne-agent.md +12 -11
  138. package/skills/pitmaster/references/tour.md +6 -5
  139. package/skills/relecteur/SKILL.md +13 -6
  140. package/skills/systematic-debugging/SKILL.md +281 -0
  141. package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  142. package/skills/systematic-debugging/condition-based-waiting.md +115 -0
  143. package/skills/systematic-debugging/defense-in-depth.md +122 -0
  144. package/skills/systematic-debugging/find-polluter.sh +72 -0
  145. package/skills/systematic-debugging/root-cause-tracing.md +169 -0
  146. package/skills/testwriter/SKILL.md +37 -31
  147. package/cadre/templates/projet/pitmaster/SUIVI.md +0 -22
  148. package/scripts/attente-a-l-arret.mjs +0 -114
  149. package/scripts/verrous/commande.mjs +0 -214
  150. package/scripts/verrous/verrou.mjs +0 -311
@@ -5,5 +5,5 @@
5
5
  "author": {
6
6
  "name": "Romain Peyrichou"
7
7
  },
8
- "version": "0.50.3"
8
+ "version": "0.52.0"
9
9
  }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,74 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.52.0] - 2026-11-28
10
+
11
+ - **The night reads the fallback statement without crashing** (grillhouse-hzc.1): `repli()` of `scripts/nuit.sh` read the state of the measures, a string, as a list; from 0.49.1 to 0.51.0, it threw a `TypeError`, wrote no line of the statement, named no red tranche and replayed no interrupted one. When the project's flow declares a job that plays the measures of time, the part of PC2 was then left to play again (75), naming the measures; without such a job (the flow of the template), the part of PC2 was reported green, red tranches unreported and interrupted ones never played. It now reads that state as a string, says which tranches played on PC2 and on PC3, names the red ones, replays the interrupted ones on PC3 and says what the part of PC2 is worth. The line of the measures of time is written only when the project's flow declares a job that plays them. **Action for projects**: none.
12
+ - **The greffon wakes the session of supervision for a question that waits for it only** (grillhouse-3uv.282): decided by the owner (2026-11-28), each message opening a turn that reads the whole context again. A reading carries the questions due and the alert of the CI of main: a circuit integrated gives nothing, it is read on the board, and the reading neither asks the server for integrated circuits nor writes `.claude/worktrees/integrations-rendues.json`. A question addressed to the owner from the start is sent once, for the supervisor to carry it to him, and never comes back at the reminder; the opening of a session still lists it. The hook at the end of a turn (`Stop`, subcommand `attente-a-l-arret`) is removed, with its note `.claude/worktrees/signale-a-l-arret.json`; a plugin older than the package that still declares it lets the stop pass. The skill `pitmaster` says that an integration opens no turn: the closing is read at the next round. A file of integrations or a note an earlier version wrote is no longer read. **Action for projects**: none.
13
+
14
+ - **The sessions of the explorer, the questioner, the testwriter and the reviewer keep their prompt cache five minutes** (grillhouse-3uv.275): decided by the owner (2026-11-27, « pas pour tous les agents »). Their settings add `FORCE_PROMPT_CACHING_5M=1` to their env block (`scripts/droits.mjs`): their turns mostly follow each other within five minutes, and a cache write kept five minutes costs 1.25 times an input, against 2 times for one hour. The developer and the direct do not receive it and keep Claude Code's default (one hour on the subscription): they often wait longer (tests, builds) and would lose by it (simulated: developer −3.6 %, direct −11.9 %). It is a trial to be measured (grillhouse-3uv.285): each of the four roles goes back to one hour as soon as its real cost exceeds that of its same traces replayed at one hour. **Action for projects**: none.
15
+
16
+ - **The session of supervision renews itself at a milestone** (grillhouse-3uv.283): decided by the owner (2026-11-28). The session that holds the lock writes its one note of resumption (`<git common dir>/grillhouse-reprise.md`) and declares a milestone by `grillhouse superviseur --jalon <file>`, adds a question for the owner by `--question <file>`; once it stops with no background task, outside a turn, with no draft and no unread question, the greffon runs `/clear` and submits a message of resumption, and the opening that follows gives the note, the circuits and their questions. A message of the owner cancels the milestone. The greffon asks for the note and the milestone after a compaction, and once each night (`grillhouse.plageDeNuit`) when no question of a circuit waits for the supervisor. The pane keeps its added projects after a `/clear`. The note replaces `pitmaster/SUIVI.md`, which the template no longer places and the skills no longer name; the skill `pitmaster` says the three milestones (a release announced, a compaction, the end of the day). **Action for projects**: the update removes a `pitmaster/SUIVI.md` identical to the template; take up the open content of a file the project filled in the note of resumption or in tickets, then remove it (the update names it and exits non-zero until then).
17
+ - **A role session receives the output style of the machine and no line of attribution** (grillhouse-3uv.276.4): decided by the owner (2026-11-28). The settings of every role, the direct included, empty the lines of attribution of commit and pull request (`attribution`), whatever the settings of the project and of the user say: a role commits nothing. They carry the `outputStyle` of `~/.claude/settings.json`, which the sessions did not read, when the user chooses one; a style a settings file of the project chooses (`.claude/settings.json` of the copy, `.claude/settings.local.json` of the main tree or of the copy) prevails. The name of the style alone goes: a style of `~/.claude/output-styles`, or of a plugin the session does not load, does not apply. **Action for projects**: none.
18
+ - **A role session loads only its part of the common charter** (grillhouse-3uv.276.5): decided by the owner (2026-11-28). `charte.md` keeps the core, which every session loads, and imports one module per public, `charte/superviseur.md`, `charte/plan.md`, `charte/preuve.md` and `charte/tests.md`, which the package publishes. The settings of each role exclude the modules it does not apply (`claudeMdExcludes`, `scripts/droits.mjs`): no role receives the supervisor's; the developer receives the core alone, the explorer and the questioner the plan and the proof, the testwriter and the direct the proof and the tests, the reviewer the plan, the proof and the tests. The supervisor, a session started by hand and their sub-agents receive the whole charter, and a project's `CLAUDE.md` does not change. The rule « by day, nobody makes load » is in the core. The document of the machine (§3.2) says which role receives which module. **Action for projects**: none.
19
+
20
+ - **A session of the circuit lists the skills of its role only** (grillhouse-3uv.276.2): decided by the owner (2026-11-28). Each role session, in the envelope or out of it, new, resumed or relaunched after a refusal of the API key, lists and may load by the tool Skill its own skill, `systematic-debugging` for the explorer, the developer and the direct, and those its skill or the common charter ask of it (`mesure` for the explorer and the testwriter; `mesure`, `redacteur` and `writing-for-agents` for the developer and the direct), from one source (`ROLES` of `scripts/droits.mjs`); the first turn loses 1.6 to 2.0 k tokens by role. The sessions speak `stream-json` both ways: the list goes in the `skills` field of the `initialize` request on the standard input, before the instruction (`scripts/entree-de-seance.mjs`, shared by both launchers), which replaces `skillOverrides` in the settings of a role. Of the output stream, `resultat.json` keeps the line `type: result` alone, and the log of the ticket that line, the lines that are no message of the stream, the errors and, without a result, the text of the last assistant message (`scripts/sortie-de-seance.mjs`). **Action for projects**: none.
21
+ - **The bilan of a ticket gives the first turn of each session** (grillhouse-3uv.276.1): `bilan.json` gains `premiersTours`, one entry per session the circuit launched (its id, its role, and the input, cache written and cache read of its first response, read in its transcript; no number for a session without a transcript or a readable usage), and the comment « bilan » gives their means by role. **Action for projects**: none.
22
+ - **The checks and the final pass of a circuit judge the new files of the lot** (grillhouse-3uv.277, seen by SH): a new file git did not track yet escaped a guard that reads the index (`git ls-files`), and a green played without it was read back from the cache, so main would have turned red after the entry. During each command of the checks and of the final pass, the circuit now puts the lot in the index of the copy (`git add -A`, ignored files left out), then puts the index back as it was, after a kill too; when git fails, the command does not play and the circuit stops, naming git. Every verification pass gives `GRILLHOUSE_INDEX_DU_DEPOT`, the fingerprint of the list of the files of the index, which the `env` of the `//#grillhouse:gardes` and `//#gardes` tasks of a repository of packages names, so Turborepo plays the guards again when a file enters the index. **Action for projects**: the update writes the variable in the `turbo.json` of the root; otherwise run `npx grillhouse turbo-des-paquets --ecrire` and commit it.
23
+ - **In the envelope, the Turborepo logs of every package can be written, whatever the project's language** (grillhouse-3uv.274, seen by OSD, a project all in cargo): only the typescript module declared `.turbo` and the cache of Turborepo of the main tree, so `npm test` of a package of the plan failed before its tests on « Cannot write logs: Read-only file system » for a provider out of the plan. The core now declares them once for every language (`sortiesDuLangage`): `<main tree>/.turbo/cache/` written, and `.turbo` proper to the session in each package out of the plan, at the root when the plan leaves it read-only, and in the shared test material for a role that does not write it. The typescript module keeps `.cache-outils` only. **Action for projects**: none.
24
+ - **The document of the installation names only commands that exist to repair a poste** (grillhouse-3uv.272): it prescribed an option of the update that no command offers. A poste is repaired in the main tree by `npx grillhouse greffons` (missing plugins, or the frame's plugin behind), `npx grillhouse binaires`, `npx grillhouse temporal installer` (the units), `npx grillhouse outil` (the frame's repository) and `npx grillhouse nuit --planifier` (the schedule of the nights); `npx grillhouse maj` writes in the project, and what it changes enters main by an update ticket. The document says the gap left: no command plays the whole part of the poste, and the integration queue does not play it when a lot enters. **Action for projects**: none.
25
+ - **The board shows every question that waits for the owner** (grillhouse-3uv.266, seen by OSD, a question silent since 09:48): decided by the owner (2026-11-27). Under its line « toi », the head of the pane bears one line per stopped circuit whose question is the owner's, carried to him (`--chez-le-responsable`) or naming him from the start: « ❓ <number> <subject> · depuis <HH:MM> » (« dd/mm » for another day; the project's label on a board of several), until the circuit has its answer, a deferred or direct ticket included. « N question » counts those questions only: a question to the supervisor, or a stop that names no one, no longer counts. **Action for projects**: none.
26
+ - **The tests of a python package play the pytest of its environment, never the one of the system** (grillhouse-3uv.273, seen by SH in synthub-server, `ModuleNotFoundError` from the system's yaml): after the repository moved, the scripts of `.venv/<package>/bin` kept a shebang to the old folder, `uv sync --locked` did not rewrite them (uv 0.10.4), and `uv run … pytest` fell back without a word to the `pytest` of the PATH. The module python now launches `<root>/.venv/<package>/bin/pytest` by its path (a whole package, a named path, the night tests); a `pytest` absent or broken in the environment is red, and its line names the repair. **Action for projects**: repair a moved environment by `uv sync --locked --group test --reinstall` in the package, on its environment (the red line names the whole command); run `npm run verifier -- --tout` once to play again the packages that were green with the system's pytest.
27
+ - **What the migration of the index servers leaves to a project names a command that exists** (grillhouse-3uv.271, seen by SH in the update of osc-bridge to 0.51.0): once the plugin rtfm is enabled, it asks to run `npx grillhouse greffons` in the main tree; it named an option no command offers.
28
+
29
+ ## [0.51.0] - 2026-11-27
30
+
31
+ - **The first update of a project without `jsonc-parser` no longer fails on `ERR_MODULE_NOT_FOUND`** (grillhouse-3uv.269, seen by the canary of 0.51.0 in osc-bridge and OSD): `npx grillhouse maj` declared `jsonc-parser` and ran the generator of the graph, which imports it, before `npm install`. While `node_modules/jsonc-parser/package.json` is absent, the update no longer runs that generator: its line, on the error stream with exit code 1 and the verification not played, asks for `npm install`, then `npx grillhouse turbo-des-paquets --ecrire`. The other generators run as before. **Action for projects**: when the line shows, run those two commands and commit the `turbo.json`.
32
+ - **The proof of the red reads a red test of a plugin** (grillhouse-3uv.268): `claude plugin test` writes no report test by test, so a plugin test file with red tests was refused as « ne se charge pas : non joué » (seen on grillhouse-3uv.267). The `verdict` of the module typescript, given the root of the run, now reads the lines of such a runner in the log of its task; a file it says it did not load stays refused, with its reason. **Action for projects**: none.
33
+
34
+ - **The questions of a project that holds many stopped circuits reach the session of supervision** (grillhouse-3uv.267): the reading asked the tickets of every waiting circuit to `bd show`, which costs more than a second per ticket and overran its 30 s, so no question of that project was given while its ends of circuits still were (seen by SH). It now reads them in one `bd list`. A fault in the reading of another project of the group (a faulty `grillhouse.rappel`, a follow-up that cannot be held) no longer costs the other projects their questions: `superviseur --relever` writes their message, names each project at fault on the error stream and exits 1, and the greffon submits the message and shows the fault in the panel. A faulty `grillhouse.rappel` of the session's own project is refused as before. **Action for projects**: none.
35
+
36
+ - **The proof of the red plays the executable of a changed test module** (grillhouse-3uv.264): a lot that changed only a module of `tests/it/` of a crate played nothing of it, so a named red test counted no red (seen by OSD). A `.rs` file of a target `tests/<dir>/main.rs`, out of `tests/common/`, now makes the proof and the checks play that `main.rs` once (`estUnTest` answers it in `jouePar`); a night or bench module still plays nothing by day, and a proof resumed at a red that names a module plays its executable. In it, the tests of the changed modules and the tests the testwriter's sheet names are the lot's, the others main's; and when the proof plays test files of the lot and the plan expects a red, existing reds alone no longer pass it. **Action for projects**: none.
37
+
38
+ - **The envelope alone holds the writing border, and every role has every tool** (grillhouse-3uv.261.2): decided by the owner (2026-11-27). The write lock of the role (`verrous/verrou.mjs`, subcommand `verrou`) and the lock of the commands (`verrous/commande.mjs`, subcommand `commande`) are removed: the permissions of each role, in the envelope or out of it, let every command through (python, `sed -i`, redirections, the client of a base); what stays refused is the change of author at the ticket, the reading of its own ticket again, the writes of `bd` by a role that does not write at the ticket, and the test tool run directly. The rule of a role is judged on the lot of each session, on content: a testwriter whose lot touches code, or a developer whose lot touches a test or the shared test material, gets the step back, the files named, until they are back to their state before; an explorer, a questioner or a reviewer whose lot is not empty is resumed once, then the circuit stops. A write out of the plan fails on the mount and the session goes on: the stop `hors-plan` and its mark are gone, and the sheet `BESOIN` of a writing role names the missing file in `manque`, which extends the plan when the ticket names it. A base to read is a file under a read-only mount. In a project that names its published version (`grillhouse.outil`), the retired names `verrou` and `commande`, which the sessions that version opens still declare as hooks, run by it (`RETIREES` of `scripts/aiguillage.mjs`), so a circuit in flight keeps writing; they go once the key names a version whose sessions declare none. **Action for projects**: none.
39
+
40
+ - **The reading of the CI of main judges the flow CI alone** (grillhouse-3uv.262): it took the latest finished pass of every flow of the branch, so a red pass, started by hand, of a flow since removed from main (« Send collection sheets », seen by SH) opened a red and a defect ticket. It now reads the passes of `ci.yml` only, as the architecture decides (the document of the entry on main, §5.2): a red of another flow, present or removed (Nuit, the pages, the clean machine), gives no alert and opens no defect ticket of main through this reading, and a project with no finished pass of `ci.yml` reads « CI de main non lue ». The night of the poste still reads the tranches and the measures of the Nuit flow of its commit, for a project whose Nuit flow plays on the runner, and opens its `nuit` tickets when they are red. **Action for projects**: none for the flows the frame installs; the red of a flow no other mechanism reads (the pages, the clean machine, a removed flow, a flow of the project's own) is read on GitHub only.
41
+
42
+ - **The frame carries the debugging skill of Superpowers** (grillhouse-3uv.263): decided by the owner (2026-11-27). The skill `grillhouse:systematic-debugging` (Jesse Vincent, MIT, version 7.0.2, `CREDITS.md`) is copied with its neighbouring files into the frame's plugin, less the two bullets that call skills the frame does not take. The developer and the direct load it before any fix, in front of a red their batch does not lift or of a defect; the explorer loads it at the plan of a defect ticket, a red night included, and at the triage of a discovery that reports a defect. The rules of the role come first, a gesture the rights or the charter refuse is neither run nor got round, and no role runs `find-polluter.sh`. These three roles read the files of that skill without a prompt, and nothing more of the plugin. **Action for projects**: none.
43
+ - **The frame has its lexicon** (`docs/lexique.md` of the package): one word per thing of the frame, its definition and the words to avoid, decided by the owner (2026-11-27). The common charter points to it under « Ce qui décide », and a project's `CONTEXT.md` holds the words of its own domain only; the skill `domain-modeling` writes `CONTEXT.md`, the file the frame reads, instead of `GLOSSARY.md`.
44
+ - **The direct command is the rescue way, kept for the failures of the engine** (grillhouse-3uv.250.3): decided by the owner (2026-11-25). `grillhouse direct` now requires `--panne <text>`, the failure that justifies it (`--deverrouiller` does not), and writes it at the ticket, each review writing its verdict there. It takes the ticket (`in_progress`) before its first session, refuses a closed ticket and a ticket whose circuit lives on the server (it names `--arreter` and `temporal workflow terminate`), and goes on, saying so at the ticket, when the server does not read. It asks nothing of the arbiter of the machine: no place of circuit, and a machine closed by the supervisor does not hold it back. The refusal of the lock out of the envelope now names the direct circuit first; the refusal of the guard of main and the reviewer's instruction name the rescue way. **Action for projects**: add `--panne <text>` to every call of `grillhouse direct`.
45
+ - **A night out of the poste with no cargo test to run is green** (grillhouse-fp6.5): in osc-bridge, whose Rust night tests all carry `// @poste` or `// @equipee`, the tranches « Night tests out of the poste » ended red on « error: no tests to run » (nextest, code 4). Under `tests-de-nuit --hors-du-poste`, a crate whose filter keeps no test is now green and says « aucun test hors du poste », as a Bazel shard without a test passes; a targeted run or the whole night that finds no test stays a red. **Action for projects**: none.
46
+
47
+ - **The install of a replay copy stays in the copy** (grillhouse-fp6.4): a `node_modules` that was a symbolic link in the integration or queue copy let `npm ci` empty the directory it named, and the regeneration of the lock write into it (seen by the night, whose trial copy linked the `node_modules` of the repository under test, which lost packages during the pass). The link, never its target, is now removed when the copy opens.
48
+
49
+ - **The workflow of a ticket leads a direct ticket** (grillhouse-3uv.250.2): a ticket labelled `direct`, alone or with `circuit`, opens a circuit `direct`: no plan, the packages of its title written at the ticket as one, the agent `direct` at 3 Code on them, then the final pass, the review, the commit, the queue and the triage. The state of a circuit, the memo the board reads and the query `etatDuCircuit` carry `circuit` (`long`, `court` or `direct`); it is fixed at the first opening and follows the sort of the ticket between `long` and `court`. The sheet of the agent direct has its own schema, `direct`, checked as the developpeur's, the rescue command's included; the reviewer of a direct lot reads one requirement, written once, which names `direct` as the recipient of every blocking finding; a conflict of the advance gives every file to the agent direct, and the commit message carries its deviations. A component of the title of a direct ticket may be a path the repository does not hold yet, which opens only itself in writing: a package is born of a direct ticket. A session of the role `direct` takes the part of any session: the fixed two cores are gone. A direct ticket does not yet start from the queue of the tickets.
50
+ - **A glob pattern of `grillhouse.lit` enters the hash as it is** (grillhouse-3uv.258): the generator appended `/**` to every entry, so a pattern such as `spec/**` was refused as an absent path or mistranslated (seen by OSD), and a declared file became `file/**`, which covers nothing. A pattern now enters the inputs of Turborepo as is, as does a file; a directory keeps `/**`, and a path strictly inside the output of a trace enters both ways. The guard refuses a pattern that covers no file and that no trace writes under. The affected components, the filters of the final pass and the data left out of a `build` read the patterns by the same rule. **Action for projects**: `npx grillhouse turbo-des-paquets --ecrire`, which `npx grillhouse maj` plays, and commit the `turbo.json`.
51
+
52
+ - **The list of the steps and the decision rule hold the direct circuit** (grillhouse-3uv.250.1): each step of `scripts/etapes.mjs` declares the circuits that play it (long, short, direct) and its roles in each. For a ticket of circuit `direct`, the rule starts at 3 Code with the agent `direct`, goes from its sheet to the final pass, gives it back each red of the pass and each finding of the review within the bounded loops (three sessions of the code, counted from 3 to 4.1; the third `RENDU` stops), and names it in its texts; `--reprendre` keeps the count of its sessions but after a stop `controles` or `sans-livraison`. `--depuis direct` is a resumption, and one rule, read by the workflow and the start of a run, refuses a `--depuis` the circuit does not accept. A long or short circuit decides as before. The workflow does not open a direct circuit yet. **Action for projects**: none.
53
+ - **The memory of a pass is reserved by its kind, from its measure** (grillhouse-3uv.259): decided by the owner (2026-11-23, 2026-11-25). One part per project held every pass at its largest need: 25 GB reserved for about 15 GB used, and passes waiting for memory the machine had. For each kind of pass (verification, final pass, regeneration of the references, night, session of each role) with 20 measures or more in the register of the project, the admission now counts the 95th percentile of its peaks of memory, and its control group cuts it at their maximum plus a quarter; this replaces `grillhouse.part.memoireGo` for that kind. Under 20 measures, the part of the project stands for both, as before. Every session of an agent now writes its peak to the register, with no memory bound of its own. The board and the waiting line say the reservation and the limit of each pass. **Action for projects**: none.
54
+ - **The roles that search the code are told to call the indexes where they search** (grillhouse-3uv.252): decided by the owner (2026-11-25). Agent sessions almost never called the indexes that the charter asks for. The session instructions of the testwriter, the developer (and the direct), the reviewer and the explorer on the plan, and the step of each role's skill where it searches, now name `mcp__rtfm__rtfm_search`, `mcp__codegraph__codegraph_explore` or `codegraph explore`, to use before a search by the shell, each role getting only the tools its rights permit. The supervisor measures the share of role sessions that call an index over a week after the release. **Action for projects**: none.
55
+ - **The launcher leaves nothing of its own in the temporary directory of a session** (grillhouse-fp6.3): the output of a failed build and the prompt, which `lancer.sh` writes, lay in the directory of the session, so a session could find them there. They now lie beside it, in the base the launcher owns, and go when it ends. **Action for projects**: none.
56
+
57
+ - **A second update between two releases plays no migration again** (grillhouse-fp6.2): the migration of the index servers carried a version above the package's, so every update played it again. A migration now carries no version until its release (`export const version = null`), which `grillhouse sortie <x.y.z>` writes; it plays for a project that recorded no version or one below the package's, and the report names it « de la prochaine sortie ».
58
+ - **`grillhouse temporal purger` removes the orphan histories before it compacts** (grillhouse-3uv.244.4): the refused starts of the workflow of the machine left some 1.2 million history trees no execution references. With the server stopped, the command deletes by SQL the trees (`history_tree`, `history_node`) that no execution of the database names, never one of a present execution, and its report says their count and the size before and after. Temporal documents no gesture for them: a gap to the reference, decided by the person in charge. **Action for projects**: none; `npx grillhouse temporal purger`, once, when no circuit is in flight.
59
+
60
+ - **A path of `grillhouse.groupe` that leads to no project of the frame is signalled** (grillhouse-3uv.257): after a neighbour was renamed, the key still named its former folder, the reading dropped the whole group and the supervisor's session received none of its questions, with nothing said (seen by SynthHub). The board shows an alert and the start of a session a line, each naming the key and the path, for a path that is absent or holds no project of the frame (a `package.json` that declares `@roomi-fields/grillhouse`), and for any other fault of the key. **Action for projects**: correct the key when the alert shows.
61
+
62
+ - **The `// @lit` lines of Rust tests are read** (grillhouse-3uv.256): only the tests of TypeScript declared what they read, so in a project of cargo a change to a file a Rust test declares replayed a green of before (OSD-sf1.25.29.3). Each module of language now reads the declarations of its test files (`lecturesDesTests`; cargo: the `.rs` files under `tests/` and the unit tests of `src/`), and `lecturesDeclarees`, the one reader of the line, is published by the entry `./paquets`. The patterns enter the inputs of the test task in the generated turbo.json; the survey of the affected components and the filters of the final pass now count the `// @lit` patterns of every test, TypeScript included, beside `grillhouse.lit`. Python and C declare nothing yet. **Action for projects**: none, `npx grillhouse maj` rewrites the turbo.json.
63
+
64
+ - **`grillhouse.lit` enters the hash of the tests of a package of every language** (grillhouse-3uv.255): the generator of the graph served the projects with a TypeScript package alone, so in a project of cargo, python or c a change to a file a package declares it reads, outside it, replayed a green of the cache (seen by OSD). Every project now has the command `grillhouse turbo-des-paquets`, the update installs `jsonc-parser` and plays the generator, which also rewrites the `turbo.json` of the root, and a repository of packages has the guard `turbo-des-paquets`, red until the `turbo.json` are written. Before `npm install`, the update says the command that failed. **Action for projects** (without a TypeScript package): `npm install`, then `npx grillhouse turbo-des-paquets --ecrire`, and commit the `turbo.json`.
65
+
66
+ - **A command purges the closed workflows past the retention and compacts the server's database** (grillhouse-3uv.244.2): a shorter retention reached only the workflows closed after it, the others keeping their timer of 30 days (3 868 of them, 1.25 GB). `grillhouse temporal purger` deletes by query the workflows closed more than 7 days ago, never a running one, then stops the server, compacts its database, starts it again and says the sizes before and after; it refuses under a circuit in flight, naming the tickets. **Action for projects**: none; once per machine, with no circuit in flight, `npx grillhouse temporal purger`.
67
+
68
+ - **The temporary directory of an agent lives as long as its session** (grillhouse-3uv.254): decided by the owner (2026-11-25). Each session the frame launches, in the envelope or out of it, has a temporary directory of its own, empty at its start, removed at its end even interrupted, and swept by the next session when its process is killed; a resumed session starts from a new one, which its instruction names. `npx grillhouse temporaire` takes no argument any more: in a session the frame launched it prints that directory, anywhere else it ends at 2. The directory of a ticket is gone. **Action for projects**: stop calling `npx grillhouse temporaire <ticket>`; the `grillhouse-ticket-<id>/` directories already there are no longer removed by the frame: they go with the system's cleaning of the temporary directory, or by hand.
69
+
70
+ - **The start of the places of the machine leaves no orphan history** (grillhouse-3uv.244.3): every mode of the bridge (`scripts/places-du-serveur.mjs`) asked the server to start the workflow of the machine, which wrote a history before finding that it ran and left it orphan in its database (about 75 000 a day). `demarrerLesPlaces` now reads the workflow (describe) and asks a start only when none runs. The histories already orphan stay. **Action for projects**: none.
71
+
72
+ - **The reading of the circuits no longer brings back the integrated ones** (grillhouse-3uv.244.1): decided by the owner (2026-11-25). The board, the supervisor and the queue listed every circuit run of every project and filtered it themselves, which passed the 5 s of the board under load (« Temporal ne répond pas en 5 s »). `lireLesCircuits` now asks for lists the Temporal server filters, by the root of the repository and, without `integres`, without the integrated runs: one list, or two when a run not integrated has ended, the second telling whether a later run integrated its ticket. The result is unchanged. **Action for projects**: none.
73
+ - **A closed machine lets the stages under way and the upgrade verify** (grillhouse-3uv.246): decided by the owner (2026-11-25). Under `grillhouse machine fermer`, a pass launched by a session already admitted (a place held, `GRILLHOUSE_PLACE_TENUE`) and the verification of the upgrade (sort « Montée ») take their part; only new work is refused, as a drain keeps the pods of the system. `grillhouse maj` runs `npm run verifier` under that sort, and its report names the command when it leaves the verification to the supervisor. **Action for projects**: none; under a closed machine, play the verification the report leaves with `GRILLHOUSE_VERIFICATION_SORTE=Montée npm run verifier`.
74
+
75
+ - **The update installs the index servers rtfm and codegraph in every project** (grillhouse-3uv.247): decided by the owner (2026-11-25). The migration `serveurs-de-l-index` adds to the project's `.mcp.json`, created when absent, the servers `codegraph` and `rtfm` it lacks, the other entries kept, and `grillhouse init` plays it on a new project; the agents of the project have the indexes after the update. A bare program name there that an enabled plugin ships (`rtfm-serve`) runs the plugin's program in the sessions of the agents. **Action for projects**: commit the `.mcp.json` of the update; a project whose settings do not enable the plugin `rtfm@roomi-fields` enables it, as the update says.
76
+
9
77
  ## [0.50.3] - 2026-11-25
10
78
 
11
79
  - **An integration test that reads `env!("CARGO_BIN_EXE_<bin>")` compiles again** (grillhouse-3uv.251): the short wrapper of sccache of 0.50.2 ran under `sh`, which drops a variable whose name holds a hyphen, so a binary named like `osd-reference` failed to compile (seen by OSD). The wrapper runs under bash, in a new file of the cache (`sccache-court-bash`). **Action for projects**: none.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: developpeur
3
3
  model: sonnet
4
- description: Travaille le code d'un ticket dont les tests existent. N'écrit aucun test, ni la matière de test partagée, ni de code avant la section Architecture du ticket.
4
+ description: Travaille le code d'un ticket dont les tests existent. A tous les outils ; son lot, jugé à la fin de sa séance, ne porte aucun test ni la matière de test partagée ; un fichier hors du plan se dit par sa fiche BESOIN.
5
5
  skills:
6
6
  - grillhouse:developpeur
7
7
  ---
package/agents/direct.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: direct
3
3
  model: sonnet
4
- description: Écrit tests et code d'un ticket mené hors du circuit (`npx grillhouse direct <ticket>`), dans une copie à lui. Un relecteur juge son lot ; le superviseur n'écrit pas à sa place.
4
+ description: Écrit tests et code d'un ticket mené hors du circuit (`npx grillhouse direct <ticket>`), dans une copie à lui. A tous les outils ; un fichier hors du plan se dit par sa fiche BESOIN. Un relecteur juge son lot ; le superviseur n'écrit pas à sa place.
5
5
  skills:
6
6
  - grillhouse:direct
7
7
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: explorateur
3
- description: "Écrit le plan d'un ticket à l'étape 1 de son circuit (ses critères, les paquets à toucher, ses questions ouvertes) et répond une fois au questionneur ; joue dans sa copie la commande du plan d'un ticket mécanique ; trie les découvertes du ticket une fois son lot sur main ; mène aussi un ticket d'exploration : relève l'état réel, liste les décisions à prendre, propose les tickets de réalisation. N'écrit aucun fichier à la main ni rien au ticket."
3
+ description: "Écrit le plan d'un ticket à l'étape 1 de son circuit (ses critères, les paquets à toucher, ses questions ouvertes) et répond une fois au questionneur ; joue dans sa copie la commande du plan d'un ticket mécanique ; trie les découvertes du ticket une fois son lot sur main ; mène aussi un ticket d'exploration : relève l'état réel, liste les décisions à prendre, propose les tickets de réalisation. N'écrit aucun fichier à la main ni rien au ticket : hors de la commande du plan, son lot, jugé à la fin de sa séance, reste vide."
4
4
  skills:
5
5
  - grillhouse:explorateur
6
6
  model: sonnet
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: questionneur
3
- description: Questionne une proposition qu'il n'a pas écrite (le plan d'un ticket, un plan du superviseur) là où elle lui paraît floue, à la lumière du cadre ; ne décide rien, ne propose pas sa solution, n'écrit aucun fichier ni rien au ticket.
3
+ description: Questionne une proposition qu'il n'a pas écrite (le plan d'un ticket, un plan du superviseur) là où elle lui paraît floue, à la lumière du cadre ; ne décide rien, ne propose pas sa solution, n'écrit aucun fichier ni rien au ticket : son lot, jugé à la fin de sa séance, reste vide.
4
4
  skills:
5
5
  - grillhouse:questionneur
6
6
  model: sonnet
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: relecteur
3
- description: Relit en adversaire le lot d'un ticket (tests et code) et rend son verdict, que le circuit écrit au ticket. N'écrit rien dans le code.
3
+ description: Relit en adversaire le lot d'un ticket (tests et code) et rend son verdict, que le circuit écrit au ticket. A tous les outils de lecture ; son lot, jugé à la fin de sa séance, reste vide.
4
4
  skills:
5
5
  - grillhouse:relecteur
6
6
  disallowedTools: Write, Edit, MultiEdit, NotebookEdit
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: testwriter
3
3
  model: sonnet
4
- description: Écrit les tests d'un ticket depuis la spécification, avant le code. N'écrit que des fichiers de test, la matière de test partagée et ce dont ses tests dépendent ; aucun test ne lit le CHANGELOG, que juge la relecture.
4
+ description: Écrit les tests d'un ticket depuis la spécification, avant le code. A tous les outils ; son lot, jugé à la fin de sa séance, ne porte que des fichiers de test, la matière de test partagée et ce dont ses tests dépendent ; un fichier hors du plan se dit par sa fiche BESOIN ; aucun test ne lit le CHANGELOG, que juge la relecture.
5
5
  skills:
6
6
  - grillhouse:testwriter
7
7
  ---
@@ -13,6 +13,7 @@
13
13
  "grillhouse:maj": "grillhouse maj"
14
14
  },
15
15
  "devDependencies": {
16
+ "jsonc-parser": "3.3.1",
16
17
  "turbo": "2.11.8"
17
18
  },
18
19
  "packageManager": "npm@11.20.0"
@@ -13,6 +13,7 @@
13
13
  "grillhouse:maj": "grillhouse maj"
14
14
  },
15
15
  "devDependencies": {
16
+ "jsonc-parser": "3.3.1",
16
17
  "smol-toml": "1.9.1",
17
18
  "turbo": "2.11.8"
18
19
  },
@@ -13,6 +13,7 @@
13
13
  "grillhouse:maj": "grillhouse maj"
14
14
  },
15
15
  "devDependencies": {
16
+ "jsonc-parser": "3.3.1",
16
17
  "smol-toml": "1.9.1",
17
18
  "turbo": "2.11.8"
18
19
  },
package/charte/plan.md ADDED
@@ -0,0 +1,47 @@
1
+ # La charte commune : le module du plan
2
+
3
+ Les règles de la charte commune sur le plan d'un ticket : sa voie, ses composants, ce qui monte.
4
+
5
+ **Une tension avec l'architecture monte, elle ne se résout pas dans le ticket** : le créateur du
6
+ ticket, ou l'explorateur au plan, qui ne trouve aucun paragraphe, ou en trouve un que le travail
7
+ contredit, s'arrête et monte au superviseur. Le superviseur charge la compétence `architecte`,
8
+ instruit la décision (l'existant, les options, leurs compromis) et la porte au responsable, qui
9
+ tranche. Ainsi aucun ticket ne décide de l'architecture.
10
+
11
+ **Un ticket de réalisation nomme ses composants** dans son titre (« numéro — sujet — composant,
12
+ composant ») et sa section « Architecture », le fournisseur d'abord ; il fait une seule livraison,
13
+ en un seul commit, et se crée sous sa mère (`docs/agents/issue-tracker.md`). Un objectif dont le
14
+ découpage n'est pas connu commence par une exploration, sans code. Ainsi l'avancement se lit
15
+ ticket par ticket.
16
+
17
+ **Un ticket prend le circuit court quand aucun test honnête ne peut rougir avant son lot**, le
18
+ produit se comportant pareil avant et après : la suite existante, qui reste verte, et la relecture
19
+ font la preuve, comme les grands changements de Google (Rosie, ClangMR), Renovate, `nx migrate`,
20
+ `eslint --fix`, sans test neuf. Un test honnête échoue avant le lot et passe après, sur un
21
+ comportement qu'un test, un autre paquet ou une interface publiée observe. Le doute va au circuit
22
+ complet. L'explorateur juge au plan que le ticket est mécanique, et l'écrit avec sa raison, ce
23
+ qu'il a cherché et sa commande. La liste qui suit donne des exemples du critère, non son
24
+ périmètre : montée du cadre, documents seuls, renommage ou déplacement, montée de dépendance,
25
+ configuration seule (sans garde qui en mesure l'effet), correction de style, seuil relevé,
26
+ commentaires de code seuls, suppression de code sans appelant vivant, fichiers engendrés
27
+ régénérés, textes de messages qu'aucun test ni aucun autre paquet ne lit, typage resserré sans
28
+ changement à l'exécution et dont aucun lecteur du relevé ne casse à la compilation.
29
+ Le circuit court a deux formes : le geste qu'une commande ou un outil joue passe par 1.1 (Geste
30
+ mécanique, l'explorateur joue la commande du plan), sans testwriter ni développeur ; le geste
31
+ écrit à la main (commentaires, code supprimé, texte d'un message, typage resserré) saute le
32
+ testwriter et la preuve du rouge, et une séance du développeur écrit, puis les contrôles et la
33
+ relecture. Reste au circuit complet ce qu'un utilisateur ou un autre paquet observe (une sortie,
34
+ un code de retour, une interface publiée) ; le texte qui accompagne un changement de comportement
35
+ reste dans son lot. Une configuration dont une garde mesure l'effet reste au circuit. Une
36
+ réorganisation qui a du code et dont les tests s'adaptent (« comportement tests-adaptés ») garde le
37
+ circuit complet, la suite existante faisant la preuve. La bascule marche dans les deux sens, sur le
38
+ même plan, ses paquets et ses critères gardés : un lot de tests dont aucun ne peut rougir passe au
39
+ circuit court, un lot du circuit court qui change un comportement repart au circuit complet ; ses
40
+ arrêts, les réponses du superviseur et leur compte parmi les `RENDU` sont au document du circuit
41
+ (§5.6, §5.4). Ainsi chaque séance du circuit a un lot à écrire.
42
+
43
+ - **Une décision de structure passe par le grill** (compétence `grill`) : découpage, paquets,
44
+ modules, interfaces, frontières. Ainsi l'architecture décide de la structure, et le code la suit.
45
+ - **Un geste transverse, un seul ticket** : un même changement sur plusieurs composants se décide
46
+ une fois, en gabarit dans la section « Architecture », et se mène dans une seule copie. Ainsi le
47
+ geste reste le même partout.
@@ -0,0 +1,39 @@
1
+ # La charte commune : le module de la preuve
2
+
3
+ Les règles de la charte commune sur la preuve d'un ticket : son rouge et la taille de ses tests.
4
+
5
+ **Le rouge prouve le travail du ticket** : un test qui échoue avant le code prouve qu'avant le
6
+ travail le comportement manque, et qu'après il est là ; c'est son seul sens. Seul un test qui
7
+ porte le travail du ticket rougit donc d'abord ; les autres sont verts avant le code, sans
8
+ justification à donner. Chaque sorte de test prouve une chose :
9
+
10
+ | Sorte | Ce qu'elle prouve | Rouge avant le code |
11
+ |---|---|---|
12
+ | Test du comportement développé | Le ticket fait ce que dit son critère | Oui : c'est la preuve du travail |
13
+ | Test d'un défaut corrigé | Le défaut est reproduit, puis corrigé | Oui : il montre le défaut |
14
+ | Test d'un comportement existant | Le lot ne casse rien | Non : vert attendu |
15
+ | Test d'interface | Un paquet tient ce qu'il publie | Oui s'il porte le travail du ticket, sinon non |
16
+ | Banc de temps, témoin de temps | Un temps reste sous sa borne | Non : mesuré la nuit |
17
+ | Test de nuit | Le produit entier, monté dans un projet d'essai | Oui s'il porte le travail du ticket, joué la nuit |
18
+
19
+ Ainsi la preuve du rouge mesure le travail, et aucun test ne rougit pour la forme. La preuve, ce
20
+ qu'elle joue et ce qu'elle refuse : le document des tests (§5.2).
21
+
22
+ **La taille d'un test suit la pyramide** (la pyramide des tests de Google, les tailles de
23
+ Bazel) : un test petit vérifie son module par son interface, sans processus ; un test moyen
24
+ assemble quelques modules sur la machine, avec des processus locaux ; un test grand monte un
25
+ projet d'essai et y lance le produit ou le cadre entier : il est un test de nuit (`*.nuit.test.*`,
26
+ `*_nuit_test.py`, un module de `tests/it_nuit/` en Rust), jamais joué au fil du travail. Chaque
27
+ test prend la plus petite taille qui prouve son critère, dans Grillhouse comme dans chaque projet.
28
+ La garde des tailles (`grillhouse tailles-des-tests`) refuse un grand test de jour, et la dette
29
+ inscrite des grands tests existants ne fait que baisser (les gardes : le document des tests, §3.4). Un
30
+ test de jour valide le code en l'important : lancer la commande grillhouse (son binaire, un
31
+ script du cadre) est réservé aux tests de bout-en-bout, sous un dossier `e2e/`, et la même garde
32
+ refuse les autres. Un test qui a besoin d'un autre paquet construit — le binaire ou la
33
+ bibliothèque d'un composant, dans quelque langage — le déclare en dépendance (ses `dependencies`,
34
+ comme la `data` d'une cible Bazel) : le graphe le construit avant ses tests et le cache le garde,
35
+ si bien qu'un lot qui ne touche pas ses sources le reprend sans le reconstruire. Un tel test reste
36
+ un test de jour ; seul un test qui monte le produit entier dans un projet d'essai est un test de
37
+ nuit. Un test qui lance le binaire d'un paquet sans déclarer qu'il en dépend plante le jour, faute
38
+ de l'avoir construit. Ainsi le jour reste court, le petit CPU ne reconstruit que ce qui a changé,
39
+ et la preuve longue tourne la nuit.
@@ -0,0 +1,61 @@
1
+ # La charte commune : le module du superviseur
2
+
3
+ Les règles de la charte commune que le superviseur seul applique.
4
+
5
+ **Le greffon pousse les questions des circuits à la séance du superviseur, et la réponse les
6
+ acquitte** : seule la séance qui tient le verrou du superviseur les reçoit, un message par
7
+ relevé, jamais pendant un de ses tours ; une question lue et restée sans réponse revient à
8
+ l'intervalle de rappel du projet. Les états d'une question, le groupe de projets et la réponse
9
+ portée au responsable sont au document du greffon (§5.1). Ainsi une question ne dépend d'aucune
10
+ attente que la séance relance.
11
+
12
+ **Un ticket ouvert naît du mot du responsable**, ou d'un défaut qu'un projet du cadre rencontre.
13
+ Une découverte d'agent se consigne dans un ticket fermé, sous le ticket qui l'a trouvée, étiqueté
14
+ `decouverte`. En fin de ticket, le tri des découvertes lui donne son verdict, avec sa pièce :
15
+ `traitee`, `doublon` ou `sans-suite` la laissent fermée ; `a-porter` (un défaut de l'usage
16
+ actuel) ou `non-confirmee` (sans preuve rejouée) la rouvrent sous `a-valider`, pour le
17
+ responsable. Ainsi chaque découverte est lue, et le backlog reste le plan du responsable.
18
+
19
+ **Un ticket de données suit le chemin de données du projet** : un ticket qui n'ajoute que des
20
+ données (des fichiers qu'un schéma valide, une fiche à un catalogue) ne passe pas par le circuit
21
+ de code ; il passe par la validation du projet et sa CI, comme une formule de Homebrew ou un
22
+ type de DefinitelyTyped. Ainsi le circuit garde les tests et le code pour ce qui en a.
23
+
24
+ **Un ticket prend l'une de trois voies** : le circuit complet pour un comportement qui change ;
25
+ le circuit court pour un geste sans comportement neuf, que l'explorateur juge au plan par son critère, et que la bascule rend dans les deux sens ; hors
26
+ du circuit, mené en direct par une commande du cadre (`npx grillhouse direct <ticket>`), pour un
27
+ défaut du circuit lui-même (le circuit ne se répare pas par lui-même), une correction triviale
28
+ repérée en analyse (une ligne fautive, un mauvais argument, sans exception), un ticket de données
29
+ ou le squelette d'un paquet ; il porte l'étiquette `direct`, que la file des
30
+ tickets ignore, même s'il porte aussi `circuit`. Un lot hors du circuit entre
31
+ sur main sur sa vérification complète verte. Un changement de comportement du produit va au
32
+ circuit, même pressé. Ainsi la voie d'un ticket se lit à la charte, et non au choix de la séance.
33
+
34
+ **Le superviseur n'écrit pas le code d'un direct** : la commande lance, dans une copie à elle, un
35
+ agent (le rôle `direct`, qui écrit tests et code ensemble, sous les droits que son rôle donne), puis
36
+ le relecteur sur son lot, et s'arrête : ni plan, ni preuve du rouge, ni contrôles, ni file. Un
37
+ défaut corrigé porte un test qui le reproduit, que la relecture exige. Le superviseur reprend la main
38
+ sur un lot relu : il relit, joue la vérification complète, commite, avance main et pousse ; un lot
39
+ `RENDU` repart à l'agent par la même commande, qui s'arrête à la troisième relecture rendue. Le
40
+ verrou du cadre refuse à toute séance hors enveloppe qui n'est pas un agent du cadre (le
41
+ superviseur, une séance lancée à la main, une séance qui perd sa variable d'enveloppe) le code et
42
+ les tests d'un paquet, et nomme la commande ; les documents, ceux d'un paquet comme ceux de la
43
+ racine, restent écrits par le superviseur. Ainsi celui qui relit n'est jamais celui qui a écrit.
44
+
45
+ **La file directe se tient comme la file des tickets** : un ticket direct attend ouvert, et l'en-tête
46
+ du panneau le compte (« ✎ N en direct ») ; le superviseur lance par la commande le seul qu'il mène,
47
+ rend ouvert celui qu'il quitte, et ferme celui dont le lot est sur main (« intégré : <commit> »),
48
+ même si une nuit doit encore le confirmer, après avoir déverrouillé sa copie
49
+ (`npx grillhouse direct <ticket> --deverrouiller`). Le panneau montre l'agent d'un direct en cours
50
+ sous le bloc « Direct », en tête des agents. Ainsi le panneau montre seulement ce qui tourne.
51
+
52
+ **Un paquet naît hors du circuit, en quatre temps** (un squelette n'a ni comportement ni test),
53
+ comme les générateurs de Nx et `cargo new --lib` : 1, le grill, le superviseur et le responsable
54
+ (son rôle, sa frontière, ses refus, son interface, son langage) ; 2, l'écriture, le superviseur
55
+ avec la compétence `redacteur`, relue par le responsable : sa ligne du tableau des composants de
56
+ `docs/ARCHITECTURE.md`, avec son langage, et ses documents (`<chemin>/docs/CADRE.md`,
57
+ `INTERFACE.md`) ; 3, la création, sans agent : `npx grillhouse paquet <chemin>` lit la ligne et
58
+ bâtit ce que son langage demande, les outils de ce langage compris pour son premier paquet ; 4, le
59
+ code, un ticket ordinaire du circuit sur un paquet qui existe. Les temps 2 et 3 entrent dans un
60
+ même commit, après une vérification verte. Ainsi main ne voit jamais un paquet déclaré sans
61
+ dossier.
@@ -0,0 +1,38 @@
1
+ # La charte commune : le module des tests
2
+
3
+ Les règles de la charte commune sur le test qu'on écrit : son nom, son moment, son adresse.
4
+
5
+ **Un test porte le nom du comportement qu'il prouve**, jamais le numéro de son ticket, qui va au
6
+ message du commit (Software Engineering at Google, chap. 12 : un test par comportement). Ainsi un
7
+ test vit autant que son comportement, pas que son ticket.
8
+
9
+ **Une mesure de temps joue la nuit** (les tests `manual` de Bazel, les bancs de rustc-perf hors de
10
+ la CI de chaque commit) : le jour sert l'activité, et sa machine est toujours chargée. Un test qui
11
+ mesure un temps (un banc de temps, un témoin de temps) est hors du jour dans chaque langage, comme
12
+ un test de nuit ; la nuit le joue sur des cœurs dédiés que personne d'autre ne touche, et un
13
+ échec sous charge y est « à repasser » (75) (la nuit : le document de l'entrée sur main, §5.3 ;
14
+ les cœurs dédiés : le document de la machine, §5.2). Le jour n'attend aucun repos : un délai de
15
+ test est un garde-fou, pas une mesure ; dépassé, il est rouge, et un délai trop juste s'élargit,
16
+ très au-dessus de la durée normale du test. Ainsi le jour avance, et une mesure se prend au repos.
17
+
18
+ **Un test qui exige de la charge joue la nuit** (les tests de résistance de Chromium et de rustc,
19
+ hors de la passe de chaque changement) : un test qui a besoin d'une machine chargée produit sa
20
+ charge lui-même et est un test de nuit, joué sur des cœurs dédiés (`grillhouse.mesure`), comme
21
+ une mesure de temps. Pendant la nuit d'un projet, les autres projets continuent de travailler :
22
+ seuls une mesure de temps et un test qui exige de la charge prennent des cœurs que personne d'autre
23
+ ne touche (l'étiquette `exclusive` de Bazel, donnée aux seuls tests qui l'exigent, non à la
24
+ suite). Ainsi la charge d'un test reste la sienne, et le jour garde sa machine.
25
+
26
+ **Un test vit dans un fichier à lui**, jamais dans un fichier de code, reconnu au nom ou au
27
+ dossier qu'attend l'outil de son langage : près de son module pour un test unitaire (en Rust, un
28
+ `tests.rs` ou un dossier `tests/` sous `src/`, comme le veut le contrôle tidy de rustc), dans le
29
+ dossier de tests du paquet pour un test par l'interface (en Rust, un module de `tests/it/` du
30
+ crate ; en C, un fichier `tests/test_<nom>.c` du paquet, un exécutable et un test CTest). Les sortes de tests, qui les écrit, qui les lit et qui les joue sont les mêmes dans chaque
31
+ langage ; seule l'adresse d'un fichier de test suit l'outil. Ainsi chaque test a un fichier à lui,
32
+ que le testwriter écrit.
33
+
34
+ **Un crate Rust a un seul exécutable de tests d'intégration par moment** (la suite de tests de
35
+ Cargo, `tests/testsuite/main.rs`) : chaque fichier de tests est un module que déclare
36
+ `tests/it/main.rs` le jour, `tests/it_nuit/main.rs` la nuit, `tests/it_budget/main.rs` pour les
37
+ bancs ; une garde du module cargo refuse un exécutable de plus. Ainsi cargo lie
38
+ les dépendances une fois par moment, et une copie garde la place de son disque.