@roomi-fields/grillhouse 0.34.1 → 0.35.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 (57) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +35 -13
  3. package/cadre/templates/projet/.claude/settings.json +0 -1
  4. package/cadre/templates/projet/_gitignore +1 -0
  5. package/cadre/templates/projet/package.json +2 -2
  6. package/charte.md +4 -4
  7. package/dist/temporal/circuit/appel.d.ts +2 -0
  8. package/dist/temporal/circuit/appel.js +12 -0
  9. package/dist/temporal/circuit/appel.js.map +1 -1
  10. package/dist/temporal/circuit/commande.js +10 -1
  11. package/dist/temporal/circuit/commande.js.map +1 -1
  12. package/docs/ARCHITECTURE.md +10 -4
  13. package/docs/INTERFACE.md +4 -3
  14. package/hooks/crochet.mjs +0 -6
  15. package/package.json +1 -1
  16. package/scripts/activites.mjs +41 -7
  17. package/scripts/adresse-du-registre.mjs +10 -0
  18. package/scripts/attente-a-l-arret.mjs +2 -2
  19. package/scripts/attente-au-tour.mjs +2 -2
  20. package/scripts/bilan.mjs +5 -4
  21. package/scripts/branche-de-nuit.mjs +15 -6
  22. package/scripts/circuit.mjs +10 -2
  23. package/scripts/enveloppe/enveloppe.mjs +44 -14
  24. package/scripts/enveloppe/lancer.sh +5 -1
  25. package/scripts/enveloppe/paquets-du-plan.mjs +3 -0
  26. package/scripts/etapes.mjs +1 -1
  27. package/scripts/flux-des-paquets.mjs +22 -8
  28. package/scripts/grillhouse-maj.mjs +19 -0
  29. package/scripts/langages/cargo/sccache.mjs +22 -16
  30. package/scripts/langages/typescript/index.mjs +8 -4
  31. package/scripts/langages/typescript/migrations/0.34.1-cache-des-outils.mjs +53 -0
  32. package/scripts/langages/typescript/vitest-config/base.mjs +10 -0
  33. package/scripts/langages/typescript/vitest-config/registre.setup.mjs +35 -0
  34. package/scripts/mesure/base-de-passe.mjs +7 -0
  35. package/scripts/migrations/0.35.0-greffon-mattpocock-retire.mjs +41 -0
  36. package/scripts/migrations.mjs +2 -0
  37. package/scripts/places-du-serveur.mjs +12 -2
  38. package/scripts/registre.mjs +3 -3
  39. package/scripts/reponses-du-circuit.mjs +1 -1
  40. package/scripts/seances.mjs +24 -2
  41. package/scripts/superviseur.mjs +29 -11
  42. package/scripts/tableau.mjs +90 -11
  43. package/scripts/verrous/verrou.mjs +7 -0
  44. package/skills/codebase-design/DEEPENING.md +37 -0
  45. package/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  46. package/skills/codebase-design/SKILL.md +114 -0
  47. package/skills/domain-modeling/ADR-FORMAT.md +47 -0
  48. package/skills/domain-modeling/GLOSSARY-FORMAT.md +60 -0
  49. package/skills/domain-modeling/SKILL.md +74 -0
  50. package/skills/grill/SKILL.md +4 -5
  51. package/skills/grilling/SKILL.md +30 -0
  52. package/skills/pitmaster/SKILL.md +4 -3
  53. package/skills/pitmaster/references/cadre.md +1 -1
  54. package/skills/redacteur/SKILL.md +1 -1
  55. package/skills/testwriter/SKILL.md +7 -4
  56. package/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
  57. package/skills/writing-for-agents/SKILL.md +81 -0
@@ -5,5 +5,5 @@
5
5
  "author": {
6
6
  "name": "Romain Peyrichou"
7
7
  },
8
- "version": "0.34.1"
8
+ "version": "0.35.0"
9
9
  }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,32 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.35.0] - 2026-11-12
10
+
11
+ - **A question deferred goes up again at its hour, not an hour later** (grillhouse-sjj): Beads writes `defer_until` at the local wall time of the machine with a « Z » it does not mean (`--defer 17:30` gives `…T17:30:00Z`), and the wait read it as UTC, one hour late in winter, two in summer. `horsAttente` (scripts/superviseur.mjs) now reads it as Beads writes it. **Action for projects**: none.
12
+
13
+ - **The proof of the red puts aside the tests of the frame's plugin** (grillhouse-1au): the proof refused three times the lot of grillhouse-nglm, `mods/grillhouse/tests/*.test.ts*` « not loading (code 2) »: `npm test` refuses a path out of every package, and `claude plugin test` plays the plugin's tests in the guards with no report test by test. As a night test, a test file of the lot out of every package of the language is put aside, named in the report (« joués par les contrôles »), never counted as not loading (`separerLesFichiersDuJour`, `sectionHorsDesPaquets`, scripts/activites.mjs). **Action for projects**: none.
14
+
15
+ - **The board of several projects gives each project its three lines of states** (grillhouse-cw6): the board of SyntHub's three projects showed neither the queue nor « sans go · à valider · reportés » nor « bloqués », which grillhouse-d7y had given one project's board alone. Each project now has the three lines of one project's board, the first under its label, the two others aligned below it, the third in its tone of alert. **Action for projects**: none.
16
+
17
+ - **The probe of a port no longer takes a connection to itself for a server** (grillhouse-jye.9): the night of 2026-11-12 saw a closed port « listened » in 420 ms, Linux opening a connection to a free local port from that same port (TCP simultaneous open). The probe (`ecoute`, scripts/places-du-serveur.mjs) counts a connection whose local end is its remote end as no server (`connecteeASoi`), as go-redis does; and its test probes the reserved port 1 for a refusal, since the port it has just closed may be taken already by a test running beside it. **Action for projects**: none.
18
+
19
+ - **The envelope opens the own outputs of the language in every package out of the plan** (grillhouse-44b.10.6.1): `npm run verifier -- --gardes` plays every package, and Turborepo writes its journal in `.turbo/` of each, but the envelope gave that only to the root and the test material, so a package out of the plan (`packages/grillhouse-essais`) stayed read-only: « Read-only file system », then « le résumé de la passe ne se lit pas ». As a sandbox of Bazel opens the declared outputs whatever the package, the launcher now creates the missing own outputs (`.turbo`, `node_modules/.vite`) in each package the plan does not name (`preparerLesSorties`) while the copy is writable, and the plan mounts an empty one of each over it; the rest of the package stays read-only, and an output a link carries out of the copy is left out. **Action for projects**: none.
20
+
21
+ - **The four skills of mattpocock the frame calls live in its plugin, and the whole plugin leaves** (grillhouse-8gp): the template and the repository enabled `mattpocock-skills` whole, about 76 skills in the context of every session, while the frame calls four. As a project vendors the small part of a dependency it uses, with its licence and its origin, `grilling`, `writing-for-agents`, `codebase-design` and `domain-modeling` (version 1.3.1, MIT) are now `grillhouse:<name>` under `mods/grillhouse/skills/`, `CREDITS.md` names their origin and carries the licence, and the charter, the grill and the writer call them so. The template no longer enables `mattpocock-skills`, and the grill no longer falls back when it is missing. The migration of `npx grillhouse maj` (0.35.0) removes `mattpocock-skills@claude-plugins-official` from `enabledPlugins` of a project's `.claude/settings.json` and says so once; it cannot tell a project that enabled it for itself, which re-enables it by hand. **Action for projects**: none; a project that calls another skill of `mattpocock-skills` enables the plugin again.
22
+
23
+ - **The update names each flow of the CI without entry in `grillhouse.flux`** (grillhouse-dvu): the guard `flux-des-paquets` refuses a file of `.github/workflows` that `grillhouse.flux` does not declare, but no CHANGELOG had told the projects to declare it (reported by SyntHub at 0.34.0). As the update already says what a project must write, `grillhouse maj` now names each such flow and the command that writes the whole object (`npm pkg set --json grillhouse.flux=…`): the declared entries kept as they are, each missing flow with the list `["<paquet>"]`, a name the graph does not know, so the guard stays red until the project names the package the flow exercises. The guard and the update read the flows without entry through one function (`fluxSansEntree`, scripts/flux-des-paquets.mjs). **Action for projects**: a project whose flows have no entry in `grillhouse.flux` runs the command the update prints, then replaces each `<paquet>` by the name of the package the flow exercises.
24
+
25
+ ## [0.34.2] - 2026-11-12
26
+
27
+ - **The pre-push hook sees a green CI as soon as its run is green** (grillhouse-do5e): on 2026-11-12, main could not advance on a commit whose ticket branch CI was green, the hook asking GitHub for the runs of the commit filtered by `success`, a filter that lags the runs by minutes. It now lists the runs of the commit and reads each one's conclusion (`jugeeDansLesRuns`, scripts/branche-de-nuit.mjs). **Action for projects**: none.
28
+
29
+ - **A pass of the module cargo never joins the sccache server of another** (grillhouse-67dz): on 2026-11-12, every tranche of SyntHub's CI stopped on « sccache: Failed to create temp dir … No such file or directory » under the temporary directory of an earlier verification. The server was named after the copy and the namespace of processes alone, and a server cargo starts keeps the temporary directory of its run, which goes at the pass's end, while the server outlives it. Its socket now follows the run's temporary directory too (`socketDuServeur`, scripts/langages/cargo/sccache.mjs): each pass has its own server, the disk cache stays common. **Action for projects**: none.
30
+
31
+ - **A question that can only be settled later is deferred to its hour** (grillhouse-68a): on 2026-11-12, the question of a circuit that waited for a night test, which the owner had decided to play in the evening, came back at each relaunch of the wait (« toujours sans réponse »), and the stop hook refused the end of each turn; the only way out was to stop the circuit and take its label off. As a review's snooze hides a request until its hour, the supervisor now answers `npx grillhouse circuit <ticket> --reporter <heure> [--contexte <motif>]`: the ticket is deferred (`bd update --defer`), its circuit left waiting on its question, its state and its freed place kept; the wait, the stop hook and the opening keep its question quiet until the hour (`horsAttente`, scripts/superviseur.mjs, a ticket deferred to a later time counted as a closed one), then it goes up again; any other answer lifts the deferral. **Action for projects**: none.
32
+
33
+ - **FAITS AUJOURD'HUI counts the supervisor's tokens on a direct ticket, and leaves out a ticket closed with no delivery** (grillhouse-lcm1): every direct ticket showed 0 token, the board counting the agents the register ties to a ticket and never the supervisor's session, which leads a direct ticket; and a ticket closed as a duplicate counted as a fact. As the owner asks, the reading of a transcript keeps its tokens by minute, the board reads the supervisor's sessions of the repository touched since the day's marker (`jetonsDuSuperviseur`), and a direct ticket takes, from its claim to its close, each minute's share of the supervisor's tokens, shared among the direct tickets he holds at that minute (an estimate). A ticket closed with a link `duplicates` or `supersedes` (`bd duplicate`, `bd supersede`), or labelled `sans-suite`, has no line among the facts. **Action for projects**: close a ticket with no delivery by `bd duplicate`, `bd supersede`, or the label `sans-suite`.
34
+
9
35
  ## [0.34.1] - 2026-11-12
