@roomi-fields/grillhouse 0.50.2 → 0.51.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 +52 -0
- package/agents/developpeur.md +1 -1
- package/agents/direct.md +1 -1
- package/agents/explorateur.md +1 -1
- package/agents/questionneur.md +1 -1
- package/agents/relecteur.md +1 -1
- package/agents/testwriter.md +1 -1
- package/cadre/templates/c/package.json +1 -0
- package/cadre/templates/cargo/package.json +1 -0
- package/cadre/templates/python/package.json +1 -0
- package/charte.md +17 -12
- package/dist/machine/part-par-sorte.d.ts +16 -0
- package/dist/machine/part-par-sorte.js +36 -0
- package/dist/machine/part-par-sorte.js.map +1 -0
- package/dist/temporal/circuit/appel.js +1 -1
- package/dist/temporal/circuit/appel.js.map +1 -1
- package/dist/temporal/circuit/client.d.ts +5 -4
- package/dist/temporal/circuit/client.js +39 -16
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +11 -7
- package/dist/temporal/circuit/contrat.js +5 -9
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +18 -6
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/commande.js +12 -3
- package/dist/temporal/commande.js.map +1 -1
- package/dist/temporal/installation.d.ts +54 -3
- package/dist/temporal/installation.js +187 -17
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/places/client.d.ts +5 -1
- package/dist/temporal/places/client.js +23 -11
- package/dist/temporal/places/client.js.map +1 -1
- package/docs/ARCHITECTURE.md +23 -2700
- package/docs/INTERFACE.md +23 -8
- package/docs/architecture/circuit.md +59 -12
- package/docs/architecture/entree.md +20 -7
- package/docs/architecture/greffon.md +6 -2
- package/docs/architecture/installation.md +30 -11
- package/docs/architecture/machine.md +50 -37
- package/docs/architecture/tests.md +52 -14
- package/docs/lexique.md +154 -0
- package/hooks/register.tsx +1 -1
- package/package.json +1 -1
- package/scripts/activites.mjs +85 -60
- package/scripts/aiguillage.mjs +15 -7
- package/scripts/attente-de-la-machine.mjs +4 -8
- package/scripts/avancement.mjs +12 -8
- package/scripts/bilan.mjs +10 -7
- package/scripts/branche-de-nuit.mjs +2 -2
- package/scripts/ci-de-main.mjs +18 -21
- package/scripts/circuit.mjs +86 -43
- package/scripts/circuits-du-serveur.mjs +5 -5
- package/scripts/composants-affectes.mjs +30 -12
- package/scripts/composition-des-langages.mjs +5 -3
- package/scripts/conformite.mjs +1 -1
- package/scripts/consommation-des-passes.mjs +8 -6
- package/scripts/copies-finies.mjs +3 -14
- package/scripts/depart-du-ticket.d.mts +8 -2
- package/scripts/depart-du-ticket.mjs +26 -8
- package/scripts/direct.mjs +158 -72
- package/scripts/droits.mjs +63 -185
- package/scripts/engendres.mjs +3 -14
- package/scripts/enveloppe/enveloppe.mjs +75 -30
- package/scripts/enveloppe/lancer.sh +59 -45
- package/scripts/enveloppe/paquets-du-plan.mjs +38 -11
- package/scripts/enveloppe/travail-de-la-copie.mjs +115 -3
- package/scripts/etapes.mjs +84 -22
- package/scripts/faits-du-circuit.mjs +8 -2
- package/scripts/grillhouse-maj.mjs +43 -18
- package/scripts/groupe-cles.d.mts +15 -0
- package/scripts/groupe-cles.mjs +77 -2
- package/scripts/init.mjs +9 -2
- package/scripts/integration/rejeu.mjs +8 -1
- package/scripts/jointure.d.ts +22 -3
- package/scripts/langages/c/index.mjs +5 -2
- package/scripts/langages/cargo/commandes.mjs +35 -15
- package/scripts/langages/cargo/composants.mjs +45 -3
- package/scripts/langages/cargo/index.mjs +6 -3
- package/scripts/langages/cargo/sccache.mjs +10 -3
- package/scripts/langages/python/index.mjs +5 -2
- package/scripts/langages/typescript/chemins-des-tests.mjs +1 -1
- package/scripts/langages/typescript/index.mjs +4 -2
- package/scripts/langages/typescript/mise-a-jour.mjs +1 -1
- package/scripts/langages/typescript/rapports-aux-lignes.mjs +74 -0
- package/scripts/langages/typescript/turbo-des-paquets.mjs +99 -36
- package/scripts/langages/typescript/verdict.mjs +29 -3
- package/scripts/langages/typescript/verifier.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/changements.mjs +8 -6
- package/scripts/langages/typescript/vitest-config/lances.mjs +15 -32
- package/scripts/langages.mjs +54 -4
- package/scripts/matieres-lues.mjs +1 -1
- package/scripts/mesure/base-de-passe.mjs +32 -90
- package/scripts/migrations/serveurs-de-l-index.mjs +79 -0
- package/scripts/migrations.mjs +21 -7
- package/scripts/paquets.d.ts +3 -0
- package/scripts/paquets.mjs +88 -1
- package/scripts/passe-de-la-machine.mjs +109 -36
- package/scripts/places-de-la-machine.mjs +81 -29
- package/scripts/plafond-de-la-machine.d.mts +2 -5
- package/scripts/plafond-de-la-machine.mjs +9 -9
- package/scripts/reprise.mjs +42 -13
- package/scripts/resultats.mjs +76 -54
- package/scripts/retirer-les-copies-finies.mjs +1 -1
- package/scripts/seances.mjs +426 -115
- package/scripts/services-du-noyau.mjs +9 -1
- package/scripts/session-start.sh +14 -1
- package/scripts/sortie.mjs +37 -6
- package/scripts/sous-commandes.mjs +0 -2
- package/scripts/superviseur.mjs +33 -13
- package/scripts/tableau.mjs +61 -16
- package/scripts/transitions.d.mts +25 -2
- package/scripts/transitions.mjs +137 -29
- package/scripts/verrous/ecriture-hors-enveloppe.mjs +31 -9
- package/skills/codebase-design/DESIGN-IT-TWICE.md +1 -1
- package/skills/developpeur/SKILL.md +38 -15
- package/skills/direct/SKILL.md +29 -9
- package/skills/domain-modeling/GLOSSARY-FORMAT.md +9 -9
- package/skills/domain-modeling/SKILL.md +14 -12
- package/skills/explorateur/SKILL.md +30 -6
- package/skills/pitmaster/SKILL.md +12 -16
- package/skills/pitmaster/references/consigne-agent.md +12 -11
- package/skills/relecteur/SKILL.md +12 -5
- package/skills/systematic-debugging/SKILL.md +281 -0
- package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/systematic-debugging/find-polluter.sh +72 -0
- package/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/testwriter/SKILL.md +35 -29
- package/scripts/verrous/commande.mjs +0 -214
- package/scripts/verrous/verrou.mjs +0 -311
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,58 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.51.0] - 2026-11-27
|
|
10
|
+
|
|
11
|
+
- **The first update of a project without `jsonc-parser` no longer fails on `ERR_MODULE_NOT_FOUND`** (grillhouse-3uv.269, seen by the canary of 0.51.0 in osc-bridge and OSD): `npx grillhouse maj` declared `jsonc-parser` and ran the generator of the graph, which imports it, before `npm install`. While `node_modules/jsonc-parser/package.json` is absent, the update no longer runs that generator: its line, on the error stream with exit code 1 and the verification not played, asks for `npm install`, then `npx grillhouse turbo-des-paquets --ecrire`. The other generators run as before. **Action for projects**: when the line shows, run those two commands and commit the `turbo.json`.
|
|
12
|
+
- **The proof of the red reads a red test of a plugin** (grillhouse-3uv.268): `claude plugin test` writes no report test by test, so a plugin test file with red tests was refused as « ne se charge pas : non joué » (seen on grillhouse-3uv.267). The `verdict` of the module typescript, given the root of the run, now reads the lines of such a runner in the log of its task; a file it says it did not load stays refused, with its reason. **Action for projects**: none.
|
|
13
|
+
|
|
14
|
+
- **The questions of a project that holds many stopped circuits reach the session of supervision** (grillhouse-3uv.267): the reading asked the tickets of every waiting circuit to `bd show`, which costs more than a second per ticket and overran its 30 s, so no question of that project was given while its ends of circuits still were (seen by SH). It now reads them in one `bd list`. A fault in the reading of another project of the group (a faulty `grillhouse.rappel`, a follow-up that cannot be held) no longer costs the other projects their questions: `superviseur --relever` writes their message, names each project at fault on the error stream and exits 1, and the greffon submits the message and shows the fault in the panel. A faulty `grillhouse.rappel` of the session's own project is refused as before. **Action for projects**: none.
|
|
15
|
+
|
|
16
|
+
- **The proof of the red plays the executable of a changed test module** (grillhouse-3uv.264): a lot that changed only a module of `tests/it/` of a crate played nothing of it, so a named red test counted no red (seen by OSD). A `.rs` file of a target `tests/<dir>/main.rs`, out of `tests/common/`, now makes the proof and the checks play that `main.rs` once (`estUnTest` answers it in `jouePar`); a night or bench module still plays nothing by day, and a proof resumed at a red that names a module plays its executable. In it, the tests of the changed modules and the tests the testwriter's sheet names are the lot's, the others main's; and when the proof plays test files of the lot and the plan expects a red, existing reds alone no longer pass it. **Action for projects**: none.
|
|
17
|
+
|
|
18
|
+
- **The envelope alone holds the writing border, and every role has every tool** (grillhouse-3uv.261.2): decided by the owner (2026-11-27). The write lock of the role (`verrous/verrou.mjs`, subcommand `verrou`) and the lock of the commands (`verrous/commande.mjs`, subcommand `commande`) are removed: the permissions of each role, in the envelope or out of it, let every command through (python, `sed -i`, redirections, the client of a base); what stays refused is the change of author at the ticket, the reading of its own ticket again, the writes of `bd` by a role that does not write at the ticket, and the test tool run directly. The rule of a role is judged on the lot of each session, on content: a testwriter whose lot touches code, or a developer whose lot touches a test or the shared test material, gets the step back, the files named, until they are back to their state before; an explorer, a questioner or a reviewer whose lot is not empty is resumed once, then the circuit stops. A write out of the plan fails on the mount and the session goes on: the stop `hors-plan` and its mark are gone, and the sheet `BESOIN` of a writing role names the missing file in `manque`, which extends the plan when the ticket names it. A base to read is a file under a read-only mount. In a project that names its published version (`grillhouse.outil`), the retired names `verrou` and `commande`, which the sessions that version opens still declare as hooks, run by it (`RETIREES` of `scripts/aiguillage.mjs`), so a circuit in flight keeps writing; they go once the key names a version whose sessions declare none. **Action for projects**: none.
|
|
19
|
+
|
|
20
|
+
- **The reading of the CI of main judges the flow CI alone** (grillhouse-3uv.262): it took the latest finished pass of every flow of the branch, so a red pass, started by hand, of a flow since removed from main (« Send collection sheets », seen by SH) opened a red and a defect ticket. It now reads the passes of `ci.yml` only, as the architecture decides (the document of the entry on main, §5.2): a red of another flow, present or removed (Nuit, the pages, the clean machine), gives no alert and opens no defect ticket of main through this reading, and a project with no finished pass of `ci.yml` reads « CI de main non lue ». The night of the poste still reads the tranches and the measures of the Nuit flow of its commit, for a project whose Nuit flow plays on the runner, and opens its `nuit` tickets when they are red. **Action for projects**: none for the flows the frame installs; the red of a flow no other mechanism reads (the pages, the clean machine, a removed flow, a flow of the project's own) is read on GitHub only.
|
|
21
|
+
|
|
22
|
+
- **The frame carries the debugging skill of Superpowers** (grillhouse-3uv.263): decided by the owner (2026-11-27). The skill `grillhouse:systematic-debugging` (Jesse Vincent, MIT, version 7.0.2, `CREDITS.md`) is copied with its neighbouring files into the frame's plugin, less the two bullets that call skills the frame does not take. The developer and the direct load it before any fix, in front of a red their batch does not lift or of a defect; the explorer loads it at the plan of a defect ticket, a red night included, and at the triage of a discovery that reports a defect. The rules of the role come first, a gesture the rights or the charter refuse is neither run nor got round, and no role runs `find-polluter.sh`. These three roles read the files of that skill without a prompt, and nothing more of the plugin. **Action for projects**: none.
|
|
23
|
+
- **The frame has its lexicon** (`docs/lexique.md` of the package): one word per thing of the frame, its definition and the words to avoid, decided by the owner (2026-11-27). The common charter points to it under « Ce qui décide », and a project's `CONTEXT.md` holds the words of its own domain only; the skill `domain-modeling` writes `CONTEXT.md`, the file the frame reads, instead of `GLOSSARY.md`.
|
|
24
|
+
- **The direct command is the rescue way, kept for the failures of the engine** (grillhouse-3uv.250.3): decided by the owner (2026-11-25). `grillhouse direct` now requires `--panne <text>`, the failure that justifies it (`--deverrouiller` does not), and writes it at the ticket, each review writing its verdict there. It takes the ticket (`in_progress`) before its first session, refuses a closed ticket and a ticket whose circuit lives on the server (it names `--arreter` and `temporal workflow terminate`), and goes on, saying so at the ticket, when the server does not read. It asks nothing of the arbiter of the machine: no place of circuit, and a machine closed by the supervisor does not hold it back. The refusal of the lock out of the envelope now names the direct circuit first; the refusal of the guard of main and the reviewer's instruction name the rescue way. **Action for projects**: add `--panne <text>` to every call of `grillhouse direct`.
|
|
25
|
+
- **A night out of the poste with no cargo test to run is green** (grillhouse-fp6.5): in osc-bridge, whose Rust night tests all carry `// @poste` or `// @equipee`, the tranches « Night tests out of the poste » ended red on « error: no tests to run » (nextest, code 4). Under `tests-de-nuit --hors-du-poste`, a crate whose filter keeps no test is now green and says « aucun test hors du poste », as a Bazel shard without a test passes; a targeted run or the whole night that finds no test stays a red. **Action for projects**: none.
|
|
26
|
+
|
|
27
|
+
- **The install of a replay copy stays in the copy** (grillhouse-fp6.4): a `node_modules` that was a symbolic link in the integration or queue copy let `npm ci` empty the directory it named, and the regeneration of the lock write into it (seen by the night, whose trial copy linked the `node_modules` of the repository under test, which lost packages during the pass). The link, never its target, is now removed when the copy opens.
|
|
28
|
+
|
|
29
|
+
- **The workflow of a ticket leads a direct ticket** (grillhouse-3uv.250.2): a ticket labelled `direct`, alone or with `circuit`, opens a circuit `direct`: no plan, the packages of its title written at the ticket as one, the agent `direct` at 3 Code on them, then the final pass, the review, the commit, the queue and the triage. The state of a circuit, the memo the board reads and the query `etatDuCircuit` carry `circuit` (`long`, `court` or `direct`); it is fixed at the first opening and follows the sort of the ticket between `long` and `court`. The sheet of the agent direct has its own schema, `direct`, checked as the developpeur's, the rescue command's included; the reviewer of a direct lot reads one requirement, written once, which names `direct` as the recipient of every blocking finding; a conflict of the advance gives every file to the agent direct, and the commit message carries its deviations. A component of the title of a direct ticket may be a path the repository does not hold yet, which opens only itself in writing: a package is born of a direct ticket. A session of the role `direct` takes the part of any session: the fixed two cores are gone. A direct ticket does not yet start from the queue of the tickets.
|
|
30
|
+
- **A glob pattern of `grillhouse.lit` enters the hash as it is** (grillhouse-3uv.258): the generator appended `/**` to every entry, so a pattern such as `spec/**` was refused as an absent path or mistranslated (seen by OSD), and a declared file became `file/**`, which covers nothing. A pattern now enters the inputs of Turborepo as is, as does a file; a directory keeps `/**`, and a path strictly inside the output of a trace enters both ways. The guard refuses a pattern that covers no file and that no trace writes under. The affected components, the filters of the final pass and the data left out of a `build` read the patterns by the same rule. **Action for projects**: `npx grillhouse turbo-des-paquets --ecrire`, which `npx grillhouse maj` plays, and commit the `turbo.json`.
|
|
31
|
+
|
|
32
|
+
- **The list of the steps and the decision rule hold the direct circuit** (grillhouse-3uv.250.1): each step of `scripts/etapes.mjs` declares the circuits that play it (long, short, direct) and its roles in each. For a ticket of circuit `direct`, the rule starts at 3 Code with the agent `direct`, goes from its sheet to the final pass, gives it back each red of the pass and each finding of the review within the bounded loops (three sessions of the code, counted from 3 to 4.1; the third `RENDU` stops), and names it in its texts; `--reprendre` keeps the count of its sessions but after a stop `controles` or `sans-livraison`. `--depuis direct` is a resumption, and one rule, read by the workflow and the start of a run, refuses a `--depuis` the circuit does not accept. A long or short circuit decides as before. The workflow does not open a direct circuit yet. **Action for projects**: none.
|
|
33
|
+
- **The memory of a pass is reserved by its kind, from its measure** (grillhouse-3uv.259): decided by the owner (2026-11-23, 2026-11-25). One part per project held every pass at its largest need: 25 GB reserved for about 15 GB used, and passes waiting for memory the machine had. For each kind of pass (verification, final pass, regeneration of the references, night, session of each role) with 20 measures or more in the register of the project, the admission now counts the 95th percentile of its peaks of memory, and its control group cuts it at their maximum plus a quarter; this replaces `grillhouse.part.memoireGo` for that kind. Under 20 measures, the part of the project stands for both, as before. Every session of an agent now writes its peak to the register, with no memory bound of its own. The board and the waiting line say the reservation and the limit of each pass. **Action for projects**: none.
|
|
34
|
+
- **The roles that search the code are told to call the indexes where they search** (grillhouse-3uv.252): decided by the owner (2026-11-25). Agent sessions almost never called the indexes that the charter asks for. The session instructions of the testwriter, the developer (and the direct), the reviewer and the explorer on the plan, and the step of each role's skill where it searches, now name `mcp__rtfm__rtfm_search`, `mcp__codegraph__codegraph_explore` or `codegraph explore`, to use before a search by the shell, each role getting only the tools its rights permit. The supervisor measures the share of role sessions that call an index over a week after the release. **Action for projects**: none.
|
|
35
|
+
- **The launcher leaves nothing of its own in the temporary directory of a session** (grillhouse-fp6.3): the output of a failed build and the prompt, which `lancer.sh` writes, lay in the directory of the session, so a session could find them there. They now lie beside it, in the base the launcher owns, and go when it ends. **Action for projects**: none.
|
|
36
|
+
|
|
37
|
+
- **A second update between two releases plays no migration again** (grillhouse-fp6.2): the migration of the index servers carried a version above the package's, so every update played it again. A migration now carries no version until its release (`export const version = null`), which `grillhouse sortie <x.y.z>` writes; it plays for a project that recorded no version or one below the package's, and the report names it « de la prochaine sortie ».
|
|
38
|
+
- **`grillhouse temporal purger` removes the orphan histories before it compacts** (grillhouse-3uv.244.4): the refused starts of the workflow of the machine left some 1.2 million history trees no execution references. With the server stopped, the command deletes by SQL the trees (`history_tree`, `history_node`) that no execution of the database names, never one of a present execution, and its report says their count and the size before and after. Temporal documents no gesture for them: a gap to the reference, decided by the person in charge. **Action for projects**: none; `npx grillhouse temporal purger`, once, when no circuit is in flight.
|
|
39
|
+
|
|
40
|
+
- **A path of `grillhouse.groupe` that leads to no project of the frame is signalled** (grillhouse-3uv.257): after a neighbour was renamed, the key still named its former folder, the reading dropped the whole group and the supervisor's session received none of its questions, with nothing said (seen by SynthHub). The board shows an alert and the start of a session a line, each naming the key and the path, for a path that is absent or holds no project of the frame (a `package.json` that declares `@roomi-fields/grillhouse`), and for any other fault of the key. **Action for projects**: correct the key when the alert shows.
|
|
41
|
+
|
|
42
|
+
- **The `// @lit` lines of Rust tests are read** (grillhouse-3uv.256): only the tests of TypeScript declared what they read, so in a project of cargo a change to a file a Rust test declares replayed a green of before (OSD-sf1.25.29.3). Each module of language now reads the declarations of its test files (`lecturesDesTests`; cargo: the `.rs` files under `tests/` and the unit tests of `src/`), and `lecturesDeclarees`, the one reader of the line, is published by the entry `./paquets`. The patterns enter the inputs of the test task in the generated turbo.json; the survey of the affected components and the filters of the final pass now count the `// @lit` patterns of every test, TypeScript included, beside `grillhouse.lit`. Python and C declare nothing yet. **Action for projects**: none, `npx grillhouse maj` rewrites the turbo.json.
|
|
43
|
+
|
|
44
|
+
- **`grillhouse.lit` enters the hash of the tests of a package of every language** (grillhouse-3uv.255): the generator of the graph served the projects with a TypeScript package alone, so in a project of cargo, python or c a change to a file a package declares it reads, outside it, replayed a green of the cache (seen by OSD). Every project now has the command `grillhouse turbo-des-paquets`, the update installs `jsonc-parser` and plays the generator, which also rewrites the `turbo.json` of the root, and a repository of packages has the guard `turbo-des-paquets`, red until the `turbo.json` are written. Before `npm install`, the update says the command that failed. **Action for projects** (without a TypeScript package): `npm install`, then `npx grillhouse turbo-des-paquets --ecrire`, and commit the `turbo.json`.
|
|
45
|
+
|
|
46
|
+
- **A command purges the closed workflows past the retention and compacts the server's database** (grillhouse-3uv.244.2): a shorter retention reached only the workflows closed after it, the others keeping their timer of 30 days (3 868 of them, 1.25 GB). `grillhouse temporal purger` deletes by query the workflows closed more than 7 days ago, never a running one, then stops the server, compacts its database, starts it again and says the sizes before and after; it refuses under a circuit in flight, naming the tickets. **Action for projects**: none; once per machine, with no circuit in flight, `npx grillhouse temporal purger`.
|
|
47
|
+
|
|
48
|
+
- **The temporary directory of an agent lives as long as its session** (grillhouse-3uv.254): decided by the owner (2026-11-25). Each session the frame launches, in the envelope or out of it, has a temporary directory of its own, empty at its start, removed at its end even interrupted, and swept by the next session when its process is killed; a resumed session starts from a new one, which its instruction names. `npx grillhouse temporaire` takes no argument any more: in a session the frame launched it prints that directory, anywhere else it ends at 2. The directory of a ticket is gone. **Action for projects**: stop calling `npx grillhouse temporaire <ticket>`; the `grillhouse-ticket-<id>/` directories already there are no longer removed by the frame: they go with the system's cleaning of the temporary directory, or by hand.
|
|
49
|
+
|
|
50
|
+
- **The start of the places of the machine leaves no orphan history** (grillhouse-3uv.244.3): every mode of the bridge (`scripts/places-du-serveur.mjs`) asked the server to start the workflow of the machine, which wrote a history before finding that it ran and left it orphan in its database (about 75 000 a day). `demarrerLesPlaces` now reads the workflow (describe) and asks a start only when none runs. The histories already orphan stay. **Action for projects**: none.
|
|
51
|
+
|
|
52
|
+
- **The reading of the circuits no longer brings back the integrated ones** (grillhouse-3uv.244.1): decided by the owner (2026-11-25). The board, the supervisor and the queue listed every circuit run of every project and filtered it themselves, which passed the 5 s of the board under load (« Temporal ne répond pas en 5 s »). `lireLesCircuits` now asks for lists the Temporal server filters, by the root of the repository and, without `integres`, without the integrated runs: one list, or two when a run not integrated has ended, the second telling whether a later run integrated its ticket. The result is unchanged. **Action for projects**: none.
|
|
53
|
+
- **A closed machine lets the stages under way and the upgrade verify** (grillhouse-3uv.246): decided by the owner (2026-11-25). Under `grillhouse machine fermer`, a pass launched by a session already admitted (a place held, `GRILLHOUSE_PLACE_TENUE`) and the verification of the upgrade (sort « Montée ») take their part; only new work is refused, as a drain keeps the pods of the system. `grillhouse maj` runs `npm run verifier` under that sort, and its report names the command when it leaves the verification to the supervisor. **Action for projects**: none; under a closed machine, play the verification the report leaves with `GRILLHOUSE_VERIFICATION_SORTE=Montée npm run verifier`.
|
|
54
|
+
|
|
55
|
+
- **The update installs the index servers rtfm and codegraph in every project** (grillhouse-3uv.247): decided by the owner (2026-11-25). The migration `serveurs-de-l-index` adds to the project's `.mcp.json`, created when absent, the servers `codegraph` and `rtfm` it lacks, the other entries kept, and `grillhouse init` plays it on a new project; the agents of the project have the indexes after the update. A bare program name there that an enabled plugin ships (`rtfm-serve`) runs the plugin's program in the sessions of the agents. **Action for projects**: commit the `.mcp.json` of the update; a project whose settings do not enable the plugin `rtfm@roomi-fields` enables it, as the update says.
|
|
56
|
+
|
|
57
|
+
## [0.50.3] - 2026-11-25
|
|
58
|
+
|
|
59
|
+
- **An integration test that reads `env!("CARGO_BIN_EXE_<bin>")` compiles again** (grillhouse-3uv.251): the short wrapper of sccache of 0.50.2 ran under `sh`, which drops a variable whose name holds a hyphen, so a binary named like `osd-reference` failed to compile (seen by OSD). The wrapper runs under bash, in a new file of the cache (`sccache-court-bash`). **Action for projects**: none.
|
|
60
|
+
|
|
9
61
|
## [0.50.2] - 2026-11-25
|
|
10
62
|
|
|
11
63
|
- **A generated file the lot feeds is played again before the tests that read it** (grillhouse-3uv.245): before the proof of the red, the checks and the final pass, the circuit plays in the copy the command of each entry of `grillhouse.engendres` whose `lit` covers a file the lot changes, its files entering the lot as those of 4.2, so a ticket that adds cases no longer turns red on the test that reads their sums. **Action for projects**: none.
|
package/agents/developpeur.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: developpeur
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: Travaille le code d'un ticket dont les tests existent.
|
|
4
|
+
description: Travaille le code d'un ticket dont les tests existent. A tous les outils ; son lot, jugé à la fin de sa séance, ne porte aucun test ni la matière de test partagée ; un fichier hors du plan se dit par sa fiche BESOIN.
|
|
5
5
|
skills:
|
|
6
6
|
- grillhouse:developpeur
|
|
7
7
|
---
|
package/agents/direct.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: direct
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: Écrit tests et code d'un ticket mené hors du circuit (`npx grillhouse direct <ticket>`), dans une copie à lui. Un relecteur juge son lot ; le superviseur n'écrit pas à sa place.
|
|
4
|
+
description: Écrit tests et code d'un ticket mené hors du circuit (`npx grillhouse direct <ticket>`), dans une copie à lui. A tous les outils ; un fichier hors du plan se dit par sa fiche BESOIN. Un relecteur juge son lot ; le superviseur n'écrit pas à sa place.
|
|
5
5
|
skills:
|
|
6
6
|
- grillhouse:direct
|
|
7
7
|
---
|
package/agents/explorateur.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: explorateur
|
|
3
|
-
description: "Écrit le plan d'un ticket à l'étape 1 de son circuit (ses critères, les paquets à toucher, ses questions ouvertes) et répond une fois au questionneur ; joue dans sa copie la commande du plan d'un ticket mécanique ; trie les découvertes du ticket une fois son lot sur main ; mène aussi un ticket d'exploration : relève l'état réel, liste les décisions à prendre, propose les tickets de réalisation. N'écrit aucun fichier à la main ni rien au ticket."
|
|
3
|
+
description: "Écrit le plan d'un ticket à l'étape 1 de son circuit (ses critères, les paquets à toucher, ses questions ouvertes) et répond une fois au questionneur ; joue dans sa copie la commande du plan d'un ticket mécanique ; trie les découvertes du ticket une fois son lot sur main ; mène aussi un ticket d'exploration : relève l'état réel, liste les décisions à prendre, propose les tickets de réalisation. N'écrit aucun fichier à la main ni rien au ticket : hors de la commande du plan, son lot, jugé à la fin de sa séance, reste vide."
|
|
4
4
|
skills:
|
|
5
5
|
- grillhouse:explorateur
|
|
6
6
|
model: sonnet
|
package/agents/questionneur.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: questionneur
|
|
3
|
-
description: Questionne une proposition qu'il n'a pas écrite (le plan d'un ticket, un plan du superviseur) là où elle lui paraît floue, à la lumière du cadre ; ne décide rien, ne propose pas sa solution, n'écrit aucun fichier ni rien au ticket.
|
|
3
|
+
description: Questionne une proposition qu'il n'a pas écrite (le plan d'un ticket, un plan du superviseur) là où elle lui paraît floue, à la lumière du cadre ; ne décide rien, ne propose pas sa solution, n'écrit aucun fichier ni rien au ticket : son lot, jugé à la fin de sa séance, reste vide.
|
|
4
4
|
skills:
|
|
5
5
|
- grillhouse:questionneur
|
|
6
6
|
model: sonnet
|
package/agents/relecteur.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: relecteur
|
|
3
|
-
description: Relit en adversaire le lot d'un ticket (tests et code) et rend son verdict, que le circuit écrit au ticket.
|
|
3
|
+
description: Relit en adversaire le lot d'un ticket (tests et code) et rend son verdict, que le circuit écrit au ticket. A tous les outils de lecture ; son lot, jugé à la fin de sa séance, reste vide.
|
|
4
4
|
skills:
|
|
5
5
|
- grillhouse:relecteur
|
|
6
6
|
disallowedTools: Write, Edit, MultiEdit, NotebookEdit
|
package/agents/testwriter.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: testwriter
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: Écrit les tests d'un ticket depuis la spécification, avant le code.
|
|
4
|
+
description: Écrit les tests d'un ticket depuis la spécification, avant le code. A tous les outils ; son lot, jugé à la fin de sa séance, ne porte que des fichiers de test, la matière de test partagée et ce dont ses tests dépendent ; un fichier hors du plan se dit par sa fiche BESOIN ; aucun test ne lit le CHANGELOG, que juge la relecture.
|
|
5
5
|
skills:
|
|
6
6
|
- grillhouse:testwriter
|
|
7
7
|
---
|
package/charte.md
CHANGED
|
@@ -18,6 +18,10 @@ Une décision vit dans le document qu'elle règle. Ainsi on la trouve là où on
|
|
|
18
18
|
|
|
19
19
|
Une règle s'écrit selon le métacadre (`METACADRE.md`, à côté de cette charte, §2).
|
|
20
20
|
|
|
21
|
+
Une chose du cadre porte un seul mot, celui de son lexique (`docs/lexique.md` du paquet) ; le
|
|
22
|
+
`CONTEXT.md` d'un projet porte les mots de son domaine, jamais un mot du cadre redéfini. Ainsi
|
|
23
|
+
chaque agent nomme chaque chose comme les autres.
|
|
24
|
+
|
|
21
25
|
## Comment on arbitre
|
|
22
26
|
|
|
23
27
|
Une décision ou une question se tranche par les questions de la charte du projet (« Comment on
|
|
@@ -307,7 +311,7 @@ dossier.
|
|
|
307
311
|
## Outils
|
|
308
312
|
|
|
309
313
|
- ⛔ **Des commandes sans invite** : tout fichier temporaire dans le scratchpad de session, ou
|
|
310
|
-
dans le dossier temporaire
|
|
314
|
+
dans le dossier temporaire de la séance ;
|
|
311
315
|
`env -C <dossier>` ou `git -C` à la place de `cd`, et le greffon refuse une commande qui
|
|
312
316
|
commence par `cd` ; une suppression passe par un script node du
|
|
313
317
|
scratchpad (`rmSync` de `node:fs`) sur un chemin nommé et lu ; un signal vise seulement un
|
|
@@ -328,14 +332,13 @@ dossier.
|
|
|
328
332
|
- **Un fichier temporaire meurt avec son propriétaire** : une passe ou une séance hors ticket (la
|
|
329
333
|
nuit, une vérification) écrit sous un dossier temporaire à elle, retiré à sa fin, même
|
|
330
334
|
interrompue, et balayé par la suivante quand son processus est tué ; un agent écrit sous celui
|
|
331
|
-
de
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
la machine, §5.2). Ainsi le poste ne sature jamais ses disques.
|
|
335
|
+
de sa séance, que donne `npx grillhouse temporaire`, vide à son départ et retiré à sa fin, même
|
|
336
|
+
interrompue, comme une passe ; ce qu'un agent doit avoir pour reprendre vit dans la copie du
|
|
337
|
+
ticket ou sa passation, jamais dans le dossier temporaire, qui ne porte que ce qui se refait. Le
|
|
338
|
+
dossier temporaire ne tient ni copie du dépôt, ni `node_modules`, ni cache : un cache de
|
|
339
|
+
compilation va sous `~/.cache/grillhouse/`. Une passe qui ne trouve pas la place de disque
|
|
340
|
+
qu'elle exige attend, et dit ce qui l'occupe (le document de la machine, §5.2). Ainsi le poste ne
|
|
341
|
+
sature jamais ses disques.
|
|
339
342
|
- **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
|
|
340
343
|
hors du circuit, la vérification du lot direct) a jugé vert, le lot posé sur la pointe de main ;
|
|
341
344
|
elle n'attend aucune CI de branche. La CI du projet rejoue ensuite main entier, par paquets de
|
|
@@ -349,9 +352,11 @@ dossier.
|
|
|
349
352
|
par `codegraph explore` (ou l'outil `codegraph_explore`) pour l'appel ; le shell lit un fichier
|
|
350
353
|
déjà nommé. Ainsi une affirmation sur le code repose sur ce que le code contient.
|
|
351
354
|
- **Tout se lit, le plan s'écrit** : dans son enveloppe, un agent lit tout le dépôt, index compris,
|
|
352
|
-
et n'écrit que les paquets que le plan de son ticket
|
|
353
|
-
|
|
354
|
-
|
|
355
|
+
prend l'outil que son travail demande, et n'écrit que les paquets que le plan de son ticket
|
|
356
|
+
nomme ; la règle de son rôle se juge sur son lot, à la fin de sa séance (le document de la
|
|
357
|
+
machine, §5.5). Une écriture hors du plan échoue : l'agent dit dans sa fiche le paquet qui lui
|
|
358
|
+
manque, et le superviseur étend le plan ou refuse. Dans trois cas, le circuit étend le plan
|
|
359
|
+
lui-même, sans question, sa pièce écrite au ticket : un fichier que la description du ticket nomme, un
|
|
355
360
|
composant écarté du plan qui rougit, et les seuls fichiers de test d'un paquet lecteur que le lot
|
|
356
361
|
fait rougir (le document du circuit, §5.5). Ainsi l'agent lit ce dont il a besoin, et les gardes tiennent
|
|
357
362
|
l'architecture.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** What the memory of a part reads from a line of the register. */
|
|
2
|
+
export interface LigneMesuree {
|
|
3
|
+
sorte?: unknown;
|
|
4
|
+
memoirePic?: unknown;
|
|
5
|
+
}
|
|
6
|
+
/** The memory of a part, in bytes: what the admission counts and where the group cuts. */
|
|
7
|
+
export interface MemoireDeLaSorte {
|
|
8
|
+
reservation: number;
|
|
9
|
+
limite: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The reservation and the limit of a pass of the sort `sorte` from the `lignes` of the register,
|
|
13
|
+
* each within the memory of the budget: the 95th percentile (nearest rank) of its peaks and their
|
|
14
|
+
* maximum plus a quarter. Null under 20 peaks: the part of the project then stands for both.
|
|
15
|
+
*/
|
|
16
|
+
export declare function memoireDeLaSorte(lignes: readonly LigneMesuree[], sorte: string, budget: number): MemoireDeLaSorte | null;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// The memory of the part of a pass by its sort (`sorte` of the register of the consumptions), as
|
|
2
|
+
// Kubernetes splits a request from a limit, the request drawn from the measure as the Vertical Pod
|
|
3
|
+
// Autoscaler draws it from the percentile of the observed peaks: the reservation, which the
|
|
4
|
+
// admission counts, is the 95th percentile of the peaks of the sort in the register of the
|
|
5
|
+
// project; the limit, the ceiling of the control group, their maximum plus a quarter. Pure: the
|
|
6
|
+
// lines and the budget come in. Read by scripts/places-de-la-machine.mjs (`partDeLaPasse`), from
|
|
7
|
+
// the build. Architecture: docs/architecture/machine.md (§5.2).
|
|
8
|
+
/** The peaks a sort needs in the register before its measure sizes its part. */
|
|
9
|
+
const RELEVES_MIN = 20;
|
|
10
|
+
/** The percentile of the peaks of a sort that a pass of it reserves. */
|
|
11
|
+
const CENTILE_DE_LA_RESERVATION = 95;
|
|
12
|
+
/** The margin of the limit over the largest peak of the sort: a quarter. */
|
|
13
|
+
const MARGE_DE_LA_LIMITE = 1.25;
|
|
14
|
+
/**
|
|
15
|
+
* The reservation and the limit of a pass of the sort `sorte` from the `lignes` of the register,
|
|
16
|
+
* each within the memory of the budget: the 95th percentile (nearest rank) of its peaks and their
|
|
17
|
+
* maximum plus a quarter. Null under 20 peaks: the part of the project then stands for both.
|
|
18
|
+
*/
|
|
19
|
+
export function memoireDeLaSorte(lignes, sorte, budget) {
|
|
20
|
+
const pics = lignes
|
|
21
|
+
.filter(l => l.sorte === sorte)
|
|
22
|
+
.map(l => l.memoirePic)
|
|
23
|
+
.filter((p) => typeof p === 'number' && Number.isFinite(p) && p > 0)
|
|
24
|
+
.sort((a, b) => a - b);
|
|
25
|
+
if (pics.length < RELEVES_MIN) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const rang = Math.ceil((pics.length * CENTILE_DE_LA_RESERVATION) / 100);
|
|
29
|
+
const centile = pics[rang - 1];
|
|
30
|
+
const maximum = pics[pics.length - 1];
|
|
31
|
+
return {
|
|
32
|
+
reservation: Math.min(budget, centile),
|
|
33
|
+
limite: Math.min(budget, Math.floor(maximum * MARGE_DE_LA_LIMITE)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=part-par-sorte.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"part-par-sorte.js","sourceRoot":"","sources":["../../src/machine/part-par-sorte.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,mGAAmG;AACnG,4FAA4F;AAC5F,2FAA2F;AAC3F,gGAAgG;AAChG,iGAAiG;AACjG,gEAAgE;AAEhE,gFAAgF;AAChF,MAAM,WAAW,GAAG,EAAE,CAAC;AACvB,wEAAwE;AACxE,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,4EAA4E;AAC5E,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAchC;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAA+B,EAC/B,KAAa,EACb,MAAc;IAEd,MAAM,IAAI,GAAG,MAAM;SAChB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC;SAC9B,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;SACtB,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SAChF,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,IAAI,IAAI,CAAC,MAAM,GAAG,WAAW,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,yBAAyB,CAAC,GAAG,GAAG,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAW,CAAC;IACzC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAW,CAAC;IAChD,OAAO;QACL,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;QACtC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,kBAAkB,CAAC,CAAC;KACnE,CAAC;AACJ,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// « Commande du circuit »): its options, their combinations, and the text of the refusal of a fresh launch after `--arreter`.
|
|
3
3
|
import { ETAPES_DE_REPRISE } from './contrat.js';
|
|
4
4
|
export const USAGE = 'usage: npx grillhouse circuit <ticket> [--reprendre [--contexte <texte>] | ' +
|
|
5
|
-
'--depuis <testwriter|preuve|developpeur|controles|passe-finale> --contexte <texte> | ' +
|
|
5
|
+
'--depuis <testwriter|preuve|developpeur|direct|controles|passe-finale> --contexte <texte> | ' +
|
|
6
6
|
'--mecanique [<commande>] --contexte <raison> | ' +
|
|
7
7
|
'--etendre <paquet>[,<paquet>…] [--contexte <texte>] | --arreter [--contexte <motif>] | ' +
|
|
8
8
|
'--reporter <heure> [--contexte <motif>] | --chez-le-responsable | ' +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8HAA8H;AAC9H,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAChB,6EAA6E;IAC7E,
|
|
1
|
+
{"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8HAA8H;AAC9H,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAChB,6EAA6E;IAC7E,8FAA8F;IAC9F,iDAAiD;IACjD,yFAAyF;IACzF,oEAAoE;IACpE,kBAAkB,CAAC;AAErB,uCAAuC;AACvC,MAAM,OAAO,KAAM,SAAQ,KAAK;CAAG;AAuBnC,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,I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C,CAAC,OAAO,IAAI,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC;QACvF,MAAM,IAAI,KAAK,CAAC,6EAA6E,CAAC,CAAC;IACjG,CAAC;IACD,IAAI,CAAC,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;QACzE,MAAM,IAAI,KAAK,CAAC,8EAA8E,CAAC,CAAC;IAClG,CAAC;IACD,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;IACnE,CAAC;IACD,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,EAAE,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"}
|
|
@@ -107,10 +107,11 @@ export interface CircuitLu {
|
|
|
107
107
|
} | null;
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* The circuits of the repository at <racine>, read
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
* of the supervisor, which their end wakes,
|
|
110
|
+
* The circuits of the repository at <racine>, read from the server (`workflow.list`, their memo
|
|
111
|
+
* and their status, no worker living): the last run of each ticket, in the form the board reads
|
|
112
|
+
* (`CircuitLu`); a circuit integrated is left out, by the server's filter (`passesDesCircuits`),
|
|
113
|
+
* unless <integres> asks for them (the wait of the supervisor, which their end wakes,
|
|
114
|
+
* scripts/superviseur.mjs).
|
|
114
115
|
*/
|
|
115
116
|
export declare function lireLesCircuits(client: Client, racine: string, { integres }?: {
|
|
116
117
|
integres?: boolean;
|
|
@@ -13,6 +13,7 @@ import { DepartRefuse, ticketAuLancement } from '../../../scripts/depart-du-tick
|
|
|
13
13
|
import { lesReponses, SANS_ISSUE } from '../../../scripts/reponses-du-circuit.mjs';
|
|
14
14
|
import { WorkflowNotFoundError, WorkflowUpdateFailedError, } from '@temporalio/client';
|
|
15
15
|
import { ApplicationFailure, defaultPayloadConverter, WorkflowExecutionAlreadyStartedError, } from '@temporalio/common';
|
|
16
|
+
import { ATTRIBUT_ETAPE, ATTRIBUT_TICKET } from '../attributs.js';
|
|
16
17
|
import { fileDuProjet } from '../installation.js';
|
|
17
18
|
import { demarrerLesTickets } from '../tickets/client.js';
|
|
18
19
|
import { refusDuLancementApresArret } from './appel.js';
|
|
@@ -260,27 +261,49 @@ export async function lireLeCircuit(client, racine, ticket) {
|
|
|
260
261
|
export async function finDuCircuit(client, racine, ticket) {
|
|
261
262
|
return (await handle(client, racine, ticket).result());
|
|
262
263
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
export async function lireLesCircuits(client, racine, { integres = false } = {}) {
|
|
264
|
+
// The runs of the circuits of <racine> the server holds, filtered by it: all of them when
|
|
265
|
+
// <integres>. Else the runs not integrated (a `!=` of Temporal leaves out a run that published no
|
|
266
|
+
// step yet, hence `IS NULL`), then, for each ticket whose last such run has ended, its integrated
|
|
267
|
+
// runs: a later one says that the ticket is integrated, and not at the step of that older run. The
|
|
268
|
+
// query holds the root up to its first quote or backslash, which the caller's filter completes.
|
|
269
|
+
async function passesDesCircuits(client, racine, integres) {
|
|
270
270
|
const prefixe = idDuCircuit(racine, '');
|
|
271
|
-
const
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
271
|
+
const duDepot = `WorkflowType = '${CIRCUIT}' AND WorkflowId STARTS_WITH '${prefixe.split(/['\\]/)[0]}'`;
|
|
272
|
+
const lister = async (query) => (await listerLesDeroules(client, query)).filter(w => w.workflowId.startsWith(prefixe));
|
|
273
|
+
if (integres) {
|
|
274
|
+
return lister(duDepot);
|
|
275
|
+
}
|
|
276
|
+
const autres = await lister(`${duDepot} AND (${ATTRIBUT_ETAPE.name} IS NULL OR ${ATTRIBUT_ETAPE.name} != 'integre')`);
|
|
277
|
+
const finis = [...dernieresPasses(autres).values()]
|
|
278
|
+
.filter(w => w.status.name !== 'RUNNING')
|
|
279
|
+
.map(w => `'${w.workflowId.slice(prefixe.length)}'`);
|
|
280
|
+
if (!finis.length) {
|
|
281
|
+
return autres;
|
|
276
282
|
}
|
|
277
|
-
const
|
|
278
|
-
|
|
279
|
-
|
|
283
|
+
const ensuite = await lister(`${duDepot} AND ${ATTRIBUT_ETAPE.name} = 'integre' AND ${ATTRIBUT_TICKET.name} IN (${finis.join(', ')})`);
|
|
284
|
+
return [...autres, ...ensuite];
|
|
285
|
+
}
|
|
286
|
+
// The last run started of each workflow among <passes>.
|
|
287
|
+
function dernieresPasses(passes) {
|
|
288
|
+
const dernieres = new Map();
|
|
289
|
+
for (const w of passes) {
|
|
290
|
+
const avant = dernieres.get(w.workflowId);
|
|
280
291
|
if (!avant || w.startTime.getTime() > avant.startTime.getTime()) {
|
|
281
|
-
|
|
292
|
+
dernieres.set(w.workflowId, w);
|
|
282
293
|
}
|
|
283
294
|
}
|
|
295
|
+
return dernieres;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* The circuits of the repository at <racine>, read from the server (`workflow.list`, their memo
|
|
299
|
+
* and their status, no worker living): the last run of each ticket, in the form the board reads
|
|
300
|
+
* (`CircuitLu`); a circuit integrated is left out, by the server's filter (`passesDesCircuits`),
|
|
301
|
+
* unless <integres> asks for them (the wait of the supervisor, which their end wakes,
|
|
302
|
+
* scripts/superviseur.mjs).
|
|
303
|
+
*/
|
|
304
|
+
export async function lireLesCircuits(client, racine, { integres = false } = {}) {
|
|
305
|
+
const prefixe = idDuCircuit(racine, '');
|
|
306
|
+
const parTicket = dernieresPasses(await passesDesCircuits(client, racine, integres));
|
|
284
307
|
const out = [];
|
|
285
308
|
for (const w of parTicket.values()) {
|
|
286
309
|
const memo = (w.memo ?? {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/temporal/circuit/client.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,gKAAgK;AAChK,mGAAmG;AACnG,8FAA8F;AAC9F,kGAAkG;AAClG,kGAAkG;AAClG,+FAA+F;AAC/F,4FAA4F;AAC5F,gGAAgG;AAChG,yEAAyE;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EACL,qBAAqB,EACrB,yBAAyB,GAG1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,oCAAoC,GACrC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,EAAE,CAAC;AAEvB,gFAAgF;AAChF,MAAM,cAAc,GAAG,CA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,sPAAsP,CAAC;AAC3Q,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DelaisDeLaCI } from '../file/contrat.js';
|
|
2
|
-
import { type EtatDuPlan } from '../../../scripts/transitions.mjs';
|
|
2
|
+
import { ETAPES_DE_REPRISE, type EtatDuPlan } from '../../../scripts/transitions.mjs';
|
|
3
3
|
/** The workflow's type. */
|
|
4
4
|
export declare const CIRCUIT = "circuitDuTicket";
|
|
5
5
|
/** The id of the workflow of the ticket <ticket> of the repository at <racine>. */
|
|
@@ -25,7 +25,7 @@ export declare const REFUS_DU_VALIDATEUR = "RefusDuValidateur";
|
|
|
25
25
|
/** The query of the circuit as it stands. */
|
|
26
26
|
export declare const L_ETAT = "etatDuCircuit";
|
|
27
27
|
/** The steps a `--depuis` names: it replays that step and the ones after it, no result read back. */
|
|
28
|
-
export
|
|
28
|
+
export { ETAPES_DE_REPRISE };
|
|
29
29
|
/** The run at its step, as scripts/transitions.mjs reads it. */
|
|
30
30
|
export interface EtatDeLEtape {
|
|
31
31
|
etape: string;
|
|
@@ -36,21 +36,24 @@ export interface EtatDeLEtape {
|
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* The conflict an advance of the copy left (gesture `conflit-de-l-avance`): the role relaunched
|
|
39
|
-
* (`testwriter` or `
|
|
39
|
+
* (`testwriter`, `developpeur` or `direct`), the files it writes and its report, the marks being in the copy.
|
|
40
40
|
*/
|
|
41
41
|
interface ConflitDeLAvance {
|
|
42
|
-
role: 'testwriter' | 'developpeur';
|
|
42
|
+
role: 'testwriter' | 'developpeur' | 'direct';
|
|
43
43
|
fichiers: string[];
|
|
44
44
|
rapport: string;
|
|
45
45
|
}
|
|
46
46
|
/** What the circuit keeps between steps (`MEMOIRE` of scripts/transitions.mjs, and its session to resume). */
|
|
47
47
|
export type Memoire = Record<string, unknown>;
|
|
48
|
+
/** The circuit of a ticket (circuit.md §4.2). */
|
|
49
|
+
type Parcours = 'long' | 'court' | 'direct';
|
|
48
50
|
/** The ticket as the decisions read it. */
|
|
49
51
|
interface TicketDuCircuit {
|
|
50
52
|
id: string;
|
|
51
53
|
paquets: string[];
|
|
52
54
|
sorte: unknown;
|
|
53
55
|
copie: string;
|
|
56
|
+
circuit?: Parcours | null;
|
|
54
57
|
}
|
|
55
58
|
/** The question of a stop, as the supervisor reads it. */
|
|
56
59
|
export interface Question {
|
|
@@ -62,10 +65,11 @@ export interface Question {
|
|
|
62
65
|
}
|
|
63
66
|
/**
|
|
64
67
|
* What the memo of a circuit holds of the state its run wrote last (`etat`), which the board reads
|
|
65
|
-
* (`lireLesCircuits`): its step, its attempt, its stop, the first line of its report, the object
|
|
68
|
+
* (`lireLesCircuits`): its circuit, its step, its attempt, its stop, the first line of its report, the object
|
|
66
69
|
* of its questioning, its loops and the start of its step led (ISO).
|
|
67
70
|
*/
|
|
68
71
|
export interface ResumeDeLEtat {
|
|
72
|
+
circuit: Parcours;
|
|
69
73
|
etape: string | null;
|
|
70
74
|
tentative: number | null;
|
|
71
75
|
finale: boolean;
|
|
@@ -78,7 +82,7 @@ export interface ResumeDeLEtat {
|
|
|
78
82
|
}
|
|
79
83
|
/**
|
|
80
84
|
* What the board shows of the state <e> a run wrote (the effect `etat`), published in the memo
|
|
81
|
-
* (./client.ts `lireLesCircuits` reads it): its step, its attempt, its stop and the first line of
|
|
85
|
+
* (./client.ts `lireLesCircuits` reads it): its circuit (`long` for a state without it), its step, its attempt, its stop and the first line of
|
|
82
86
|
* its report, the object of its questioning, its loops, the start of its step led. A run at its
|
|
83
87
|
* plan (<auPlan>, from its opening to its plan passed) stands at the step `plan`, its
|
|
84
88
|
* questioning the plan, whatever state its plan wrote last, <e> null before the first: the board
|
|
@@ -191,6 +195,7 @@ export interface FinDuCircuit {
|
|
|
191
195
|
}
|
|
192
196
|
/** The circuit as the query gives it. */
|
|
193
197
|
export interface VueDuCircuit {
|
|
198
|
+
circuit: Parcours;
|
|
194
199
|
etape: string;
|
|
195
200
|
tentative: number;
|
|
196
201
|
attente: boolean;
|
|
@@ -367,4 +372,3 @@ export interface Activites {
|
|
|
367
372
|
effet: Effet;
|
|
368
373
|
}): Promise<void>;
|
|
369
374
|
}
|
|
370
|
-
export {};
|