@roomi-fields/grillhouse 0.52.0 → 0.54.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.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +96 -0
- package/agents/direct.md +1 -1
- package/cadre/templates/projet/docs/agents/issue-tracker.md +2 -2
- package/cadre/templates/projet/vitest.config.cjs +45 -0
- package/charte/superviseur.md +36 -37
- package/charte.md +13 -1
- package/dist/temporal/circuit/appel.d.ts +2 -0
- package/dist/temporal/circuit/appel.js +24 -2
- package/dist/temporal/circuit/appel.js.map +1 -1
- package/dist/temporal/circuit/client.d.ts +14 -5
- package/dist/temporal/circuit/client.js +41 -9
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +17 -6
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +9 -0
- package/dist/temporal/circuit/contrat.js +6 -0
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +29 -12
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/client.d.ts +35 -1
- package/dist/temporal/client.js +144 -1
- package/dist/temporal/client.js.map +1 -1
- package/dist/temporal/commande.js +31 -13
- package/dist/temporal/commande.js.map +1 -1
- package/dist/temporal/etat.d.ts +3 -1
- package/dist/temporal/etat.js +31 -17
- package/dist/temporal/etat.js.map +1 -1
- package/dist/temporal/file/activites.js +1 -1
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +4 -5
- package/dist/temporal/file/contrat.js +2 -2
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.js +7 -5
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/installation.d.ts +116 -53
- package/dist/temporal/installation.js +898 -241
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/nuits/deroule.js +3 -1
- package/dist/temporal/nuits/deroule.js.map +1 -1
- package/dist/temporal/places/deroule.js +2 -1
- package/dist/temporal/places/deroule.js.map +1 -1
- package/dist/temporal/sonde/deroule.js +2 -1
- package/dist/temporal/sonde/deroule.js.map +1 -1
- package/dist/temporal/tickets/deroule.js +4 -3
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/dist/temporal/travailleur.d.ts +7 -1
- package/dist/temporal/travailleur.js +49 -25
- package/dist/temporal/travailleur.js.map +1 -1
- package/docs/INTERFACE.md +37 -12
- package/docs/architecture/circuit.md +21 -18
- package/docs/architecture/entree.md +10 -11
- package/docs/architecture/greffon.md +45 -27
- package/docs/architecture/installation.md +92 -59
- package/docs/architecture/machine.md +2 -2
- package/docs/architecture/tests.md +15 -6
- package/docs/lexique.md +2 -2
- package/hooks/hooks.json +10 -0
- package/hooks/register.tsx +59 -39
- package/package.json +3 -2
- package/scripts/activites.mjs +5 -4
- package/scripts/aiguillage.mjs +5 -2
- package/scripts/bd-garde.mjs +69 -0
- package/scripts/ci-de-main.mjs +259 -56
- package/scripts/circuit.mjs +274 -47
- package/scripts/circuits-du-serveur.mjs +3 -2
- package/scripts/circuits-tenus.d.mts +7 -0
- package/scripts/circuits-tenus.mjs +17 -0
- package/scripts/commandes-composees.mjs +1 -1
- package/scripts/copie-de-montee.mjs +354 -0
- package/scripts/copies-du-depot.d.mts +13 -0
- package/scripts/copies-du-depot.mjs +66 -0
- package/scripts/copies-finies.mjs +6 -40
- package/scripts/crochets.mjs +16 -2
- package/scripts/direct.mjs +2 -2
- package/scripts/droits.mjs +13 -6
- package/scripts/engendres.mjs +5 -3
- package/scripts/enveloppe/travail-de-la-copie.mjs +77 -0
- package/scripts/etapes.mjs +11 -3
- package/scripts/faits-du-circuit.mjs +12 -5
- package/scripts/file-des-tickets.d.mts +13 -2
- package/scripts/file-des-tickets.mjs +71 -21
- package/scripts/greffons.mjs +42 -27
- package/scripts/grillhouse-maj.mjs +105 -85
- package/scripts/init.mjs +1 -1
- package/scripts/integration/file.mjs +5 -2
- package/scripts/integration/integrer.mjs +14 -4
- package/scripts/jointure.d.ts +16 -0
- package/scripts/langages/c/commandes.mjs +18 -8
- package/scripts/langages/cargo/commandes.mjs +88 -35
- package/scripts/langages/cargo/index.mjs +6 -3
- package/scripts/langages/cargo/sccache.mjs +15 -12
- package/scripts/langages/cargo/tailles-des-tests.mjs +115 -6
- package/scripts/langages/python/commandes.mjs +19 -9
- package/scripts/langages/python/squelette.mjs +2 -2
- package/scripts/langages/typescript/code-mort.mjs +36 -3
- package/scripts/langages/typescript/configurations-de-vitest.mjs +118 -0
- package/scripts/langages/typescript/index.mjs +2 -0
- package/scripts/langages/typescript/migrations/configurations-en-commonjs.mjs +370 -0
- package/scripts/langages/typescript/mise-a-jour.mjs +49 -12
- package/scripts/langages/typescript/parcours.mjs +5 -1
- package/scripts/langages/typescript/squelette.mjs +20 -17
- package/scripts/langages/typescript/tests-de-nuit.mjs +3 -3
- package/scripts/langages/typescript/turbo-des-paquets.mjs +24 -37
- package/scripts/langages/typescript/vitest-config/base.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/bornes.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/cibles.mjs +2 -2
- package/scripts/langages/typescript/{vitest.nuit.config.mjs → vitest.nuit.config.cjs} +61 -50
- package/scripts/langages.d.mts +6 -0
- package/scripts/langages.mjs +6 -0
- package/scripts/lire.mjs +236 -0
- package/scripts/mesure/pression.mjs +5 -3
- package/scripts/migrations/cout-des-jetons-au-registre.mjs +136 -0
- package/scripts/migrations/lire-un-ticket.mjs +46 -0
- package/scripts/migrations.mjs +4 -0
- package/scripts/montee.mjs +588 -0
- package/scripts/nuit.sh +21 -12
- package/scripts/outil.mjs +5 -3
- package/scripts/paquet-npm.mjs +22 -0
- package/scripts/paquet.mjs +5 -5
- package/scripts/pre-compact.mjs +25 -0
- package/scripts/registre.d.mts +7 -1
- package/scripts/registre.mjs +114 -102
- package/scripts/reponses-du-circuit.d.mts +17 -2
- package/scripts/reponses-du-circuit.mjs +78 -20
- package/scripts/resultats.mjs +55 -17
- package/scripts/retirer-les-copies-finies.mjs +4 -7
- package/scripts/seances.mjs +28 -3
- package/scripts/services-du-noyau.mjs +7 -2
- package/scripts/session-start.sh +18 -11
- package/scripts/sortie.mjs +4 -7
- package/scripts/sous-commandes.mjs +2 -0
- package/scripts/suiveur.mjs +12 -4
- package/scripts/superviseur.mjs +135 -84
- package/scripts/tableau.mjs +651 -224
- package/scripts/tarifs.mjs +67 -0
- package/scripts/ticket-du-circuit.mjs +25 -4
- package/scripts/transitions.d.mts +6 -14
- package/scripts/transitions.mjs +126 -49
- package/scripts/verdict-de-la-nuit.mjs +2 -2
- package/scripts/verrou-de-fichier.d.mts +11 -0
- package/skills/direct/SKILL.md +21 -11
- package/skills/explorateur/SKILL.md +16 -6
- package/skills/grill/SKILL.md +9 -7
- package/skills/grill/references/paquets.md +4 -4
- package/skills/mesure/SKILL.md +4 -3
- package/skills/pitmaster/SKILL.md +56 -35
- package/skills/pitmaster/references/consigne-agent.md +1 -1
- package/skills/pitmaster/references/erreurs.md +4 -2
- package/skills/pitmaster/references/tour.md +11 -4
- package/skills/relecteur/SKILL.md +8 -1
- package/skills/testwriter/SKILL.md +1 -1
- package/types/index.d.ts +3 -1
- package/cadre/templates/projet/vitest.config.ts +0 -44
- package/scripts/base-des-workflows.mjs +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,102 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.54.0] - 2026-12-01
|
|
10
|
+
|
|
11
|
+
- **The defect ticket of a red of main has a title a circuit starts on** (grillhouse-3uv.298): the ticket of a red CI of main was titled « CI de main rouge — CI, passage <n> », whose last part the departure of a circuit read as its components and refused. It now reads « number — CI de main rouge : <flow>, passage <n> — components », and the night's « number — subject — components » in place of « parent ». The components are the packages the commit scopes of the lots since the last green name, else the package of the frame when the repository holds it, else « . ». A pass keeps one ticket, the one under the former title included. The lots of a project whose ticket prefix holds a hyphen are now named too.
|
|
12
|
+
- **The dead-code guard refuses a knip that did not load a configuration** (grillhouse-3uv.296.1): seen on SyntHub, knip wrote « ERROR: Error loading packages/interface/vitest.config.cjs » on stderr and the guard gave 52 findings « sans appelant » from that partial report. It now refuses, before the debt is judged, when a run of knip writes such a line, each one cited, or ends on another exit code than 0 and 1; the debt is then neither inscribed nor lowered, and does not absorb the refusal. **Action for projects**: where the guard refuses for a configuration, fix the one knip names so that knip loads it, or set its plugin in `knip.json` with its reason.
|
|
13
|
+
- **The output of a response counts whole** (grillhouse-3uv.291.1): a transcript writes a streamed response over several lines of one identifier, and the board and the register kept the first, whose output is partial (about 8.9 M output tokens of sub-agents missing on Grillhouse). The largest output read now counts, whatever the order of the lines, the input and the cache once; the extra output is spent at the date of its line, at the tariff of its request. The board reads again from their start the transcripts its cache counted the old way, and the migration `cout des jetons au registre` rewrites `jetons` as well as `cout` on the lines whose transcript still exists. **Action for projects**: none beyond the update.
|
|
14
|
+
|
|
15
|
+
- **A response present in several transcripts counts once** (grillhouse-3uv.291.2): 818 responses of the frame's repository sat in two transcripts (about 65 $). The board and the register count a response, named by its message's id and its request's id, once among the transcripts of a project, in one copy chosen as ccusage does: off a sidechain, then the largest total of tokens, then the one with `cache_creation`; the line of the register of another transcript leaves it out of its tokens, cache and cost. The migration « cout des jetons au registre » recalculates the tokens, cache and cost of the existing lines accordingly. The transcripts of one agent now add up, on the board and in its line of the register. Writing a line now scans the project's transcripts written since the agent began. Gaps to ccusage, decided by the supervisor (2026-11-30): at equal usage the file created first wins before the first path, because the register only adds lines and a later copy would count twice; the key is that pair alone, so a replay of a sidechain under another request id counts apart (none seen); the speed and the written cost are not read. **Action for projects**: none beyond the update.
|
|
16
|
+
|
|
17
|
+
- **An update no longer fails when the tickets of a project of the machine do not read** (grillhouse-3uv.294.1): seen on an update of OSD (2026-11-30), `bd list` of another project not answering made `npx grillhouse temporal installer` exit 1. Decided (2026-11-30): the report still says the project and the command to play again, its copies with a `.travail` folder keep their versions, the other versions nothing names are removed, and the exit is 0. A source that blocks every removal, or a removal that fails, still exits 1. **Action for projects**: none beyond the update.
|
|
18
|
+
|
|
19
|
+
- **`npx grillhouse temporal` runs by the published version in the frame's repository** (grillhouse-3uv.290.1): decided by the owner (2026-11-30). The subcommand was a tool of the repository: a repair by hand, `temporal installer`, played the `dist` of the workspace, which may be stale. It is now redirected to the version `grillhouse.outil` names, as the orchestration is; a version that cannot be installed is said in one line and the code of the repository takes its place. The night flow of the frame lays the program `temporal` down by the file its step Build has just built. **Action for projects**: none beyond the update.
|
|
20
|
+
|
|
21
|
+
- **A circuit stopped by `--arreter` keeps what its stop held** (grillhouse-dhy.1): the state it writes keeps the work on the plan (`questionnement`), so a circuit stopped during its plan reads at « 1 Plan » and no longer at « 2 Tests »; it also keeps the motive of the stop (`motif`), so a direct circuit stopped at the review on « demande-un-plan » resumes at the code as without `--arreter`, and its loops and its relaunch on a refusal. **Action for projects**: none beyond the update.
|
|
22
|
+
|
|
23
|
+
- **An interrupted turn no longer leaves the session of supervision without its compaction of idleness** (grillhouse-3uv.289.1): a turn that ends with no answer (interrupted, an error of the API, a refusal) raises no Stop, so the one-hour cache expired with no compaction. Its end now counts as the quiet stop: `superviseur --renouveler` takes a fourth argument, `sans-reponse`, and compacts after 55 minutes, playing no milestone. It does not count while the last Stop listed a background task; a task launched during the interrupted turn is not seen. **Action for projects**: none beyond the update.
|
|
24
|
+
|
|
25
|
+
- **The migration of the configurations to CommonJS no longer fails on a file gone since its listing** (grillhouse-wmz): seen in the CI of main (46457427093), the migration « configurations en commonjs » read a temporary file Vite writes beside a configuration (`*.timestamp-*.mjs`) and removes, and failed with ENOENT. It no longer reads these files, and a file it listed to find the readers of the configurations that is gone before its read names none. Any other fault of a read still stops it. **Action for projects**: none beyond the update.
|
|
26
|
+
- **The sessions of the circuit compact in a window of 400k** (grillhouse-3uv.293.1): decided by the owner (2026-11-30), a trial whose real cost is then measured on the pane. The env block of every role session sets `CLAUDE_CODE_AUTO_COMPACT_WINDOW=400000`, the window of compaction, bounded by that of the model, and not the threshold (on a model of 1M, with Claude Code 2.1.332, a session compacts at 367k), and an empty `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE`, which takes the place of the one the launching environment sets. **Action for projects**: none beyond the update.
|
|
27
|
+
- **The control of the base of the workflows is removed** (grillhouse-3uv.292): `scripts/base-des-workflows.mjs` checked that a step playing `verifier --base` did so on a push only. Since grillhouse-3uv.121 no workflow of the frame or of the template passes `--base`, and only its tests played the control. The base of a lot (`verifier --base`, `scripts/dernier-vert.mjs`) stays, and so does the dependency `yaml`, read by `scripts/migrations/0.47.0-ci-de-main.mjs`. A project has nothing to do.
|
|
28
|
+
|
|
29
|
+
- **A pass of the CI of main « à repasser » is no longer a red** (grillhouse-3uv.297): seen on SyntHub (2026-11-30), a pass whose verification ended in 75 for lack of cores alerted the supervisor and opened a defect ticket against four lots. A pass whose only failures are passes of verification of the frame's `ci.yml` declaring the exit code 75 (and the merge of the tranches that follows) judges nothing: the pass before it decides, the queue starts the flow again once an hour is past, even on the same tip, and the board names it « à repasser ». Three such passes or more after a green alert the supervisor that main is no longer judged. Jobs or annotations that `gh` does not give leave the CI « non lue ». A 75 out of any other step stays a red.
|
|
30
|
+
|
|
31
|
+
- **knip loads the converted configuration of Vitest, and the dead-code guard sees the tests again** (grillhouse-3uv.296): the migration « configurations en commonjs » wrote `await import('./vite.config.js')` for a `vite.config.ts`, which knip could not load: the guard `code-mort` lost the entries of the package and reported its tests, its index and the exports they alone read. Decided by the owner (2026-11-30): a relative import whose file is TypeScript is now read by `require()` under its real name, after a resolution hook (`registerHooks`) that resolves to its `.ts` a relative `.js` import no file answers; any other import stays an `await import()`. The way out given for a configuration left says both forms. **Action for projects**: none; an update to 0.53.x from main plays the corrected migration.
|
|
32
|
+
|
|
33
|
+
- **The external dependencies and the pane find `bd` out of the PATH too** (grillhouse-3uv.249.2): decided by the supervisor (2026-11-30). The tickets of the provider projects (`lireLesExternes`) were read by the name `bd`: from a process whose PATH lacks it, each provider was left out and the ticket waiting for it stayed held. They are now read by the path kept for the project that reads, checked (greffon.md, §5.3). The board publishes the command of `bd` it resolved at each measure (field `bd`, greffon.md, §4.2), and the pane's keys `g` and `h` call it, its folder ahead of the PATH when it is a path. **Action for projects**: none beyond the update.
|
|
34
|
+
|
|
35
|
+
- **The board reads the tickets when its process lacks `bd` in its PATH** (grillhouse-3uv.249): decided by the owner (2026-11-30). The pane said « la commande bd est absente » while `bd` answered in the session's shell: a follower started without the shell's profile does not have the folder of `bd` (under nvm, for instance) in its PATH. A process whose PATH holds `bd` now keeps its absolute path in the common git directory (`grillhouse-bd.chemin`), a follower from its start; one whose PATH lacks it takes that path back, checked (an executable file named `bd`), its folder ahead of the PATH. Without a path to take back, the alert names the process that measures and its PATH instead of « cette séance » (greffon.md, §5.3). **Action for projects**: none beyond the update.
|
|
36
|
+
|
|
37
|
+
- **The size guard of the Rust tests reads git's `init`, not the word** (grillhouse-jho): a test file that starts a program and holds the string `"init"` or `"clone"` anywhere was classed large, as `osd init`. `init`, `clone` and `worktree add` now mount a trial repository only as the arguments of a call of git (the parentheses of a function or macro named after git or running it, or of a function of the files read for the test that passes its string arguments to git; the `arg` and `args` of `Command::new("git")`, of a function named after git or of one that returns such a command, chained on it or on the name it is bound to), or in a command `git …`; git2's `Repository::init` and `clone` count as before. Arguments built apart from the call (a list held in a variable) are not followed. **Action for projects**: remove a workaround such as `concat!("in", "it")`.
|
|
38
|
+
|
|
39
|
+
- **The former order of the stop « sans-livraison » is retired** (grillhouse-3uv.181): no circuit in flight lacks the marker `attribution-avant-sans-livraison` of grillhouse-3uv.177 (nine running on the machine's server on 2026-11-30, all carrying it). The workflow of a ticket calls `deprecatePatch` and reads `patched` no more, the decision has no parameter `marqueurs`, and the recorded history without the marker is deleted with its test.
|
|
40
|
+
- **The pane gives the real cost of each project, cache included** (grillhouse-3uv.291): asked by the owner (2026-11-30). The day and the cumul each have their line, « jour <time> · <tokens> · <cost> $ » and « cumul … », summed on a board of several projects, where a supervisor's session counts once, in the project of its folder. Their tokens, and the day's on the status line, add every billed kind (input, output, cache written and read); a ticket's, a chantier's and a done line's keep their former count. Each agent counts once, by its latest line of the register or by its transcript when that holds more, so a silent supervisor's session stays counted; the day takes the responses dated since its marker. A sum that lacks a cost reads « ≥ 12 $ ». The register's `cout` is now the price of the line's own tokens, response by response (new tariffs: Fable 5.2, Opus 5, Opus 4.8, Haiku 5.5 and its upper tier): the total a session writes, which holds its sub-agents' spending, is no longer taken. A migration recalculates the lines of the project whose transcript still exists, after a copy of the register is kept beside it, and says the number and amount of the others, **which may include sub-agents' spending**. The first reading of a project's transcripts takes some seconds (about 15 s for 4.5 GB). **Action for projects**: none beyond the update.
|
|
41
|
+
|
|
42
|
+
- **The supervisor hands every investigation to a new sub-agent** (grillhouse-3uv.295): agreed by the owner (2026-11-30). The supervisor's session carries the largest share of a project's cost, because each turn reads its whole context again. The skill `pitmaster` now says that an investigation, the search for an answer or a cause no text places on a named object, goes to a new sub-agent: every reading of code or of a log it asks for, even short, and any other reading beyond a few dozen lines. The sub-agent returns a short summary with its pieces, and the supervisor reads that summary and the piece it cites. The supervisor keeps the line it checks at its piece, a ticket, a circuit command and its short answer, the look at a moving log to know a circuit is alive, and the readings another text entrusts to it on a named object. The rule that stops every agent it launched once the report is read joins this one. **Action for projects**: none beyond the update.
|
|
43
|
+
|
|
44
|
+
- **A montée that exits non-zero ends its report on what failed** (grillhouse-3uv.294): a montée that had entered main could exit 1 with no message after `npm install`, the failure of the machine's part standing thousands of lines above. `npx grillhouse maj` now says each failed gesture again, last, on the error output (the machine's part, the push, `npm install` and the plugins in the main tree), whole, with the command that plays it again. A montée that did not enter says the failures of the machine's part after its cause, and keeps its exit code.
|
|
45
|
+
- **A script returns a summary of a long output, then unfolds the part needed** (grillhouse-3uv.293.2): decided by the owner (2026-11-30). The common charter says it once, under « Outils », for every session: a script returns the size, the structure, the useful lines and the address of the rest of a long output (a ticket, a file, a test run, a `git diff`), keeps the whole output in a variable, and unfolds at most one part of one long output. Everything a script returns at once, value and log, holds in 8,000 characters; the report of a sub-agent and the text of a loaded skill do not count. A reading a skill asks for in full stays full, part after part. Rule 10 of the skill `mesure` agrees: the conclusion rests on the whole output, kept and searched in the variable. **Action for projects**: none beyond the update.
|
|
46
|
+
|
|
47
|
+
- **A ticket reads as its summary first, its comments on demand** (grillhouse-3uv.293.3): agreed by the owner (2026-11-30). `npx grillhouse lire <ticket>` gives the id and the title, the state, the dependencies, the count of the children per status, the description up to the end of its section of criteria (each section left out and the notes named) and one line per comment; `<number>` unfolds a comment, `--description` gives the whole description and the notes, `--tout` everything. It writes nothing in Beads. A role whose instruction carries its ticket is refused it on that ticket, as `bd show` and `bd comments`. The skills `explorateur` and `pitmaster` and `docs/agents/issue-tracker.md` name it. **What a project sees on the update** (`npx grillhouse maj`, migration « lire un ticket »): two sentences of the template in its `docs/agents/issue-tracker.md` name the command in place of `bd show` and `bd comments`, the one that reads a ticket and the one that says how the next session finds the handoff; nothing else changes. **Action for projects**: none.
|
|
48
|
+
|
|
49
|
+
- **`npx grillhouse maj <x.y.z>` goes to its commit in the frame's repository** (grillhouse-3uv.290): the machine's part runs `temporal installer` and `nuit --planifier` from the published tool of the version under `~/.cache/grillhouse/outil/`, never the workspace's `dist`; if the version does not install, both are reported failed. The frame's repository records `grillhouse.version`, carries the entries the montée writes, and its CI `build` job no longer runs the empty `Build` step. In every project, the typescript share declares the frame's package only in a package whose tests run by Vitest (never in the frame's package itself), and gives no `typecheck` script to a package whose `tsconfig.json` extends an absent relative file. **Action for projects**: none.
|
|
50
|
+
|
|
51
|
+
- **The unit of the Temporal server does not go back to an earlier version** (grillhouse-8eo): `npx grillhouse temporal installer`, run from a project still on an earlier version, rewrote and applied the server's unit of the account with its former settings, undoing those of a project already moved up. The unit now carries the version of the frame that wrote it (`X-Grillhouse-Version`); an installation of an earlier version neither writes nor applies it, and its output names both versions (`serveurPlusNeuf` of the report). An equal or later version applies it as before, a unit without a version is replaced, and a change of that line alone is read by systemd without restarting the server. **Action for projects**: none beyond the update; a project on a version from before this one still rewrites the unit, so move every project of the machine up.
|
|
52
|
+
|
|
53
|
+
- **A refused piece of the ticket names what the description holds, and a stop of the plan stands at « 1 Plan »** (grillhouse-dhy): the refusal of an absent section lists the headings of the description; the refusal of a criterion, when no heading begins with « Critères », says that heading is expected. A session of the plan that ends without a conforming sheet (the explorateur's or the questionneur's) was written at « 2 Tests » and left out of the stops of the bilan: it is written at « 1 Plan » and counted. **Action for projects**: none.
|
|
54
|
+
|
|
55
|
+
- **The pane shows only the passes without a ticket of its own project** (grillhouse-3uv.209): asked by the owner (2026-11-23), after the pane of one project showed a verification of another. A pass without a ticket (a verification launched by hand, the night, a measure) of another project, holding a part or waiting for one, no longer makes a line of the Parts block; the one of the session's project keeps its line. The budget line, « Parts · n passes · x sur y cœurs · a sur b Go », still counts every pass of the machine. The header of `tableau.mjs` and greffon.md §5.3 say it, and §9.1 no longer lists this removal as to be done. **Action for projects**: none.
|
|
56
|
+
|
|
57
|
+
## [0.53.0] - 2026-11-30
|
|
58
|
+
|
|
59
|
+
- **A milestone compacts the supervisor's session instead of clearing it, and an idle session is compacted before its cache expires** (grillhouse-3uv.289): decided by the owner (2026-11-29). At a declared milestone the greffon calls the compaction of Claude Code where it ran `/clear`, so the history stays on screen; after 55 minutes without a turn it compacts too, with or without a note (a gap to `idleCompaction`, written in greffon.md, §5.2). A new `PreCompact` hook of the plugin (`grillhouse pre-compact`) gives the note of resumption as instructions of the summary to every compaction of the session that holds the lock, manual and automatic ones included. After a compaction the opening gives that session the circuits, their questions and the note, as after a `/clear`. `superviseur --renouveler` prints the line `{"reprise": <message>}`. The request to write the note after a compaction and `superviseur --relever --compaction` are removed: two milestones remain, a release announced and the end of the day. **Action for projects**: none beyond the update, which moves the tool and the plugin together (`npx grillhouse maj`); reopen the supervisor's session afterwards.
|
|
60
|
+
|
|
61
|
+
- **The configuration of Vitest of every package is CommonJS** (grillhouse-acl.3.4.1): the envelope shows a package out of a plan read-only, and Vite 5 writes `<configuration>.timestamp-*.mjs` beside an ESM configuration to load it, so the tests of such a package failed in EROFS. The guard `turbo-des-paquets` now refuses, at the root and in each package, a `vitest.config.*` other than `.cjs`, a configuration the script `test:unit` names by `--config` or `-c` that is not `.cjs`, and an ESM `vite.config.*` a package plays its tests under without `vitest.config` (it asks for a `vitest.config.cjs` beside it). The template, `grillhouse paquet` and the frame's own configurations write `vitest.config.cjs`, and the night's configuration is `vitest.nuit.config.cjs`. **What a project sees on the update** (`npx grillhouse maj`, migration « configurations en commonjs »): each `vitest.config.*` made of static imports and one `export default`, that no file reads by its name, is replaced by a `vitest.config.cjs` that gives the same options (read its layout, Prettier is not run); every other refused configuration stays, named with its reason, and enters `grillhouse-dette.json`, frozen: a new one is refused. **Action for projects**: none required; to convert one left, write the `vitest.config.cjs` and make its readers name it.
|
|
62
|
+
|
|
63
|
+
- **A stop on the reviewer's question keeps the findings of its verdict** (grillhouse-3uv.278.1): after a `RENDU` that carries a question to the owner (stop `besoin`), the sessions relaunched by `--depuis` read the findings of the verdict before, or none. The state of the circuit now keeps the findings still open of that verdict before the stop, as for `relecture-arret`: each role receives its own, and the findings of a direct lot with the motif `demande-un-plan` all go to the agent direct. The report of the stop names each finding without a valid recipient or putting a criterion in question, with its reason, which no author receives. `--reprendre` replays the review as before. **Action for projects**: none.
|
|
64
|
+
|
|
65
|
+
- **A finished ticket carries its agents' tokens only, and its way and time come from its circuit** (grillhouse-3uv.250.4.1): FAITS AUJOURD'HUI shared the supervisor's tokens among the tickets labelled `direct` and timed them from claim to close, though the engine leads them. Decided: no ticket receives a share of the supervisor's tokens (the day and the cumul still count them). The way of a ticket is the one of its circuit's integrated view, before the label and the kept results. A direct ticket the engine led (kept bilan « intégré », or integrated view) counts the working time of its agents and of its circuit's steps; a direct ticket no circuit led still counts from claim to close. **Action for projects**: none.
|
|
66
|
+
|
|
67
|
+
- **A ticket that only adds data is no longer a direct ticket** (grillhouse-3uv.250.5.7): decided by the owner (2026-11-29). It follows the data path of the project, its validation and its CI, without agents, as the common charter's rule of the supervisor module says. The direct circuit's lists (the rule of the three circuits, the skill `direct`, circuit.md §5.1, the lexicon), the instruction of the reviewer of a direct lot and the skill `pitmaster`, which repeated the rule, no longer name it. **Action for projects**: take `direct` and `circuit` off an open ticket that only adds data, and pass it by the data path.
|
|
68
|
+
|
|
69
|
+
- **The verification of the frame's repository no longer reddens in the envelope for what it does not open** (grillhouse-acl.3.4): in `paquet.spec.ts`, the tests whose subject is not the answer of `uv` or `cargo` play with a fake tool at the head of the PATH, and the tests of the refusals of a name that the real tool judges are skipped, naming it, where it does not run; the envelope is not widened. The Vitest configuration of `grillhouse-essais` is CommonJS (`vitest.config.cjs`), so that Vite writes nothing beside it when the package is read-only; the night awaits a package configuration exported as a promise, as Vite does, so that its options and plugins stay. **Action for projects**: none.
|
|
70
|
+
|
|
71
|
+
- **The drop-ins of a worker's unit follow it to its template** (grillhouse-acl.3.1): a drop-in of `grillhouse-travailleur-<project>.service.d/` or `grillhouse-travailleur-machine.service.d/` did not apply to the instances of the template. `grillhouse temporal installer` now copies each `*.conf` of these folders to the folder of the template (`…@.service.d/`), content unchanged, before any instance starts, while the unit of before the template stands (the machine's for a project that plays it); the pass that retires that unit removes the former files, then their folder once empty. A drop-in whose name the folder of the template already holds with another content is neither overwritten nor removed. The output names both paths of each drop-in copied, moved or in conflict. The prefix folder `grillhouse-travailleur-.service.d/` and the folders of other projects are untouched. **Action for projects**: run `npx grillhouse temporal installer`; a drop-in left in a former folder (a conflict, or a unit of before the template already retired) moves by hand to the folder of the template, then `systemctl --user daemon-reload`, a running instance reading it at its next start.
|
|
72
|
+
|
|
73
|
+
- **A message of repair names the command that repairs where it shows** (grillhouse-acl.4.11): since `npx grillhouse maj` moves the project up, commits, advances main and pushes, the messages that named it for something else name their own gesture. The opening of a session and `npx grillhouse greffons --absents` give `npx grillhouse greffons` for a frame's plugin behind (the line of a failed update of `npx grillhouse greffons` keeps `claude plugin update`). A plugin ahead gives `npx grillhouse maj <its version>` instead of `npm install -D`, and says that the supervisor launches it in the main tree, where it moves the project up, commits, advances main and pushes. A package of c, cargo or python without `package.json` gets the gesture by hand: the file to write, given in full, and the `workspaces` entry when no pattern selects it. A command of `grillhouse paquet` that fails asks to run it again in its folder, and uv absent names `npx grillhouse binaires`. **Action for projects**: none.
|
|
74
|
+
|
|
75
|
+
- **A branch the queue reopens on a conflict follows the gesture of the advance's conflict** (grillhouse-3uv.279.1): decided by the owner (2026-11-29, circuit.md §5.5). At 5.2 the circuit no longer stops at `integration` asking for `--depuis`: it makes the ticket's copy again on `agent/<ticket>` at the base of the lot, the whole lot as local work, and goes back to the pass that judges it (3.1, or 4.1 in a direct circuit), whose preparation relaunches the role that writes each file in conflict, under the same bound (`lancement`). A copy that cannot be made again stops at `lancement`, the branch kept. The queue marks `conflit` only for a rebase that leaves files in conflict. **Action for projects**: none.
|
|
76
|
+
|
|
77
|
+
- **A stop `relecture-arret` keeps the findings of its verdict** (grillhouse-3uv.278): after the stop for a finding without a valid recipient or putting a criterion in question, or at the third review, the sessions relaunched by `--depuis` read « constats ouverts : aucun », or the findings of the verdict before (seen by SH). The state of the circuit now keeps the findings still open of that verdict: each role receives its own (as context with `--contexte`, as its task without), and the next review judges them all. A faulty finding is kept without a recipient, for no author of the lot: the supervisor's context settles it, and the piece of the stop names each one with its reason. circuit.md §4.4 says what a session receives at the launch with and without a context. **Action for projects**: none.
|
|
78
|
+
|
|
79
|
+
- **The wrapper of rustc no longer disappears when sccache prunes its cache** (grillhouse-i9t): it was written in the directory of the cache (`SCCACHE_DIR`), whose oldest files sccache removes past its size, so that cargo could not run it (seen by OSD). It is now `~/.cache/grillhouse/sccache-lanceur/sccache-court-bash` (under `$XDG_CACHE_HOME` when set), which the module `cargo` declares among the directories its envelope opens in writing. **Action for projects**: none.
|
|
80
|
+
|
|
81
|
+
- **A lot that no longer applies on main at the integration follows the gesture of the advance's conflict** (grillhouse-3uv.279): decided by the owner (2026-11-29, circuit.md §5.5). The integration exits 3 when a lot does not apply (the application of the lots, or of the generated files a lot removes from the key). When main moved past the ticket's copy, the circuit no longer stops on « integration »: it goes back to the checks (the final pass in a direct circuit), whose preparation advances the copy and relaunches the role of each file in conflict; a conflict a second session does not lift stops on « lancement », and a refusal on a copy already on the tip of main stops on « integration » as before. A conflict on a test of a mechanical or « comportement inchangé » lot now launches the testwriter, instead of the gesture or the developpeur. **Action for projects**: none.
|
|
82
|
+
|
|
83
|
+
- **A ticket the plan judges a correction triviale switches to the direct circuit** (grillhouse-3uv.250.7): the sheet of the explorateur accepts the sort « correction triviale » (one wrong line, one wrong argument, that the ticket describes entirely), with its reason and its piece, judged as every piece of a sheet; without a piece the sheet is out of conformity, without a reason it is comportement changé. The plan passed (the questionneur has read it, the explorateur has answered, or the supervisor resumed the stop `questionnement`), the circuit switches without a stop: the label `circuit` becomes `direct`, the ticket goes to 3 Code, where the agent direct writes in the packages of the plan, and « ## Sorte » says the sort and its reason. A resumption keeps it direct with its sort, even when the title or the criteria changed. The sort is refused and asked again on a ticket the agent direct has already worked. The skills `explorateur` and `direct` and the instruction of the plan say it. **Action for projects**: none.
|
|
84
|
+
|
|
85
|
+
- **A direct circuit switches to the plan on `--planifier`** (grillhouse-3uv.250.6): decided by the owner (2026-11-25, circuit.md §5.6). The agent direct (`BESOIN` or `BLOQUÉ`, with its reason and piece) or the reviewer (`RENDU`) says the ticket asks for a plan by the motif `demande-un-plan`; the circuit stops on `besoin` or `hors-portee` without relaunching anyone, and the supervisor answers `--planifier --contexte <reason>` (the update `planifier`) or `--reprendre`, which keeps the direct circuit. On `--planifier`, the label `direct` becomes `circuit`, the explorer writes the plan, the copy keeps the work of the agent direct and the plan says what it keeps, a short circuit is refused on a changed copy, and the old judgment, reviews counted included, starts over.
|
|
86
|
+
|
|
87
|
+
- **A direct ticket starts by the queue of the tickets** (grillhouse-3uv.250.5): decided by the owner (2026-11-25). The queue starts an open ticket labelled `direct`, with or without `circuit`, on the same conditions as a `circuit` ticket (its section « ## Architecture » written, its dependencies closed, by priority), and its circuit counts in the project's limit (`grillhouse.circuits`) and under the machine's ceiling. `npx grillhouse circuit <ticket>` puts it in the queue without adding `circuit`; `--arreter` takes `circuit` and `direct` off the ticket; `--reprendre`, `--depuis`, `--etendre` and `--recommencer` put back `direct` for a direct circuit, `circuit` for the others. A `direct` ticket without its section, or whose lot is on main, is named like a `circuit` ticket, at the board and at the opening of the supervisor. The rescue way refusing a ticket whose circuit runs gives the gestures in an order that never leaves the ticket open and labelled for the queue. The common charter, the skills `pitmaster`, `grill` and `direct` and the agent `direct` say the direct circuit led by the engine; the second and third times of a package's birth enter by a direct ticket. **Action for projects**: after the update, the open `direct` tickets of a project start by its queue and count in its limit. For one that must not start, take `direct` off it, and `circuit` if it has it, before the update; raise `grillhouse.circuits` if needed.
|
|
88
|
+
|
|
89
|
+
- **The installation purges the versions of the tool nothing names** (grillhouse-acl.5): decided by the owner (2026-11-28). As its last gesture, `grillhouse temporal installer` removes from `~/.cache/grillhouse/outil/` each version `x.y.z`, with its failure mark, that no project of the machine, no unit of the account, no copy of a circuit not finished, no living process and no Worker Deployment names (installation.md §5.3). Its output names each version removed with the place given back, and each version kept with what names it. When the server, the processes, the copies of a project or a key that counts do not read, no version leaves; a source unread or a removal that fails has its line and the command exits 1. One pass of installation plays at a time on the account. `--programme-seul` removes nothing. **Action for projects**: none.
|
|
90
|
+
|
|
91
|
+
- **The panel shows and pushes a direct circuit from its view** (grillhouse-3uv.250.4): decided by the owner (2026-11-25). An open direct circuit stands on the line of its step like any circuit, ✎ in place of ▶ while it runs, read in its view (`CircuitLu.circuit`) and not in the label; its agent counts at 3 Code, and its question is pushed like any circuit's. The block « Direct » shows only the agents of the rescue command, on a ticket without an open circuit. A `direct` ticket not claimed takes the states of a queued ticket: the separate direct queue and its counts are gone (head « file : ● N · ⧗ N · ⊘ N », status line « ⏭ ● N · ✓ N »), the state « en attente » is named « en file », and each line of that group in a chantier bears the sign of its way.
|
|
92
|
+
|
|
93
|
+
- **One command updates a project** (grillhouse-acl.4): `npx grillhouse maj <x.y.z>`, run in the project's main worktree, replaces the four gestures by hand (the update, `grillhouse outil`, `grillhouse temporal installer`, `claude plugin update`). It works in a copy of its own on the tip of main (branch `montee/<version>`): it installs the package there (the frame's repository writes `grillhouse.outil` instead), brings the project to it, runs `npm install` itself, plays the machine's part (the published tool, the plugins, the binaries, the units and workers, the schedule of the nights), runs the verification of the sort « Montée » on the commit's content alone, commits the files it wrote, keeps the tree as judged, advances main by fast-forward (rebuilt on the new tip if main moved, five passes at most), pushes, installs in the main worktree and removes its copy. A montée that does not enter leaves main untouched and its copy kept, and the same command resumes it; without argument the command keeps the version the tip of main holds. It refuses to run from a copy, and any argument other than one `x.y.z` (exit 2). `temporal installer` takes `--declarations <dir>` and reads the server at `TEMPORAL_ADDRESS`. `grillhouse sortie --etiqueter` names this command alone. **Action for projects**: the first update from a version older than this command runs as `npx -p @roomi-fields/grillhouse@<x.y.z> grillhouse maj <x.y.z>`, without installing by hand in the main worktree; commit or set aside local changes to the files the update writes.
|
|
94
|
+
|
|
95
|
+
- **One unit per living version of the worker** (grillhouse-acl.3): the workers' units are templates, `grillhouse-travailleur-<project>@.service` and `grillhouse-travailleur-machine@.service`, each instance running the published version it names from `~/.cache/grillhouse/outil/<version>/`. `grillhouse temporal installer` starts the instance of the project's version (`grillhouse.outil`, else the installed package) beside the former ones, makes it current, and restarts no running instance; each pass retires the drained or never current instances that hold no activity, and the unit of before the template once it holds none. The worker of the machine rises without a cut. The command no longer restarts nor signals the queue (`file`, `versionDeLaFile`, `versionInstallee` leave its report); `etat` names each instance with its version, and `perime` says stale a project whose instance is not applied. **Action for projects**: run `npx grillhouse temporal installer` after the rise; without `grillhouse.outil`, the installed package must be a published one, its integrity in the lock file (a linked package or a local archive is refused).
|
|
96
|
+
|
|
97
|
+
- **A worker that restarts on the current version does not wait for it** (grillhouse-acl.6): `rendreCourante` returns at once when the first reading the server answers says the version is already current, whatever the state of the routing; before, a routing read as propagating made it fail after 50 s. A version the call itself makes current is still awaited until its routing is no longer propagating. **Action for projects**: none.
|
|
98
|
+
|
|
99
|
+
- **The frame's workers are versioned** (grillhouse-acl.2): the worker registers in a Worker Deployment per task queue, the version of its package as its version, and each workflow it serves declares its behaviour: the circuit of a ticket is pinned, and ends on the version it started on; the queue of the tickets, the queue of integration, the nights, the arbiter of the machine and the sonde auto-upgrade to the current version. One gesture, `rendreCourante` (`src/temporal/client.ts`), makes a version current on a task queue; `grillhouse temporal installer` calls it (grillhouse-acl.3); no version is released before the whole of grillhouse-acl is closed. The `patched` markers stay (their removal: grillhouse-acl.2.1). **Action for projects**: none.
|
|
100
|
+
|
|
101
|
+
- **A question to the supervisor deferred to an hour shows paused, and `--reporter` reads its hour or refuses it** (grillhouse-3uv.287): decided by the owner (2026-11-28), a question to the owner is never hidden. The board showed a deferred question as waiting, and `--reporter` handed bd any form as written (`tomorrow` was written to the ticket, `2026-11-29T09:00` failed). Until its hour, a circuit whose question to the supervisor (or end without its issue) is deferred bears ⏸ and « reporté HH:MM » (« jj/mm HH:MM » another day) on its line, with no question, count nor alert; past the hour, it shows again. A question to the owner keeps its line and count. The limit of circuits (the queue and the board) counts such a circuit again once the hour has passed; a ticket deferred with no hour still releases its place. `--reporter` accepts `H:MM`, `AAAA-MM-JJ`, `AAAA-MM-JJ HH:MM`, `AAAA-MM-JJTHH:MM`, `+<n>h` and `+<n>d`, a time to come, and refuses any other form before writing anything. **Action for projects**: replace `demain` or another free form in a call of `--reporter` by one of these forms.
|
|
102
|
+
|
|
103
|
+
- **The time budget benches of cargo are built and played under the profile `bench`** (grillhouse-510): decided by the owner (2026-11-28), a bound of time measured on unoptimized code with debuginfo means nothing (seen by OSD). The targets `tests/it_budget/` and `tests/<name>_budget.rs` get a build of their own (`cargo test --no-run --profile bench`, log `<crate>-build-bench.log`), then `cargo nextest run --cargo-profile bench`; the day and night tests keep the profile `test`. Before each bench, the module waits for the machine to be at rest, one minute at most, then plays it all the same. The benches take the project's `[profile.bench]`, inherited from `release` (no `debug_assertions` nor overflow checks unless set there); the build apart adds its time (LTO included), its memory and `target/release` on disk. The binary of another package built by its task `build`, and a path `target/debug/<bin>`, stay under the profile `dev`. **Action for projects**: none; a project whose benches rely on `debug_assertions` or overflow checks sets them in `[profile.bench]`.
|
|
104
|
+
|
|
9
105
|
## [0.52.0] - 2026-11-28
|
|
10
106
|
|
|
11
107
|
- **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.
|
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
|
|
4
|
+
description: Écrit tests et code d'un ticket du circuit direct, ensemble, dans la copie du ticket. A tous les outils ; un fichier hors du plan se dit par sa fiche BESOIN. La passe finale et un relecteur jugent son lot ; le superviseur n'écrit pas à sa place.
|
|
5
5
|
skills:
|
|
6
6
|
- grillhouse:direct
|
|
7
7
|
---
|
|
@@ -28,7 +28,7 @@ Issues for this repo live in Beads, a git-backed tracker: data under `.beads/`,
|
|
|
28
28
|
|
|
29
29
|
## When a skill says "fetch the relevant ticket"
|
|
30
30
|
|
|
31
|
-
`
|
|
31
|
+
`npx grillhouse lire <id>` gives its summary (title, state, description up to its criteria, one line per comment, the handoff among them). Before acting, play `npx grillhouse lire <id> --description` when the summary names a section left out or notes, and unfold by its number each comment the gesture needs, `npx grillhouse lire <id> <number>` (a handoff is read whole); `--tout` gives everything. `bd list --parent <id>` lists an epic's children; `bd list --pretty` shows the tree.
|
|
32
32
|
|
|
33
33
|
## Working a ticket
|
|
34
34
|
|
|
@@ -39,6 +39,6 @@ Issues for this repo live in Beads, a git-backed tracker: data under `.beads/`,
|
|
|
39
39
|
|
|
40
40
|
## Handoff
|
|
41
41
|
|
|
42
|
-
The handoff is a comment on the ticket being worked, written by `bd comments add <id>`, not a temp file or a skill's document: the next session finds it with `
|
|
42
|
+
The handoff is a comment on the ticket being worked, written by `bd comments add <id>`, not a temp file or a skill's document: the next session finds it with `npx grillhouse lire <id>`, and unfolds it by its number (`--description` first when the summary names a section left out or notes).
|
|
43
43
|
|
|
44
44
|
The time each session takes is the register's (`packages/grillhouse/scripts/registre.mjs`), which reads its transcript: the handoff does not declare it. A session the circuit leads ends on its sheet, the structured output its role's schema describes (`packages/grillhouse/scripts/resultats.mjs`), which the circuit reads; the handoff is for the human and the next session of its author. A discovery of such a session goes into its sheet (`decouvertes`), which the circuit files closed under the ticket.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// The day's tests of the project: the frame's base configuration (its exclusions of the night
|
|
2
|
+
// tests and the time budget benches, its common environment), by its name, the frame's package's,
|
|
3
|
+
// extended with what is the root's own.
|
|
4
|
+
module.exports = (async () => {
|
|
5
|
+
const { defineConfig, mergeConfig } = await import('vitest/config');
|
|
6
|
+
const { default: base } = await import('@roomi-fields/grillhouse/vitest-config');
|
|
7
|
+
return mergeConfig(
|
|
8
|
+
base,
|
|
9
|
+
defineConfig({
|
|
10
|
+
test: {
|
|
11
|
+
// Global test configuration
|
|
12
|
+
globals: true,
|
|
13
|
+
|
|
14
|
+
// Include patterns
|
|
15
|
+
include: ['src/**/*.{test,spec}.{ts,js,mjs}', 'tests/**/*.{test,spec}.{ts,js,mjs}'],
|
|
16
|
+
|
|
17
|
+
// Coverage configuration
|
|
18
|
+
coverage: {
|
|
19
|
+
provider: 'v8',
|
|
20
|
+
reporter: ['text', 'json', 'html'],
|
|
21
|
+
reportsDirectory: './coverage',
|
|
22
|
+
include: ['src/**/*.{ts,js,mjs}'],
|
|
23
|
+
exclude: ['src/**/*.{test,spec}.{ts,js,mjs}', 'src/**/types.ts', 'src/**/index.{ts,js}'],
|
|
24
|
+
thresholds: {
|
|
25
|
+
lines: 80,
|
|
26
|
+
functions: 80,
|
|
27
|
+
branches: 80,
|
|
28
|
+
statements: 80,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// Test timeout
|
|
33
|
+
testTimeout: 10000,
|
|
34
|
+
|
|
35
|
+
// Pool options for parallel execution
|
|
36
|
+
pool: 'threads',
|
|
37
|
+
poolOptions: {
|
|
38
|
+
threads: {
|
|
39
|
+
singleThread: false,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
})
|
|
44
|
+
);
|
|
45
|
+
})();
|
package/charte/superviseur.md
CHANGED
|
@@ -21,41 +21,40 @@ données (des fichiers qu'un schéma valide, une fiche à un catalogue) ne passe
|
|
|
21
21
|
de code ; il passe par la validation du projet et sa CI, comme une formule de Homebrew ou un
|
|
22
22
|
type de DefinitelyTyped. Ainsi le circuit garde les tests et le code pour ce qui en a.
|
|
23
23
|
|
|
24
|
-
**Un ticket prend l'
|
|
25
|
-
le circuit court pour un geste sans comportement neuf, que l'explorateur
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
repérée en analyse (une ligne fautive, un mauvais argument,
|
|
29
|
-
ou
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
|
24
|
+
**Un ticket prend l'un de trois circuits, tous menés par le moteur** : le circuit complet pour un
|
|
25
|
+
comportement qui change ; le circuit court pour un geste sans comportement neuf, que l'explorateur
|
|
26
|
+
juge au plan par son critère, et que la bascule rend dans les deux sens ; le circuit direct, sans
|
|
27
|
+
plan, où un seul agent écrit tests et code, pour un travail que le ticket décrit en entier : une
|
|
28
|
+
correction triviale repérée en analyse (une ligne fautive, un mauvais argument), le squelette d'un
|
|
29
|
+
paquet, ou une correction du circuit que le circuit complet ou court ne peut pas porter parce qu'il
|
|
30
|
+
est en défaut. Un ticket direct porte l'étiquette `direct`, qui le fait partir par la file des
|
|
31
|
+
tickets, même s'il porte aussi `circuit` ; au plan, l'explorateur y envoie une correction triviale,
|
|
32
|
+
et l'agent direct ou le relecteur rend au plan un ticket qui en demande un (le document du circuit,
|
|
33
|
+
§5.1, §5.6). Les trois circuits comptent dans la limite du projet, répondent aux mêmes commandes et
|
|
34
|
+
entrent sur main par la file, sur leur passe finale. Un changement de comportement que le ticket ne
|
|
35
|
+
décrit pas en entier va au circuit complet, même pressé. Ainsi la voie d'un ticket se lit à la
|
|
36
|
+
charte, et non au choix de la séance.
|
|
37
|
+
|
|
38
|
+
**Le superviseur n'écrit pas le code d'un ticket, même direct** : l'agent direct (le rôle `direct`)
|
|
39
|
+
écrit tests et code ensemble, sous les droits que son rôle donne ; la passe finale juge son lot, le
|
|
40
|
+
relecteur le lit et tient la preuve du rouge (un défaut corrigé porte un test qui le reproduit), et
|
|
41
|
+
le circuit le commite. Quand le moteur lui-même est en panne, la voie de secours
|
|
42
|
+
(`npx grillhouse direct <ticket> --panne <texte>`) lance l'agent direct puis le relecteur hors du
|
|
43
|
+
moteur ; sur le lot accepté, le superviseur vérifie, commite, avance main et pousse, seul cas où il
|
|
44
|
+
le fait, et l'usage de la voie est écrit au ticket (le document du circuit, §5.8). Le verrou du
|
|
45
|
+
cadre refuse à toute séance hors enveloppe qui n'est pas un agent du cadre (le superviseur, une
|
|
46
|
+
séance lancée à la main, une séance qui perd sa variable d'enveloppe) le code et les tests d'un
|
|
47
|
+
paquet ; les documents, ceux d'un paquet comme ceux de la racine, restent écrits par le
|
|
48
|
+
superviseur. Ainsi celui qui relit n'est jamais celui qui a écrit.
|
|
49
|
+
|
|
50
|
+
**Un paquet naît en quatre temps** (un squelette n'a ni comportement ni test), comme les
|
|
51
|
+
générateurs de Nx et `cargo new --lib` : 1, le grill, le superviseur et le responsable (son rôle,
|
|
52
|
+
sa frontière, ses refus, son interface, son langage) ; 2, l'écriture, le superviseur avec la
|
|
53
|
+
compétence `redacteur`, relue par le responsable : sa ligne du tableau des composants de
|
|
56
54
|
`docs/ARCHITECTURE.md`, avec son langage, et ses documents (`<chemin>/docs/CADRE.md`,
|
|
57
|
-
`INTERFACE.md`)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
`INTERFACE.md`), portés par la description d'un ticket direct ; 3, la création, par ce ticket :
|
|
56
|
+
l'agent direct écrit les documents tels qu'ils sont relus et joue `npx grillhouse paquet <chemin>`,
|
|
57
|
+
qui lit la ligne et bâtit ce que son langage demande, les outils de ce langage compris pour son
|
|
58
|
+
premier paquet ; 4, le code, un ticket ordinaire du circuit sur un paquet qui existe. Les temps 2
|
|
59
|
+
et 3 entrent dans le même lot, sur sa passe finale. Ainsi main ne voit jamais un paquet déclaré
|
|
60
|
+
sans dossier.
|
package/charte.md
CHANGED
|
@@ -171,7 +171,7 @@ code le suit.
|
|
|
171
171
|
qu'elle exige attend, et dit ce qui l'occupe (le document de la machine, §5.2). Ainsi le poste ne
|
|
172
172
|
sature jamais ses disques.
|
|
173
173
|
- **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
|
|
174
|
-
|
|
174
|
+
sur la voie de secours, sa vérification) a jugé vert, le lot posé sur la pointe de main ;
|
|
175
175
|
elle n'attend aucune CI de branche. La CI du projet rejoue ensuite main entier, par paquets de
|
|
176
176
|
lots, au plus une fois par heure (le modèle du TAP de Google), la file la déclenchant elle-même
|
|
177
177
|
après l'entrée d'un lot, sans l'attendre. Un rouge de la CI de main ou de la nuit alerte le
|
|
@@ -182,6 +182,18 @@ code le suit.
|
|
|
182
182
|
- **L'index d'abord** : toute recherche commence par `rtfm_search` (mode `hybrid`) pour le quoi, et
|
|
183
183
|
par `codegraph explore` (ou l'outil `codegraph_explore`) pour l'appel ; le shell lit un fichier
|
|
184
184
|
déjà nommé. Ainsi une affirmation sur le code repose sur ce que le code contient.
|
|
185
|
+
- Un script rend un sommaire d'une sortie longue (un ticket, un fichier, une passe de tests, un
|
|
186
|
+
`git diff`) : sa taille, sa structure, les lignes utiles et l'adresse du reste ; l'agent déplie
|
|
187
|
+
ensuite la seule partie qu'il lui faut. La sortie entière reste dans une variable du script, d'où
|
|
188
|
+
l'aperçu et les parties dépliées se tirent sans relancer la commande. Tout ce qu'un script rend
|
|
189
|
+
au contexte en une fois tient en 8 000 caractères au plus : sa valeur et son journal, toutes clés
|
|
190
|
+
réunies, quelle qu'en soit la source (fichier, commande, index, ticket) ; le rapport d'un
|
|
191
|
+
sous-agent et le texte d'une compétence chargée n'y comptent pas. Une sortie est longue quand
|
|
192
|
+
elle ne tient pas entière dans cette borne avec le reste du résultat ; un script déplie au plus
|
|
193
|
+
une partie d'une seule sortie longue, et rend les autres en sommaire. Une lecture qu'une
|
|
194
|
+
compétence demande entière reste entière : ses parties se déplient l'une après l'autre, chacune
|
|
195
|
+
dans la borne, aucune sautée. Ainsi chaque tour relit un contexte mince, et toute la sortie reste
|
|
196
|
+
à portée.
|
|
185
197
|
- **Tout se lit, le plan s'écrit** : dans son enveloppe, un agent lit tout le dépôt, index compris,
|
|
186
198
|
prend l'outil que son travail demande, et n'écrit que les paquets que le plan de son ticket
|
|
187
199
|
nomme ; la règle de son rôle se juge sur son lot, à la fin de sa séance (le document de la
|
|
@@ -23,6 +23,8 @@ export interface Appel {
|
|
|
23
23
|
mecanique: {
|
|
24
24
|
commande: string | null;
|
|
25
25
|
} | null;
|
|
26
|
+
/** The switch of a direct circuit that asks for a plan to the plan (`--planifier`). */
|
|
27
|
+
planifier: boolean;
|
|
26
28
|
contexte: string | null;
|
|
27
29
|
}
|
|
28
30
|
/** The refusal of a fresh launch of <ticket> whose circuit was stopped on the supervisor's word. */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// The reading of the command line of `grillhouse circuit` (./commande.ts runs it; circuit.md §3.1,
|
|
2
2
|
// « Commande du circuit »): its options, their combinations, and the text of the refusal of a fresh launch after `--arreter`.
|
|
3
|
+
import { heureDuReport, REFUS_DE_L_HEURE } from '../../../scripts/reponses-du-circuit.mjs';
|
|
3
4
|
import { ETAPES_DE_REPRISE } from './contrat.js';
|
|
4
5
|
export const USAGE = 'usage: npx grillhouse circuit <ticket> [--reprendre [--contexte <texte>] | ' +
|
|
5
6
|
'--depuis <testwriter|preuve|developpeur|direct|controles|passe-finale> --contexte <texte> | ' +
|
|
6
7
|
'--mecanique [<commande>] --contexte <raison> | ' +
|
|
8
|
+
'--planifier --contexte <raison> | ' +
|
|
7
9
|
'--etendre <paquet>[,<paquet>…] [--contexte <texte>] | --arreter [--contexte <motif>] | ' +
|
|
8
10
|
'--reporter <heure> [--contexte <motif>] | --chez-le-responsable | ' +
|
|
9
11
|
'--recommencer]\n';
|
|
@@ -26,6 +28,7 @@ export function lireLAppel(argv) {
|
|
|
26
28
|
chezLeResponsable: false,
|
|
27
29
|
recommencer: false,
|
|
28
30
|
mecanique: null,
|
|
31
|
+
planifier: false,
|
|
29
32
|
contexte: null,
|
|
30
33
|
};
|
|
31
34
|
for (let i = 0; i < argv.length; i++) {
|
|
@@ -38,8 +41,10 @@ export function lireLAppel(argv) {
|
|
|
38
41
|
o.arreter = true;
|
|
39
42
|
}
|
|
40
43
|
else if (a === '--reporter') {
|
|
41
|
-
if (suivant === undefined ||
|
|
42
|
-
|
|
44
|
+
if (suivant === undefined ||
|
|
45
|
+
suivant.startsWith('-') ||
|
|
46
|
+
heureDuReport(suivant, new Date()) === null) {
|
|
47
|
+
throw new Usage(REFUS_DE_L_HEURE);
|
|
43
48
|
}
|
|
44
49
|
o.reporter = suivant;
|
|
45
50
|
i++;
|
|
@@ -58,6 +63,9 @@ export function lireLAppel(argv) {
|
|
|
58
63
|
i++;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
66
|
+
else if (a === '--planifier') {
|
|
67
|
+
o.planifier = true;
|
|
68
|
+
}
|
|
61
69
|
else if (a === '--etendre') {
|
|
62
70
|
const liste = String(suivant ?? '')
|
|
63
71
|
.split(',')
|
|
@@ -100,6 +108,20 @@ export function lireLAppel(argv) {
|
|
|
100
108
|
(o.reprendre || o.depuis || o.etendre || o.arreter || o.recommencer || o.reporter)) {
|
|
101
109
|
throw new Usage('--mecanique va seule, avec son --contexte : le ticket bascule en circuit court sur le même plan.');
|
|
102
110
|
}
|
|
111
|
+
if (o.planifier &&
|
|
112
|
+
(o.reprendre ||
|
|
113
|
+
o.depuis ||
|
|
114
|
+
o.etendre ||
|
|
115
|
+
o.mecanique ||
|
|
116
|
+
o.arreter ||
|
|
117
|
+
o.recommencer ||
|
|
118
|
+
o.reporter ||
|
|
119
|
+
o.chezLeResponsable)) {
|
|
120
|
+
throw new Usage('--planifier va seule, avec son --contexte : le circuit direct bascule vers le plan.');
|
|
121
|
+
}
|
|
122
|
+
if (o.planifier && (o.contexte === null || o.contexte.trim() === '')) {
|
|
123
|
+
throw new Usage('--planifier attend son --contexte : la raison de la bascule.');
|
|
124
|
+
}
|
|
103
125
|
if (o.chezLeResponsable &&
|
|
104
126
|
(o.reprendre ||
|
|
105
127
|
o.depuis ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"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F,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"}
|
|
@@ -14,7 +14,7 @@ export declare const PAGE = 20;
|
|
|
14
14
|
* makes the list start again with pages of half the size, down to one workflow a page.
|
|
15
15
|
*/
|
|
16
16
|
export declare function listerLesDeroules(client: Client, query: string): Promise<WorkflowExecutionInfo[]>;
|
|
17
|
-
import { type EntreeDuCircuit, type ETAPES_DE_REPRISE, type FinDuCircuit, type VueDuCircuit } from './contrat.js';
|
|
17
|
+
import { type EntreeDuCircuit, type ETAPES_DE_REPRISE, type FinDuCircuit, type ResumeDeLEtat, type VueDuCircuit } from './contrat.js';
|
|
18
18
|
/** Starts the circuit of <entree> on the task queue <file>, or leaves the one that runs: its id. */
|
|
19
19
|
export declare function demarrerLeCircuit(client: Client, entree: EntreeDuCircuit, file: string): Promise<string>;
|
|
20
20
|
/** Where a new workflow of an answer goes: the task queue of a workflow the server no longer holds. */
|
|
@@ -35,10 +35,12 @@ export declare class ReponseRefusee extends Error {
|
|
|
35
35
|
export declare function reprendreLeCircuit(client: Client, racine: string, ticket: string, contexte?: string | null, ou?: OuReprendre): Promise<string>;
|
|
36
36
|
/**
|
|
37
37
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
38
|
-
* journal, and its line names the copy removed.
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
38
|
+
* journal, and its line names the copy removed. A direct circuit stopped on the supervisor's word,
|
|
39
|
+
* read in the state its workflow gave back, has its label `direct` put back before the door. It
|
|
40
|
+
* resets the copy, not Temporal: the finished workflow stays on the server, which the queue,
|
|
41
|
+
* counting only the live circuits, no more holds the ticket back for. A circuit that runs is refused
|
|
42
|
+
* by its name (`ReponseRefusee`) and nothing is removed; a ticket the server no longer holds is
|
|
43
|
+
* removed all the same.
|
|
42
44
|
*/
|
|
43
45
|
export declare function recommencerLeCircuit(client: Client, racine: string, ticket: string, retirer: (racine: string, ticket: string) => string): Promise<string>;
|
|
44
46
|
/**
|
|
@@ -57,6 +59,11 @@ export declare function etendreLeCircuit(client: Client, racine: string, ticket:
|
|
|
57
59
|
* gesture of 1.1; without, the developpeur writes. Refused out of such a stop, by its name.
|
|
58
60
|
*/
|
|
59
61
|
export declare function basculerEnMecanique(client: Client, racine: string, ticket: string, commande: string | null, contexte: string | null, ou?: OuReprendre): Promise<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Switches the direct circuit of <ticket>, stopped on its request for a plan, to the plan, its
|
|
64
|
+
* reason <contexte> (`--planifier`). Refused out of such a stop, by its name.
|
|
65
|
+
*/
|
|
66
|
+
export declare function planifierLeCircuit(client: Client, racine: string, ticket: string, contexte: string | null, ou?: OuReprendre): Promise<string>;
|
|
60
67
|
/** The circuit as it stands: its step, whether it waits, its question. */
|
|
61
68
|
export declare function lireLeCircuit(client: Client, racine: string, ticket: string): Promise<VueDuCircuit>;
|
|
62
69
|
/** The end of the circuit: integrated, or stopped on the supervisor's word. */
|
|
@@ -71,6 +78,8 @@ export declare function finDuCircuit(client: Client, racine: string, ticket: str
|
|
|
71
78
|
*/
|
|
72
79
|
export interface CircuitLu {
|
|
73
80
|
ticket: string;
|
|
81
|
+
/** Its path, as the summary of its state says it (`ResumeDeLEtat.circuit`). */
|
|
82
|
+
circuit: ResumeDeLEtat['circuit'];
|
|
74
83
|
etape: string | null;
|
|
75
84
|
tentative: number | null;
|
|
76
85
|
finale: boolean;
|