10
36
 
11
37
  - **Pruning the debt no longer empties the debt of the guard of the migrations of the guards** (grillhouse-7jk): `npm run grillhouse:dette:elaguer`, run in a copy whose frame's scripts were another tree's (its `node_modules` linked to the main tree), emptied the whole section `migrations-des-gardes` of `grillhouse-dette.json`: the guard measures nothing outside the frame's own scripts, and pruning read that nothing as every finding corrected; the guard then turned red at the CI. As a baseline (ESLint, Betterer) only moves on what it measured, the guard no longer judges nor prunes its debt where it does not measure. **Action for projects**: none.
@@ -22,12 +48,16 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
22
48
 
23
49
  - **The board shows under AGENTS only the tickets at work, and its head counts the queue of the circuit apart from the direct one** (grillhouse-d7y): a ticket labelled `direct` had its line « ✎ … · en direct » as soon as it was open, so three tickets waiting their turn looked worked at once, and « en attente » in the head counted only the circuit's ready tickets without saying so. As the owner asks, a direct ticket now has its line only once claimed (several at once, each its line), and an open one counts in a new state, « en direct — mené hors du circuit, pas encore pris » (`fileDirecte`). The head of one project reads « ▶ <n> en cours · <n> bloqués · <n> faits », then « ⏭ file : <n> en circuit · <n> en direct »; a project's line among several, and the status line, « ▶ <n> en cours · ⏭ <n> · ✎ <n> · <n> faits ». **Action for projects**: none.
24
50
 
51
+ - **A test never writes into the poste's real register** (grillhouse-44b.16): a night test wrote 44 lines of trial repositories (`grillhouse-essais-lancer-nuit-*`) into `~/.claude/grillhouse/registre.jsonl`, the user's own state, where the report, the board and the planned nights then read them. As git's tests isolate every state of the user (a `HOME` of the trash directory), the base configuration of the tests now sets `GRILLHOUSE_REGISTRE` to a file under the pass's temporary folder, one per test file and removed at its end, only when the launch names none (a register a test or a launch names stays that one). The address of the register is built once, `REGISTRE` of `scripts/adresse-du-registre.mjs`, which reads `GRILLHOUSE_REGISTRE` first: `registre.mjs`, `bilan.mjs` and `tableau.mjs` import it instead of each rebuilding `~/.claude/grillhouse/registre.jsonl`, so the envelope launcher's end-of-session line (`registre.mjs --copie`) goes to the trial register as well. **Action for projects**: none.
52
+
25
53
  - **FAITS AUJOURD'HUI says the way of each ticket done, its duration and its tokens** (grillhouse-592): every line of the day's done tickets began with ✓ and showed its time and tokens only when its agents had some, so a ticket led directly looked like a circuit and stood bare. As the owner's maquette asks, the sign now says the way: ● a full circuit, ○ a short one (through 1.1 Geste mécanique, read from the launch of object `geste` in the circuit's kept results, `voiesDesCircuits`), ✎ a direct ticket (labelled `direct`, or closed with no circuit). Every line carries « <duration> · <tokens> »: a circuit's working time, a direct ticket's time from its claim to its close (« — » without a claim), and the tokens of the agents the register ties to the ticket, the supervisor's staying out. The day's total in the title is unchanged. **Action for projects**: none.
26
54
 
27
55
  ## [0.34.0] - 2026-11-12
28
56
 
29
57
  - **The board shows the night under way, the tickets worked in direct, and the memory of the poste** (grillhouse-bf5.9): a night that ran loaded the machine without a line on the board, and a ticket claimed with no circuit stood as a circuit at step 1, « attend une place ». As a dashboard shows every job that holds a machine, AGENTS now shows, under the line of the places, the night under way, « 🌙 nuit · <project> · depuis <duration> », read by the query of the workflow of the nights (`nuitDuServeur`, `scripts/circuits-du-serveur.mjs`; the view `etatDesNuits` gains `depuis`, when the night under way started), a reading that fails showing none; and each ticket claimed with no circuit on the server that holds it, a mother of it or a ticket under it (one that runs or waits for an answer; a circuit the supervisor stopped holds none), and each ticket labelled `direct`, open or claimed, once, out of the steps, « ✎ <number> <subject> · en direct · <assignee> », from its claim to its close (none while the circuits do not read). The line of the places says the available memory of the total, « mémoire 15/30 Go » (`memoireTotaleGo` of `etatDesPlaces`; the trial measure `GRILLHOUSE_MESURE_D_ESSAI` gains `memoireTotale`). Without a marker file, the board's first reading sets the day's marker to midnight and keeps it, so that only `grillhouse newday` moves it; a ticket waiting for a place turns yellow, as the other waits. A ticket led out of the circuit carries the label `direct`: the queue of the tickets never starts it, even labelled `circuit` (a label `bd create --parent` copies from its epic), as the charter's three ways of a ticket say. **Action for projects**: label `direct` a ticket led by hand.
30
58
 
59
+ - **The lint and the format check play in a session's envelope** (grillhouse-44b.5.7): `npm run lint` failed with EROFS on `node_modules/.cache/eslint/.eslintcache`, the envelope mounting `/` read-only and the `node_modules` of a copy being a link out of it. As Bazel's sandbox opens for writing what an action declares as output, and a tool's cache is one, the scripts `lint` and `format:check` (of the root and of the project template) now keep the cache of ESLint and Prettier under `.cache-outils/`, which the module typescript declares among its clean outputs (an empty folder proper to each session, a whole reading as without a cache) and keeps out of git (`.gitignore`, `_gitignore`); outside the envelope the cache lasts from one pass to the next. The migration « cache des outils » (0.34.1) rewrites the former path in the two scripts of a project, one line per rewrite. **Action for projects**: none; `grillhouse maj` moves the cache.
60
+
31
61
  - **A queue of the tickets started before the journal of states replays again** (grillhouse-jye.5): the journal of states (grillhouse-4nr.20) added the activity `tracerLaFile` to the workflow of the queue of the tickets without Temporal's patching, so a history recorded before it no longer replayed (« Nondeterminism error: Activity machine does not handle this event: TimerStarted », the night of 2026-11-12), and a project's queue still running from before would fail at its next replay. As Temporal's versioning asks of a changed workflow, each line of the journal of the queue (a circuit started, a circuit ended) is now written under `patched('trace-de-la-file')`: a run recorded before the change replays without them, a new run writes them. **Action for projects**: none.
32
62
 
33
63
  - **The testwriter decomposes a behaviour along the pyramid and plays the size guard before handing back** (grillhouse-d4n.6): the testwriter wrote big tests (git repositories mounted, a hook launched as a process) where the pyramid of sizes asks for the logic to be proved small, so the guard `tailles-des-tests` refused the big day test and the circuit looped (grillhouse-d4n.2, `attente-au-tour.spec.ts`). As Google's pyramid and Bazel's sizes want each test at the smallest size that proves its criterion, the skill now teaches to prove the logic by the interface of a module called in its process, to isolate the real launch in a night test only when the plan prescribes it, to take the interface from the plan or the package's `INTERFACE.md` (ending on BESOIN when none publishes the behaviour), and to play `npx grillhouse tailles-des-tests` before handing back, decomposing a refused big day test itself; its rights gain that command, with no wildcard, and no other role gains it. **Action for projects**: none.
@@ -163,23 +193,10 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
163
193
 
164
194
  - **The Temporal tests that mount a server are night tests** (grillhouse-4nr.16): under load, the day's setup of a real Temporal server failed (« Channel has been shut down », « serveur sorti (2) ») and held back the pass of every ticket. Nine files of `tests/temporal/` that start a server are now `*.nuit.spec.ts` (sonde, essai, base-de-reference, file, tickets, passes-de-la-machine, places, circuit, places-de-la-machine), played at night alone; those that mount none (client, commande, etat, installation, acte-mort, tickets-activites) stay of the day. The guard of the sizes (`tailles-des-tests`) classes large a test whose text or test material starts a Temporal development server (`'server', 'start-dev'`), so a day `*.spec.ts` that does is refused. The quarantine of 2026-11-08 is lifted: the tests run at night, without `skip`. **Action for projects**: none.
165
195
 
166
- ### Changed
167
-
168
196
  - **Every role of the circuit names its model, Sonnet but the developpeur's last session, and no session fixes the effort** (grillhouse-3uv.98): the testwriter and the developpeur's first two sessions took the account's default (`~/.claude/settings.json`), so the supervisor's model; they now receive `--modele sonnet`, as the explorateur, the questionneur and the reviewer (now on Sonnet, no longer Opus) do. The developpeur's last session (the third) takes `--modele opus`, the testwriter never; `FORT` no longer carries `--effort high` and no session passes `--effort`, so the effort stays adaptive. The comment the circuit writes after a strong session names opus without an effort. **Action for projects**: none.
169
197
 
170
198
  ## [0.30.0] - 2026-11-07
171
199
 
172
- ### Changed
173
-
174
- - **The circuit runs under Temporal, its command the client of its workflow** (grillhouse-4nr.12): built in the branch `temporal`. `npx grillhouse circuit <ticket>` no longer starts a daemon: it puts the ticket in the queue of the tickets of the project (`ticketsDuProjet`) and gives the hand back at once; `--reprendre`, `--depuis`, `--etendre` and `--arreter` answer the workflow of the ticket on the server (`src/temporal/circuit/commande.ts`, `client.ts`), and `--rattacher` is gone. What a launch reads of its ticket (its title, its plan) is one module, `scripts/depart-du-ticket.mjs` (`ticketAuLancement`, refusal `DepartRefuse`); `--arreter` reads neither the title nor the plan. `--arreter` on a lot integrated says « le lot de <ticket> est intégré » and on a ticket without a circuit that none runs, code 2, nothing signalled. A workflow terminated by force or failed reopens by `--reprendre`, from the state its last memo holds whole (`ecrit`, beside its summary `etat`), or by `--depuis`, `--etendre` and `--arreter` refused there; the answers the client accepts have one rule (`lesReponses` of `scripts/reponses-du-circuit.mjs`, `reponse` of each circuit read), which the opening, the wait and the board propose, nothing else; a server that does not answer within the 5 s of the reading is the board's first alert (« Temporal ne répond pas en 5 s »), its tickets shown without their circuits, and any other fault of the reading is the first alert, as it is (« Circuits illisibles : … »), and the card of a ticket with a circuit ends on the page of its workflow on the web UI of the server; the command of the circuit and `temporal etat`, which read the server within 2 s, say « Temporal ne répond pas en 2 s », one text built by one rule (`sansReponseEn` of `scripts/sans-reponse.mjs`); the replay of a ticket's branch by the queue (the act `avancer`) writes its progress in the ticket's working directory, as every automatic pass does (`avecLAvancementDuTravail`); the supervisor's session goes from `npx grillhouse circuit` to the stop gone up (`EntreeDuCircuit.superviseur`, the signal `seanceDuSuperviseur` of the queue of the tickets, `OuReprendre.superviseur` of the answers), which the bilan reads; the question of a stop « inattendu » whose own act failed names its cause, the first line of the error; each act after the opening of a run builds its context on the plan its workflow holds, reading only the subject of the title, since the integration removes the ticket's copy while the circuit still runs; the working directory of the ticket, which holds the progress of the queue and of the CI, is removed once the queue is done with the ticket closed (`retirerLeTravail` of `scripts/integration/file.mjs`: its CI concluded, or its push not made), no longer at its closure before the push; `scripts/copies-finies.mjs` imports nothing of `dist/`, so that the configurations of the tests load in a project that holds the frame's scripts alone, its command being `scripts/retirer-les-copies-finies.mjs`, which the night runs; a ticket Beads cannot show and a package `--etendre` names that the repository lacks are refused at the door, code 2. The workflow `file:<racine>` is the one register of the queue; the label `en-file` marks a lot already committed. The places of the machine live on the server (`placesDeLaMachine`), each pass takes its own, and a server that does not answer stops the pass, code 1. The memory one act passes to the next keeps the tools, the data, the generated files and the context, no longer the flows of the CI. `TEMPORAL` is no longer a `globalEnv` of Turborepo; it stays in `globalPassThroughEnv`, which the guard of the tools of `grillhouse.outils` requires. `attendreLaSeance` of `scripts/seances.mjs` is removed. The installation of the account's Temporal sets the retention of the namespace `default` to 30 days at each start of the server's unit, once it answers (start-dev gives 24 h); each worker runs the published version of the frame the project names (`grillhouse.outil`), laid down under `~/.cache/grillhouse/outil/<version>/` when absent, a version without a worker refused by its name; each worker's unit names the PATH of the account's tools a circuit runs (node, npm, claude, bd, gh; one not found refused by its name before anything is written) and the project's tools (`grillhouse.outils`); every refusal comes before any writing (the archive, an account's tool, a fault of `grillhouse.outils`, a published version without a worker), but one: the published version is laid down in its cache first, because the refusal of a version without a worker reads it there. `--maison` also holds the cache of the published versions. The search of a command in the PATH is one function of the core, `trouverDansLePath` (`scripts/commandes-du-path.mjs`, given to the modules of language by the join), which the installation, the preparation and the module cargo (sccache) call.
175
- - **A targeted run refuses a night test it names**: on 2026-11-06 an agent replayed the night tests of a branch one by one in the day, eight hours of the machine. As the charter has it, a night test plays at night alone. `npm test -- <chemins>` (and `test:forcer`) now refuses a night test named (`*.nuit.test.*`, `*.nuit.spec.*`, `tests/<nom>_nuit.rs`, `*_nuit_test.py`), by its name, and plays nothing (code 2 for cargo and Python, a red for Vitest); `npx grillhouse nuit` (`tests-de-nuit`) plays it. A time budget bench or a time witness named still plays, under the measure of time. The proof of the red already set night tests aside. **Action for projects**: none; a night test is checked at night.
176
-
177
- ### Changed
178
-
179
- - **A targeted run refuses a night test it names**: on 2026-11-06 an agent replayed the night tests of a branch one by one in the day, eight hours of the machine. As the charter has it, a night test plays at night alone. `npm test -- <chemins>` (and `test:forcer`) now refuses a night test named (`*.nuit.test.*`, `*.nuit.spec.*`, `tests/<nom>_nuit.rs`, `*_nuit_test.py`), by its name, and plays nothing (code 2 for cargo and Python, a red for Vitest); `npx grillhouse nuit` (`tests-de-nuit`) plays it. A time budget bench or a time witness named still plays, under the measure of time. The proof of the red already set night tests aside. **Action for projects**: none; a night test is checked at night.
180
-
181
- - **Each size of test has its delay, the defaults of Bazel** (grillhouse-44b.10.7): as Bazel's test-encyclopedia (small 60 s, medium 300 s, large 900 s), a day test file is killed at the delay of its size, read by the classification of the guard of the sizes (`classer`), a file out of the day that a targeted run names has the large delay, and a night test has 900 s in the night configuration. The three delays are written once, in `vitest-config/bornes.mjs`. `slowTestThreshold` is fixed at 300 ms, and the duration report names the 20 slowest files and their share of the time. The line of a red test for a delay past writes the size and the delay of its file (« petit, 60 s »). There is no debt of the delays. **Action for projects**: none.
182
-
183
200
  ### Added
184
201
 
185
202
  - **The board and the supervisor read the circuits from the Temporal server** (grillhouse-4nr.10): built in the branch `temporal`, which reads only Temporal. The board, the opening of a session of supervision and the wait of the questions read the circuits of a repository in one call to the server (`lireLesCircuits` of `src/temporal/circuit/client.ts`, a list of the workflows, their memo and their status, no worker living, through `scripts/circuits-du-serveur.mjs`), as the UI of Temporal lists its workflows, and no longer read the states `<copie>.circuit.json`: the workflow of a ticket publishes in its memo the summary of the last state it writes (`etat`: step, attempt, stop and first line of its report, object of its questioning, loops, start of its step led) and its question numbered in its run (`numero`); the recorded history `circuit-integre.json` is recorded again for this memo. A circuit runs while its workflow runs without a question awaited, and ends without its issue when it is terminated, failed, timed out or cancelled without a question, its question the command that resumes it. The progress of a pass of the circuit opens in the working directory of its ticket (`<copie>.travail/avancement-*`, one pass at a time), where the board reads it, no longer named in the state. A reading waits 5 s for the server at most: a server down is said at the opening, leaves the board without circuits, and the wait reads again at its next step; a client not built (`dist/` absent) is said for what it is, with the command that builds it. Past its length of history, the workflow of a ticket passes its memo to its next run, which Continue-As-New does not carry by itself. The median of twenty readings of forty circuits stays under 50 ms (a bench of the night; 21 ms measured at rest). The board, its entry and the opening of the supervisor are asynchronous. The wait of the questions reads the circuits every 5 s, without watching a folder; the normal end of a circuit never ends it; a question gone up is kept by its ticket, the run of its workflow, the rank of its question and its stop, and the opening names every question that waits, those gone up included, so that a session closed then opened again finds them all. The bilan receives where its circuit ended from the end of the circuit (the effect `bilan` carries `{ etape, raison, code }`; the command `npx grillhouse bilan` reads it from the workflow's memo), and the removal of the finished copies receives the circuits that run from its caller (the command reads them from the server; the end of a circuit gives none, its line then saying only that the circuit has its working directory): neither reads a state. The former queue of the tickets (`lancerLaFile`, played at the end of a circuit by the effect `file` and at the opening of the supervisor, its section « ## La file des tickets ») is removed: the queue of the tickets under Temporal replaces it, never two engines alive; `scripts/file-des-tickets.mjs` keeps the rule (`ticketsAPartir`) and the reading of Beads. The inscription of a question its caller read (grillhouse-pq6.1, the effect `question-lue`, `inscrireLaQuestionLue`, `sortieLue` of `scripts/demon.mjs`) is removed: its key, the process of the run, matches no key the server gives.
@@ -200,6 +217,11 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
200
217
 
201
218
  ### Changed
202
219
 
220
+ - **The circuit runs under Temporal, its command the client of its workflow** (grillhouse-4nr.12): built in the branch `temporal`. `npx grillhouse circuit <ticket>` no longer starts a daemon: it puts the ticket in the queue of the tickets of the project (`ticketsDuProjet`) and gives the hand back at once; `--reprendre`, `--depuis`, `--etendre` and `--arreter` answer the workflow of the ticket on the server (`src/temporal/circuit/commande.ts`, `client.ts`), and `--rattacher` is gone. What a launch reads of its ticket (its title, its plan) is one module, `scripts/depart-du-ticket.mjs` (`ticketAuLancement`, refusal `DepartRefuse`); `--arreter` reads neither the title nor the plan. `--arreter` on a lot integrated says « le lot de <ticket> est intégré » and on a ticket without a circuit that none runs, code 2, nothing signalled. A workflow terminated by force or failed reopens by `--reprendre`, from the state its last memo holds whole (`ecrit`, beside its summary `etat`), or by `--depuis`, `--etendre` and `--arreter` refused there; the answers the client accepts have one rule (`lesReponses` of `scripts/reponses-du-circuit.mjs`, `reponse` of each circuit read), which the opening, the wait and the board propose, nothing else; a server that does not answer within the 5 s of the reading is the board's first alert (« Temporal ne répond pas en 5 s »), its tickets shown without their circuits, and any other fault of the reading is the first alert, as it is (« Circuits illisibles : … »), and the card of a ticket with a circuit ends on the page of its workflow on the web UI of the server; the command of the circuit and `temporal etat`, which read the server within 2 s, say « Temporal ne répond pas en 2 s », one text built by one rule (`sansReponseEn` of `scripts/sans-reponse.mjs`); the replay of a ticket's branch by the queue (the act `avancer`) writes its progress in the ticket's working directory, as every automatic pass does (`avecLAvancementDuTravail`); the supervisor's session goes from `npx grillhouse circuit` to the stop gone up (`EntreeDuCircuit.superviseur`, the signal `seanceDuSuperviseur` of the queue of the tickets, `OuReprendre.superviseur` of the answers), which the bilan reads; the question of a stop « inattendu » whose own act failed names its cause, the first line of the error; each act after the opening of a run builds its context on the plan its workflow holds, reading only the subject of the title, since the integration removes the ticket's copy while the circuit still runs; the working directory of the ticket, which holds the progress of the queue and of the CI, is removed once the queue is done with the ticket closed (`retirerLeTravail` of `scripts/integration/file.mjs`: its CI concluded, or its push not made), no longer at its closure before the push; `scripts/copies-finies.mjs` imports nothing of `dist/`, so that the configurations of the tests load in a project that holds the frame's scripts alone, its command being `scripts/retirer-les-copies-finies.mjs`, which the night runs; a ticket Beads cannot show and a package `--etendre` names that the repository lacks are refused at the door, code 2. The workflow `file:<racine>` is the one register of the queue; the label `en-file` marks a lot already committed. The places of the machine live on the server (`placesDeLaMachine`), each pass takes its own, and a server that does not answer stops the pass, code 1. The memory one act passes to the next keeps the tools, the data, the generated files and the context, no longer the flows of the CI. `TEMPORAL` is no longer a `globalEnv` of Turborepo; it stays in `globalPassThroughEnv`, which the guard of the tools of `grillhouse.outils` requires. `attendreLaSeance` of `scripts/seances.mjs` is removed. The installation of the account's Temporal sets the retention of the namespace `default` to 30 days at each start of the server's unit, once it answers (start-dev gives 24 h); each worker runs the published version of the frame the project names (`grillhouse.outil`), laid down under `~/.cache/grillhouse/outil/<version>/` when absent, a version without a worker refused by its name; each worker's unit names the PATH of the account's tools a circuit runs (node, npm, claude, bd, gh; one not found refused by its name before anything is written) and the project's tools (`grillhouse.outils`); every refusal comes before any writing (the archive, an account's tool, a fault of `grillhouse.outils`, a published version without a worker), but one: the published version is laid down in its cache first, because the refusal of a version without a worker reads it there. `--maison` also holds the cache of the published versions. The search of a command in the PATH is one function of the core, `trouverDansLePath` (`scripts/commandes-du-path.mjs`, given to the modules of language by the join), which the installation, the preparation and the module cargo (sccache) call.
221
+ - **A targeted run refuses a night test it names**: on 2026-11-06 an agent replayed the night tests of a branch one by one in the day, eight hours of the machine. As the charter has it, a night test plays at night alone. `npm test -- <chemins>` (and `test:forcer`) now refuses a night test named (`*.nuit.test.*`, `*.nuit.spec.*`, `tests/<nom>_nuit.rs`, `*_nuit_test.py`), by its name, and plays nothing (code 2 for cargo and Python, a red for Vitest); `npx grillhouse nuit` (`tests-de-nuit`) plays it. A time budget bench or a time witness named still plays, under the measure of time. The proof of the red already set night tests aside. **Action for projects**: none; a night test is checked at night.
222
+
223
+ - **Each size of test has its delay, the defaults of Bazel** (grillhouse-44b.10.7): as Bazel's test-encyclopedia (small 60 s, medium 300 s, large 900 s), a day test file is killed at the delay of its size, read by the classification of the guard of the sizes (`classer`), a file out of the day that a targeted run names has the large delay, and a night test has 900 s in the night configuration. The three delays are written once, in `vitest-config/bornes.mjs`. `slowTestThreshold` is fixed at 300 ms, and the duration report names the 20 slowest files and their share of the time. The line of a red test for a delay past writes the size and the delay of its file (« petit, 60 s »). There is no debt of the delays. **Action for projects**: none.
224
+
203
225
  - **The passes, the references, the integration, the review and the tri are activities** (grillhouse-4nr.4): `preuve`, `controles`, `regenerer`, `integrer`, `relire`, `trier` and the readings of the copy move from `scripts/circuit.mjs` into `scripts/activites.mjs`, the gesture into `scripts/ticket-du-circuit.mjs`. Each receives its inputs and returns its outcome, none reading nor writing the circuit's memory: the review receives the findings open, the proof its last measure and returns the new one (the same for a lot of files put aside alone, which measures nothing), a session the findings open and the session to resume and returns its findings and names its fresh session, the guard following every module the activities import, the sign of life passes by the port of the circuit, and the files of a session are numbered on those of the working directory, with no shared counter. The regeneration starts by restoring the copy to the lot kept before it, so that an attempt played again after one cut short starts from the same copy; an integration played again on a lot already committed, its branch in the queue, makes no second commit. The circuit's behaviour is otherwise unchanged.
204
226
  - **The sessions of the agents are activities** (grillhouse-4nr.3): `lancer`, `jusquALaFiche`, `seance`, the watch of a motionless transcript and the wait for a session left running move from `scripts/circuit.mjs` into `scripts/seances.mjs`, which the circuit calls, and the reads and writes of the ticket they share (comments, sheets, log, `Arret`) into `scripts/ticket-du-circuit.mjs`. As an activity of Temporal, each session plays a process group (`jouerLeGroupe`) that sends a sign of life `{ pid, depart, seanceId }` at its launch and at each step of its watch, which the circuit writes in its state; cancelled (an `AbortSignal`), it kills its group and ends on `SeanceAnnulee`; a launch that finds alive the group a launch before left (the second attempt of `jusquALaFiche`, the fresh session after a failed resumption) waits for it, under the same watch, before it takes its place (`lancer`); the id of each session comes from its caller, a session without one being refused before any launch. The circuit's behaviour is otherwise unchanged.
205
227
  - **The decisions of the circuit read nothing of the machine** (grillhouse-4nr.5): the content of the branches of `derouler` (`scripts/circuit.mjs`) moves into `scripts/transitions.mjs`, a module with no input nor output, as a workflow of Temporal decides on the results of its activities: from the state of the step, the circuit's memory and the facts read so far, `transition` gives the next fact to read (a session, a pass, a reading of the copy) or the decision (the next step, its attempt, its report, the flag of the final pass, the memory changed, the effects as data, the stop by its name). The circuit reads the facts and plays the effects, and decides nothing itself; its behaviour is unchanged. `A_REPASSER` (75) leaves `scripts/mesure/pression.mjs` for `scripts/codes-de-sortie.mjs`, which the list of the steps, the circuit, the lock of the machine, its places, the integration and the services of the core import. A guard refuses `node:fs` and `node:child_process` in those modules and what they import, and a table of transitions is tested for each step (`tests/unit/transitions.spec.ts`); the guard of the structured results reads the decisions too. The architecture of the package and STRUCTURE.md say so.
@@ -14,7 +14,6 @@
14
14
  "deny": []
15
15
  },
16
16
  "enabledPlugins": {
17
- "mattpocock-skills@claude-plugins-official": true,
18
17
  "rtfm@roomi-fields": true,
19
18
  "grillhouse@roomi-fields": true
20
19
  },
@@ -40,6 +40,7 @@ coverage/
40
40
 
41
41
  # Cache
42
42
  .cache/
43
+ .cache-outils/
43
44
  .eslintcache
44
45
  .prettiercache
45
46
 
@@ -19,10 +19,10 @@
19
19
  "test": "grillhouse tests",
20
20
  "test:watch": "vitest",
21
21
  "test:coverage": "vitest run --coverage",
22
- "lint": "eslint src tests --cache --cache-location node_modules/.cache/eslint/.eslintcache --ext .ts,.js,.mjs",
22
+ "lint": "eslint src tests --cache --cache-location .cache-outils/eslint/.eslintcache --ext .ts,.js,.mjs",
23
23
  "lint:fix": "eslint src tests --ext .ts,.js,.mjs --fix",
24
24
  "format": "prettier --write \"src/**/*.{ts,js,mjs}\" \"tests/**/*.{ts,js,mjs}\"",
25
- "format:check": "prettier --check --cache --cache-location node_modules/.cache/prettier/.prettiercache \"src/**/*.{ts,js,mjs}\" \"tests/**/*.{ts,js,mjs}\"",
25
+ "format:check": "prettier --check --cache --cache-location .cache-outils/prettier/.prettiercache \"src/**/*.{ts,js,mjs}\" \"tests/**/*.{ts,js,mjs}\"",
26
26
  "prepare": "grillhouse hooks && npm run build",
27
27
  "prepublishOnly": "npm run lint && npm run typecheck && npm run verifier && npm run build",
28
28
  "daemon:start": "pm2 start ecosystem.config.cjs",
package/charte.md CHANGED
@@ -27,7 +27,7 @@ professionnel.
27
27
  2. Un défaut remonté est d'abord une question d'architecture : le ticket s'ouvre sur sa section
28
28
  « Architecture » (le modèle mûr nommé, l'adresse dans l'architecture, le mécanisme commun), et
29
29
  le correctif va dans ce mécanisme. Ainsi tout correctif passe par l'architecture.
30
- 3. Une décision reste à prendre : `mattpocock-skills:grilling` avant d'écrire, ses questions dans
30
+ 3. Une décision reste à prendre : `grillhouse:grilling` avant d'écrire, ses questions dans
31
31
  le ticket. Ainsi la décision est prise et écrite avant le code.
32
32
  4. Le plan va dans le ticket : dans le circuit, l'explorateur l'écrit (ses critères, les paquets à
33
33
  toucher, ses questions ouvertes), le questionneur le lit une fois, l'explorateur répond une
@@ -233,7 +233,7 @@ dossier.
233
233
  - **Les tests se lancent par `npm test`** : `npm test -- <chemins>` pour un lancement ciblé,
234
234
  chaque chemin écrit depuis la racine du dépôt ; `npm run test:forcer -- <chemins>` pour rejouer
235
235
  pour de vrai un test soupçonné instable. `npm run verifier` joue les gardes, le typage de chaque
236
- paquet et les tests ; `npm run verifier -- --gardes`, les gardes seules. Aucun agent ne lance
236
+ paquet et les tests ; `npm run verifier -- --gardes`, les gardes, la mise en forme et le lint. Aucun agent ne lance
237
237
  l'outil de test directement. Ainsi chaque test tourne avec ce dont il dépend, et une seule fois
238
238
  tant que rien ne change.
239
239
  - **Les tests ne laissent rien dans le dossier temporaire** : un test crée ses fichiers et
@@ -267,6 +267,6 @@ dossier.
267
267
  et le superviseur étend le plan ou refuse. Ainsi l'agent lit ce dont il a besoin, et les gardes
268
268
  tiennent l'architecture.
269
269
  - Tickets : Beads (`bd`), sous le préfixe du projet, voir `docs/agents/issue-tracker.md`.
270
- - Le greffon `mattpocock-skills` s'appelle avec son préfixe ; un document pour un agent s'écrit
271
- avec `mattpocock-skills:writing-for-agents`.
270
+ - Une compétence du cadre s'appelle avec son préfixe `grillhouse:` ; un document pour un agent
271
+ s'écrit avec `grillhouse:writing-for-agents`.
272
272
  - Réponses en français ; le code et les noms d'API restent en anglais.
@@ -10,6 +10,8 @@ export interface Appel {
10
10
  depuis: (typeof ETAPES_DE_REPRISE)[number] | null;
11
11
  etendre: string[] | null;
12
12
  arreter: boolean;
13
+ /** The hour its question waits for (`bd update --defer`), the circuit left in its wait. */
14
+ reporter: string | null;
13
15
  recommencer: boolean;
14
16
  contexte: string | null;
15
17
  }
@@ -4,6 +4,7 @@ import { ETAPES_DE_REPRISE } from './contrat.js';
4
4
  export const USAGE = 'usage: npx grillhouse circuit <ticket> [--reprendre [--contexte <texte>] | ' +
5
5
  '--depuis <testwriter|preuve|developpeur|controles|passe-finale> --contexte <texte> | ' +
6
6
  '--etendre <paquet>[,<paquet>…] [--contexte <texte>] | --arreter [--contexte <motif>] | ' +
7
+ '--reporter <heure> [--contexte <motif>] | ' +
7
8
  '--recommencer]\n';
8
9
  /** A malformed call, by its reason. */
9
10
  export class Usage extends Error {
@@ -20,6 +21,7 @@ export function lireLAppel(argv) {
20
21
  depuis: null,
21
22
  etendre: null,
22
23
  arreter: false,
24
+ reporter: null,
23
25
  recommencer: false,
24
26
  contexte: null,
25
27
  };
@@ -32,6 +34,13 @@ export function lireLAppel(argv) {
32
34
  else if (a === '--arreter') {
33
35
  o.arreter = true;
34
36
  }
37
+ else if (a === '--reporter') {
38
+ if (suivant === undefined || suivant.startsWith('-')) {
39
+ throw new Usage('--reporter attend son heure (+6h, demain, 2026-11-13 08:00).');
40
+ }
41
+ o.reporter = suivant;
42
+ i++;
43
+ }
35
44
  else if (a === '--recommencer') {
36
45
  o.recommencer = true;
37
46
  }
@@ -73,6 +82,9 @@ export function lireLAppel(argv) {
73
82
  if (!ticket) {
74
83
  throw new Usage('le ticket manque.');
75
84
  }
85
+ if (o.reporter && (o.reprendre || o.depuis || o.etendre || o.arreter || o.recommencer)) {
86
+ throw new Usage('--reporter va seule, son motif en --contexte : le circuit reste en attente.');
87
+ }
76
88
  if (o.recommencer && (o.reprendre || o.depuis || o.etendre || o.arreter)) {
77
89
  throw new Usage('--recommencer va seule : le circuit repart à neuf, sans réponse ni contexte.');
78
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"mappings":"AAAA,sGAAsG;AACtG,iFAAiF;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAChB,6EAA6E;IAC7E,uFAAuF;IACvF,yFAAyF;IACzF,kBAAkB,CAAC;AAErB,uCAAuC;AACvC,MAAM,OAAO,KAAM,SAAQ,KAAK;CAAG;AAanC,oGAAoG;AACpG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,MAAc,EAAU,EAAE,CACnE,iBAAiB,MAAM,2DAA2D;IAClF,gGAAgG;IAChG,kCAAkC,CAAC;AAErC,+EAA+E;AAC/E,MAAM,UAAU,UAAU,CAAC,IAAc;IACvC,IAAI,MAAM,GAAkB,IAAI,CAAC;IACjC,MAAM,CAAC,GAA0B;QAC/B,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAE,CAAC;QACnB,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QAC5B,IAAI,CAAC,KAAK,aAAa,EAAE,CAAC;YACxB,CAAC,CAAC,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E,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;IACvF,CAAC;IACD,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;QAC3C,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;AAC1B,CAAC"}
@@ -102,6 +102,13 @@ async function mettreEnFile(client, racine, ticket, recommence = false) {
102
102
  // The answer <appel> to the circuit of its ticket in <racine>: its line.
103
103
  async function repondre(client, racine, appel) {
104
104
  const { ticket, contexte } = appel;
105
+ if (appel.reporter) {
106
+ // The ticket deferred, its circuit left waiting on its question: the wait, the stop and the
107
+ // opening keep it quiet until the hour (scripts/superviseur.mjs `horsAttente`).
108
+ bd(racine, 'update', ticket, '--defer', appel.reporter);
109
+ bd(racine, 'comments', 'add', ticket, `Question reportée au ${appel.reporter}${contexte ? ` : ${contexte}` : ''} ; le circuit reste en attente, sa question remonte à l'heure.`);
110
+ return `▶ Circuit de ${ticket} : sa question est reportée au ${appel.reporter} ; le circuit reste en attente, sa question remonte à l'heure.`;
111
+ }
105
112
  if (appel.arreter) {
106
113
  await arreterLeCircuit(client, racine, ticket, contexte);
107
114
  return `▶ Circuit de ${ticket} : l'arrêt est demandé ; il s'arrête, sa séance avec lui.`;
@@ -112,6 +119,8 @@ async function repondre(client, racine, appel) {
112
119
  const { resoudre } = aLaPorte(() => ticketAuLancement(racine, ticket, { arreter: true }));
113
120
  aLaPorte(() => appel.etendre.forEach(resoudre));
114
121
  }
122
+ // An answer lifts a deferral of the question.
123
+ bd(racine, 'update', ticket, '--defer', '');
115
124
  const ou = { superviseur: seanceDuSuperviseur() };
116
125
  const dit = appel.depuis
117
126
  ? await reprendreDepuis(client, racine, ticket, appel.depuis, contexte, ou)
@@ -140,7 +149,7 @@ async function principal(argv) {
140
149
  const racine = arbrePrincipal();
141
150
  const c = ouvrirLeClient();
142
151
  try {
143
- const repond = appel.reprendre || appel.depuis || appel.etendre || appel.arreter;
152
+ const repond = appel.reprendre || appel.depuis || appel.etendre || appel.arreter || appel.reporter;
144
153
  let ligne;
145
154
  if (appel.recommencer) {
146
155
  const retiree = await recommencerLeCircuit(c.client, racine, appel.ticket, retirerLaCopieDuTicket);
@@ -1 +1 @@
1
- {"version":3,"file":"commande.js","sourceRoot":"","sources":["../../../src/temporal/circuit/commande.ts"],"names":[],"mappings":";AACA,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,8FAA8F;AAC9F,iEAAiE;AACjE,qFAAqF;AACrF,oFAAoF;AACpF,+DAA+D;AAC/D,8CAA8C;AAC9C,EAAE;AACF,8FAA8F;AAC9F,qFAAqF;AACrF,kGAAkG;AAClG,+FAA+F;AAC/F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,kGAAkG;AAClG,gGAAgG;AAChG,iBAAiB;AACjB,iGAAiG;AACjG,iGAAiG;AACjG,iLAAiL;AACjL,mGAAmG;AACnG,mGAAmG;AACnG,oGAAoG;AACpG,gEAAgE;AAChE,8FAA8F;AAC9F,8FAA8F;AAC9F,2FAA2F;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,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AAC,CAAU,EAAE,EAAE;IACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CACF,CAAC"}
@@ -249,8 +249,9 @@ oublié après les rapports d'API, un plafond refusé faute d'être nommé au pl
249
249
  retrouvée en trois commandes). Le circuit ne lit pas
250
250
  le code de sortie d'un générateur du cadre, qui juge aussi les rouges qu'il laisse (`npm run api`
251
251
  refuse à côté d'eux) : il juge la régénération sur ce qu'elle écrit, puis sur la passe restreinte
252
- qui suit, et seule une vraie panne l'arrête (la commande introuvable, ou tuée par un signal). La dette s'abaisse depuis les notes de la passe finale (une note
253
- `a-elaguer` du SARIF d'une garde, chaque clé inscrite au-dessus de ce qu'elle trouve), par
252
+ qui suit, et seule une vraie panne l'arrête (la commande introuvable, ou tuée par un signal). La dette s'abaisse depuis les notes de la passe finale et depuis celles des contrôles du plan
253
+ (3.1), qui lisent leurs notes `a-elaguer` (une note du SARIF d'une garde, chaque clé inscrite
254
+ au-dessus de ce qu'elle trouve) et régénèrent la dette, par
254
255
  `dette.mjs --abaisser`, sans rejouer les gardes. Elle inscrit aussi la dette d'une garde que le lot
255
256
  ajoute, absente des gardes de main (le circuit les nomme à la passe par `GRILLHOUSE_GARDES_DE_LA_BASE`) :
256
257
  chaque fichier et règle de ses constats est une note `a-inscrire`, au compte trouvé, que la
@@ -615,7 +616,12 @@ test son `TEST_TMPDIR` et nettoie ses bacs à sable
615
616
  ce que ses tests y laissent la fait échouer, chaque nom écrit, comme la CI d'osc-bridge
616
617
  (OB-ud1.3), les caches des outils qu'un test lance tolérés par leur nom ; le module de chaque langage nomme son outil et joue cette garde dans son lanceur de
617
618
  tests (typescript : la base de chaque lancement de Vitest, `mkdtempSync` retiré en `afterAll` ;
618
- cargo : `tester` et `verifier`, le crate `tempfile`). Ainsi un essai oublié ne remplit jamais le
619
+ cargo : `tester` et `verifier`, qui donnent à chaque crate un sous-dossier de la base où jouent
620
+ ses tests, la ligne d'un reste nommant le crate qui l'a laissé et le rougissant). Les dossiers
621
+ d'essai sous la maison (`~/.cache/grillhouse-essais-*`, `racineSousLaMaison`) portent leur fichier
622
+ de propriétaire ; l'ouverture d'une base les balaie, depuis l'hôte seul : celui dont la passe est
623
+ morte part, celui sans propriétaire lisible part après 24 h ; un lancement de Vitest compte comme
624
+ un reste, qui le fait échouer, ceux que nomme `essais()` pour sa passe. Ainsi un essai oublié ne remplit jamais le
619
625
  dossier temporaire de la machine, et le test qui l'oublie est nommé.
620
626
 
621
627
  **Un fichier temporaire meurt avec son propriétaire** : une base a pour propriétaire un
@@ -1392,7 +1398,7 @@ enregistrer-la-base-de-reference.mjs`, avec la version épinglée d'alors) quand
1392
1398
  - Une séance d'agent est une activité. Son identifiant porte l'essai de l'activité
1393
1399
  (`<séance>-e<essai>`), si bien que deux essais ne se disputent jamais un `--session-id`.
1394
1400
  lancer.sh range le résultat de chaque séance sous son identifiant
1395
- (`<copie>.travail/seances/<id>/` : `fin`, `resultat.json`, `hors-plan` ; `rangDeLaSeance` de
1401
+ (`<copie>.travail/seances/<id>/` : `fin`, `resultat.json`, `hors-plan`, `hors-plan.json` (`{ chemin, paquet, racine }`, l'écriture refusée) ; `rangDeLaSeance` de
1396
1402
  `scripts/seances.mjs`), une séance hors de l'enveloppe le sien au même lieu. À l'essai 2 et plus, l'activité cherche d'abord l'essai mort par le signe de
1397
1403
  vie de son groupe : un groupe encore vivant s'attend, puis son résultat se lit ; un résultat
1398
1404
  rangé se rend, sans seconde séance, au dernier lancement de l'essai mort quel que soit son
package/docs/INTERFACE.md CHANGED
@@ -187,9 +187,10 @@ noyau, et chaque réponse décrit sans agir, sauf `verifier` d'un fichier engend
187
187
  `ecrites` s'ouvrent en écriture, créées avant la séance, un dossier quand le chemin finit par
188
188
  `/`, sinon un fichier vide : un chemin depuis la racine de la copie, `~/…` depuis la maison,
189
189
  `//…` depuis l'arbre principal, un magasin que toutes les copies partagent. `propres` deviennent
190
- un dossier vide propre à la séance, à la racine de la copie et dans chaque composant de la
191
- matière de test, là où la séance ne les écrit pas, comme Bazel écrit les journaux d'un test hors
192
- de ses sources. `lues`, `~/…` ou `//…`, se montent en lecture seule avant ce qui s'écrit en
190
+ un dossier vide propre à la séance, dans chaque paquet de la copie que le plan ne nomme pas, à
191
+ la racine quand le plan ne l'écrit pas, et dans la matière de test sauf pour le testwriter, qui
192
+ l'écrit ; le lanceur crée ceux qui manquent avant de monter (`preparerLesSorties`), comme Bazel
193
+ écrit les journaux d'un test hors de ses sources. `lues`, `~/…` ou `//…`, se montent en lecture seule avant ce qui s'écrit en
193
194
  elles, quand elles existent. `typescript` : `//.turbo/cache/` écrit, `.turbo` et
194
195
  `node_modules/.vite` propres ; `cargo` : `target/`, et dans `~/.cargo` son registre, ses
195
196
  dépendances git, ses avis de sécurité et les fichiers de ses verrous et du cache de ses paquets
package/hooks/crochet.mjs CHANGED
@@ -51,12 +51,6 @@ if (existsSync(commande)) {
51
51
  }
52
52
  process.exitCode = r.status ?? 1;
53
53
  }
54
- } else if (sous === 'verrou') {
55
- writeSync(
56
- 2,
57
- `⛔ verrou : le cadre de l'arbre principal est absent (${commande}) ; écriture refusée. La réparation de l'arbre principal revient au superviseur, hors séance d'agent.\n`
58
- );
59
- process.exitCode = 2;
60
54
  } else if (sous === 'session-start') {
61
55
  writeSync(
62
56
  1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomi-fields/grillhouse",
3
- "version": "0.34.1",
3
+ "version": "0.35.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",
@@ -450,7 +450,9 @@ export function gardesDeLaBase(ctx) {
450
450
  } catch {
451
451
  // an unreadable script keeps its script's name alone
452
452
  }
453
- for (const m of source.matchAll(/\bGARDE\s*=\s*'([^']+)'|\btrancher\(\s*racine,\s*'([^']+)'/g)) {
453
+ for (const m of source.matchAll(
454
+ /\bGARDE\s*=\s*'([^']+)'|\btrancher\(\s*racine,\s*'([^']+)'/g
455
+ )) {
454
456
  noms.push(m[1] ?? m[2]);
455
457
  }
456
458
  }
@@ -930,19 +932,44 @@ export function preuveReussie(
930
932
  return rouges > 0;
931
933
  }
932
934
 
933
- // The files <fichiers> of the lot, in the copy, split into the ones the day plays (`jour`) and the
935
+ // The files <fichiers> of the lot, in the copy, split into the ones the day plays (`jour`), the
934
936
  // ones only the night plays (`misDeCote`: a night test, a bench, a time witness), by each module's
935
- // own definition (`horsDuJour` of the join); the order of the lot kept.
937
+ // own definition (`horsDuJour` of the join), and the ones out of every package of the language
938
+ // (`horsDesPaquets`: the tests of the frame's plugin, which `claude plugin test` plays in the
939
+ // guards, with no report test by test); the order of the lot kept.
936
940
  export function separerLesFichiersDuJour(ctx, fichiers) {
937
941
  const langage = langageDe(ctx.copie);
942
+ const paquets = composantsDe(ctx.copie).filter(p => !p.hors);
943
+ // A project without packages is one package: `npm test` plays its every path.
944
+ const dansUnPaquet = f =>
945
+ paquets.length === 0 ||
946
+ paquets.some(({ dossier }) =>
947
+ `${path.resolve(ctx.copie, f)}${path.sep}`.startsWith(path.join(ctx.copie, dossier, path.sep))
948
+ );
938
949
  const jour = [];
939
950
  const misDeCote = [];
951
+ const horsDesPaquets = [];
940
952
  for (const f of fichiers) {
941
- (langage.horsDuJour(f, ctx.copie) ? misDeCote : jour).push(f);
953
+ if (!dansUnPaquet(f)) {
954
+ horsDesPaquets.push(f);
955
+ } else {
956
+ (langage.horsDuJour(f, ctx.copie) ? misDeCote : jour).push(f);
957
+ }
942
958
  }
943
- return { jour, misDeCote };
959
+ return { jour, misDeCote, horsDesPaquets };
944
960
  }
945
961
 
962
+ // The lines of the section of the report of the proof that names the files <fichiers> out of every
963
+ // package, which the checks play; none for none.
964
+ export const sectionHorsDesPaquets = fichiers =>
965
+ fichiers.length
966
+ ? [
967
+ `Mis de côté (hors de tout paquet, joués par les contrôles) (${fichiers.length}) :`,
968
+ ...fichiers.map(f => `- ${f}`),
969
+ '',
970
+ ]
971
+ : [];
972
+
946
973
  // The lines of the section of the report of the proof that names the files <fichiers> put aside;
947
974
  // none for none.
948
975
  export const sectionMisDeCote = fichiers =>
@@ -1750,7 +1777,13 @@ export function preuve(ctx, { mesure: derniere = null, fichiers: seuls = null }
1750
1777
  // Only the files of the day are proved; the ones only the night plays are put aside, named.
1751
1778
  // Resumed at a red (<seuls>, the files it names), the proof plays these files alone and passes
1752
1779
  // when they load: a test fixed is green, not red.
1753
- const { jour: fichiers, misDeCote } = separerLesFichiersDuJour(ctx, seuls ?? testsDuLot(ctx));
1780
+ const {
1781
+ jour: fichiers,
1782
+ misDeCote: deNuit,
1783
+ horsDesPaquets,
1784
+ } = separerLesFichiersDuJour(ctx, seuls ?? testsDuLot(ctx));
1785
+ // Every file the proof cannot measure: the night's, and the ones out of every package.
1786
+ const misDeCote = [...deNuit, ...horsDesPaquets];
1754
1787
  const portent = portentLeTravail(fichesDe(ctx, 'testwriter'));
1755
1788
  // Whether the sheet names the test <a> of the file <f>, by its full name or by its whole file.
1756
1789
  const nomme = (f, a) =>
@@ -1874,7 +1907,8 @@ export function preuve(ctx, { mesure: derniere = null, fichiers: seuls = null }
1874
1907
  ]
1875
1908
  : []),
1876
1909
  ...section('Fichiers qui ne prouvent rien', casses),
1877
- ...sectionMisDeCote(misDeCote),
1910
+ ...sectionMisDeCote(deNuit),
1911
+ ...sectionHorsDesPaquets(horsDesPaquets),
1878
1912
  ]
1879
1913
  .join('\n')
1880
1914
  .trim();
@@ -0,0 +1,10 @@
1
+ // The one address of the register of finished agents: GRILLHOUSE_REGISTRE first, else the
2
+ // workstation's `~/.claude/grillhouse/registre.jsonl`. A module of its own, imported by every
3
+ // reader and writer of the register (scripts/registre.mjs re-exports it), so that bilan.mjs and
4
+ // tableau.mjs read it without a cycle through registre.mjs.
5
+ import os from 'node:os';
6
+ import path from 'node:path';
7
+
8
+ export const REGISTRE =
9
+ process.env.GRILLHOUSE_REGISTRE ??
10
+ path.join(os.homedir(), '.claude', 'grillhouse', 'registre.jsonl');
@@ -29,7 +29,7 @@ import path from 'node:path';
29
29
  import { pathToFileURL } from 'node:url';
30
30
  import { racineDeLaSupervision } from './attente-au-tour.mjs';
31
31
  import { circuitsDuServeur } from './circuits-du-serveur.mjs';
32
- import { questionsEnAttente, ticketsFermes } from './superviseur.mjs';
32
+ import { questionsEnAttente, ticketsHorsAttente } from './superviseur.mjs';
33
33
  import { attenteVivante } from './tableau.mjs';
34
34
 
35
35
  // The note of what blocked the stop in the repository at <racine>.
@@ -62,7 +62,7 @@ export async function attenteALArret(
62
62
  dossier,
63
63
  {
64
64
  env = process.env,
65
- fermes = ticketsFermes,
65
+ fermes = ticketsHorsAttente,
66
66
  circuitsDe = circuitsDuServeur,
67
67
  attenteVit = attenteVivante,
68
68
  } = {}
@@ -20,7 +20,7 @@ import path from 'node:path';
20
20
  import { pathToFileURL } from 'node:url';
21
21
  import { circuitsDuServeur } from './circuits-du-serveur.mjs';
22
22
  import { vivant } from './mesure/base-de-passe.mjs';
23
- import { questionsEnAttente, ticketsFermes, verrouDeLAttente } from './superviseur.mjs';
23
+ import { questionsEnAttente, ticketsHorsAttente, verrouDeLAttente } from './superviseur.mjs';
24
24
 
25
25
  // The process that the lock of the wait of the repository at <racine> names; null without a lock.
26
26
  function tenant(racine) {
@@ -71,7 +71,7 @@ export function racineDeLaSupervision(dossier, env = process.env) {
71
71
  */
72
72
  export async function attenteAuTour(
73
73
  dossier,
74
- { env = process.env, fermes = ticketsFermes, circuitsDe = circuitsDuServeur } = {}
74
+ { env = process.env, fermes = ticketsHorsAttente, circuitsDe = circuitsDuServeur } = {}
75
75
  ) {
76
76
  const racine = racineDeLaSupervision(dossier, env);
77
77
  if (!racine) {
package/scripts/bilan.mjs CHANGED
@@ -96,6 +96,7 @@ import {
96
96
  import os from 'node:os';
97
97
  import path from 'node:path';
98
98
  import { StringDecoder } from 'node:string_decoder';
99
+ import { REGISTRE } from './adresse-du-registre.mjs';
99
100
  import { pathToFileURL } from 'node:url';
100
101
  import {
101
102
  AGENTS_DU_LOT,
@@ -706,10 +707,10 @@ function messagesDeLaSeance(seance) {
706
707
  // circuit kept, where its circuit ended (<fin>, `{ etape, raison, code }`, null while it runs), and
707
708
  // the owner's messages in the supervisor's sessions its stops name unless <responsable> is false.
708
709
  function calculer(racine, ticket, fin, { responsable = true } = {}) {
709
- const registre =
710
- process.env.GRILLHOUSE_REGISTRE ??
711
- path.join(os.homedir(), '.claude', 'grillhouse', 'registre.jsonl');
712
- const lignes = lignesDuProjet(existsSync(registre) ? readFileSync(registre, 'utf8') : '', racine);
710
+ const lignes = lignesDuProjet(
711
+ existsSync(REGISTRE) ? readFileSync(REGISTRE, 'utf8') : '',
712
+ racine
713
+ );
713
714
  const fiches = path.join(dossier(racine), `${ticket}.fiches.jsonl`);
714
715
  const entrees = (existsSync(fiches) ? readFileSync(fiches, 'utf8') : '')
715
716
  .split('\n')