@roomi-fields/grillhouse 0.54.1 → 0.55.2
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 +73 -0
- package/cadre/templates/projet/.github/workflows/ci.yml +4 -2
- package/cadre/templates/projet/.github/workflows/machine-vierge.yml +5 -42
- package/cadre/templates/projet/CONTRIBUTING.md +0 -5
- package/cadre/templates/projet/README.md +0 -126
- package/cadre/templates/projet/_npmignore +1 -6
- package/cadre/templates/projet/package.json +5 -32
- package/cadre/templates/projet/tsconfig.json +4 -4
- package/cadre/templates/projet/vitest.config.cjs +3 -2
- package/charte/tests.md +14 -0
- package/dist/machine/part-par-sorte.d.ts +9 -9
- package/dist/machine/part-par-sorte.js +20 -24
- package/dist/machine/part-par-sorte.js.map +1 -1
- package/dist/machine/table-des-consommations.d.ts +65 -0
- package/dist/machine/table-des-consommations.js +94 -0
- package/dist/machine/table-des-consommations.js.map +1 -0
- package/dist/temporal/circuit/activites.d.ts +2 -0
- package/dist/temporal/circuit/activites.js +87 -3
- package/dist/temporal/circuit/activites.js.map +1 -1
- package/dist/temporal/circuit/client.js +9 -4
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +32 -4
- package/dist/temporal/circuit/deroule.js +54 -4
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/circuit/versions.d.ts +12 -0
- package/dist/temporal/circuit/versions.js +22 -0
- package/dist/temporal/circuit/versions.js.map +1 -0
- package/dist/temporal/consommation/activites.d.ts +2 -0
- package/dist/temporal/consommation/activites.js +9 -0
- package/dist/temporal/consommation/activites.js.map +1 -0
- package/dist/temporal/consommation/actualisation.d.ts +2 -0
- package/dist/temporal/consommation/actualisation.js +71 -0
- package/dist/temporal/consommation/actualisation.js.map +1 -0
- package/dist/temporal/consommation/client.d.ts +12 -0
- package/dist/temporal/consommation/client.js +28 -0
- package/dist/temporal/consommation/client.js.map +1 -0
- package/dist/temporal/consommation/commande.d.ts +5 -0
- package/dist/temporal/consommation/commande.js +32 -0
- package/dist/temporal/consommation/commande.js.map +1 -0
- package/dist/temporal/consommation/contrat.d.ts +15 -0
- package/dist/temporal/consommation/contrat.js +13 -0
- package/dist/temporal/consommation/contrat.js.map +1 -0
- package/dist/temporal/consommation/deroule.d.ts +2 -0
- package/dist/temporal/consommation/deroule.js +14 -0
- package/dist/temporal/consommation/deroule.js.map +1 -0
- package/dist/temporal/deroules.d.ts +2 -1
- package/dist/temporal/deroules.js +3 -2
- package/dist/temporal/deroules.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +2 -0
- package/dist/temporal/file/deroule.js +14 -4
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/installation.d.ts +6 -0
- package/dist/temporal/installation.js +15 -0
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/nuits/activites.d.ts +2 -1
- package/dist/temporal/nuits/activites.js +127 -3
- package/dist/temporal/nuits/activites.js.map +1 -1
- package/dist/temporal/nuits/client.d.ts +19 -5
- package/dist/temporal/nuits/client.js +33 -23
- package/dist/temporal/nuits/client.js.map +1 -1
- package/dist/temporal/nuits/commande.js +16 -11
- package/dist/temporal/nuits/commande.js.map +1 -1
- package/dist/temporal/nuits/contrat.d.ts +29 -0
- package/dist/temporal/nuits/contrat.js +10 -0
- package/dist/temporal/nuits/contrat.js.map +1 -1
- package/dist/temporal/nuits/deroule.d.ts +5 -0
- package/dist/temporal/nuits/deroule.js +18 -1
- package/dist/temporal/nuits/deroule.js.map +1 -1
- package/dist/temporal/nuits/pc2.d.ts +72 -0
- package/dist/temporal/nuits/pc2.js +206 -0
- package/dist/temporal/nuits/pc2.js.map +1 -0
- package/dist/temporal/places/activites.d.ts +23 -1
- package/dist/temporal/places/activites.js +38 -2
- package/dist/temporal/places/activites.js.map +1 -1
- package/dist/temporal/places/client.d.ts +18 -2
- package/dist/temporal/places/client.js +28 -3
- package/dist/temporal/places/client.js.map +1 -1
- package/dist/temporal/places/contrat.d.ts +79 -14
- package/dist/temporal/places/contrat.js +7 -0
- package/dist/temporal/places/contrat.js.map +1 -1
- package/dist/temporal/places/deroule.js +159 -23
- package/dist/temporal/places/deroule.js.map +1 -1
- package/dist/temporal/places/reservation.d.ts +54 -0
- package/dist/temporal/places/reservation.js +69 -0
- package/dist/temporal/places/reservation.js.map +1 -0
- package/dist/temporal/planification.d.ts +6 -0
- package/dist/temporal/planification.js +26 -0
- package/dist/temporal/planification.js.map +1 -0
- package/dist/temporal/tickets/activites.d.ts +0 -2
- package/dist/temporal/tickets/activites.js +2 -52
- package/dist/temporal/tickets/activites.js.map +1 -1
- package/dist/temporal/tickets/contrat.d.ts +7 -26
- package/dist/temporal/tickets/deroule.js +35 -23
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/dist/temporal/travailleur.js +2 -0
- package/dist/temporal/travailleur.js.map +1 -1
- package/docs/ARCHITECTURE.md +2 -2
- package/docs/CADRE.md +1 -1
- package/docs/INTERFACE.md +16 -11
- package/docs/architecture/circuit.md +62 -58
- package/docs/architecture/entree.md +87 -63
- package/docs/architecture/greffon.md +24 -21
- package/docs/architecture/installation.md +35 -30
- package/docs/architecture/machine.md +48 -40
- package/docs/architecture/tests.md +37 -33
- package/docs/lexique.md +4 -3
- package/package.json +1 -1
- package/scripts/activites.mjs +351 -180
- package/scripts/aiguillage.mjs +1 -0
- package/scripts/attente-de-la-machine.mjs +3 -22
- package/scripts/avancement.mjs +21 -30
- package/scripts/bilan.mjs +22 -2
- package/scripts/branche-de-nuit.mjs +1 -1
- package/scripts/circuit.mjs +75 -39
- package/scripts/codes-de-sortie.mjs +0 -6
- package/scripts/coeurs-dedies.mjs +19 -2
- package/scripts/consommation-des-passes.mjs +67 -35
- package/scripts/consommation.mjs +152 -24
- package/scripts/copies-finies.mjs +15 -35
- package/scripts/dernier-vert.mjs +4 -5
- package/scripts/dette.mjs +5 -3
- package/scripts/droits.mjs +2 -2
- package/scripts/echantillonneur-de-la-passe.mjs +7 -31
- package/scripts/engendres.mjs +5 -61
- package/scripts/enveloppe/enveloppe.mjs +30 -34
- package/scripts/enveloppe/travail-de-la-copie.mjs +5 -0
- package/scripts/etapes.mjs +21 -7
- package/scripts/etat-du-depot.mjs +61 -0
- package/scripts/faits-du-circuit.mjs +7 -4
- package/scripts/fermeture-de-la-machine.d.mts +6 -4
- package/scripts/fermeture-de-la-machine.mjs +12 -16
- package/scripts/fichier-du-poste.d.mts +9 -0
- package/scripts/file-des-tickets.d.mts +0 -18
- package/scripts/file-des-tickets.mjs +0 -42
- package/scripts/fusion-du-changelog.mjs +1 -1
- package/scripts/grillhouse-maj.mjs +1 -1
- package/scripts/index-des-rouges.d.mts +40 -0
- package/scripts/index-des-rouges.mjs +104 -0
- package/scripts/integration/file.mjs +13 -63
- package/scripts/integration/integrer.mjs +157 -424
- package/scripts/integration/jugement.mjs +109 -0
- package/scripts/integration/rejeu.mjs +94 -71
- package/scripts/jointure.d.ts +34 -27
- package/scripts/journal-des-etats.d.mts +1 -1
- package/scripts/langages/c/commandes.mjs +27 -12
- package/scripts/langages/cargo/commandes.mjs +148 -94
- package/scripts/langages/cargo/index.mjs +2 -1
- package/scripts/langages/cargo/lectures-des-tests.mjs +132 -0
- package/scripts/langages/cargo/migrations/lectures-des-tests.mjs +31 -0
- package/scripts/langages/python/commandes.mjs +31 -15
- package/scripts/langages/python/index.mjs +2 -1
- package/scripts/langages/python/lectures-des-tests.mjs +148 -0
- package/scripts/langages/python/migrations/lectures-des-tests.mjs +31 -0
- package/scripts/langages/typescript/consommateurs-arbitres.mjs +2 -2
- package/scripts/langages/typescript/index.mjs +4 -0
- package/scripts/langages/typescript/lectures-des-tests.mjs +95 -0
- package/scripts/langages/typescript/migrations/lectures-des-tests.mjs +31 -0
- package/scripts/langages/typescript/tests-de-nuit.mjs +9 -15
- package/scripts/langages/typescript/tests.mjs +11 -37
- package/scripts/langages/typescript/titres-de-tests.mjs +5 -4
- package/scripts/langages/typescript/verifier.mjs +74 -44
- package/scripts/langages/typescript/vitest-config/base.mjs +3 -3
- package/scripts/langages/typescript/vitest-config/machine.setup.mjs +6 -25
- package/scripts/lectures-communes.mjs +234 -0
- package/scripts/machine.mjs +11 -18
- package/scripts/mesure/base-de-passe.mjs +1 -2
- package/scripts/mesure-de-la-machine.d.mts +43 -3
- package/scripts/mesure-de-la-machine.mjs +209 -11
- package/scripts/migrations/0.33.0-ci-du-cadre.mjs +3 -3
- package/scripts/migrations/nuit-yml-retire.mjs +25 -0
- package/scripts/migrations/part-retiree.mjs +31 -0
- package/scripts/migrations/table-des-consommations.mjs +36 -0
- package/scripts/migrations.mjs +6 -0
- package/scripts/montee.mjs +9 -0
- package/scripts/nuit-de-pc2.mjs +628 -0
- package/scripts/nuit.sh +8 -131
- package/scripts/paquets.mjs +1 -1
- package/scripts/passe-de-la-machine.mjs +365 -105
- package/scripts/place-du-circuit.d.mts +15 -0
- package/scripts/place-du-circuit.mjs +32 -0
- package/scripts/places-de-la-machine.mjs +148 -627
- package/scripts/places-du-serveur.mjs +43 -16
- package/scripts/plafond-de-la-machine.d.mts +8 -13
- package/scripts/plafond-de-la-machine.mjs +37 -69
- package/scripts/registre-des-entrees.mjs +57 -0
- package/scripts/regles-des-places.d.mts +84 -50
- package/scripts/regles-des-places.mjs +200 -156
- package/scripts/retirer-copie.sh +2 -2
- package/scripts/seances.mjs +181 -63
- package/scripts/secours.mjs +95 -0
- package/scripts/services-du-noyau.mjs +11 -19
- package/scripts/sous-commandes.mjs +1 -0
- package/scripts/sous-modules.sh +1 -1
- package/scripts/superviseur.mjs +16 -7
- package/scripts/table-des-consommations.d.mts +9 -0
- package/scripts/table-des-consommations.mjs +35 -0
- package/scripts/tableau.mjs +33 -19
- package/scripts/taches-du-graphe.mjs +124 -2
- package/scripts/transitions.d.mts +27 -5
- package/scripts/transitions.mjs +125 -104
- package/scripts/verdict-de-la-nuit.d.mts +13 -0
- package/scripts/verdict-de-la-nuit.mjs +34 -7
- package/scripts/verrou-de-fichier.mjs +1 -2
- package/scripts/workflows-du-cadre.mjs +2 -2
- package/skills/developpeur/SKILL.md +8 -2
- package/skills/direct/SKILL.md +5 -0
- package/skills/explorateur/SKILL.md +10 -1
- package/skills/grill/SKILL.md +2 -4
- package/skills/pitmaster/SKILL.md +7 -5
- package/skills/pitmaster/references/consigne-agent.md +1 -1
- package/skills/relecteur/SKILL.md +4 -1
- package/skills/testwriter/SKILL.md +15 -2
- package/cadre/templates/projet/.env.example +0 -57
- package/cadre/templates/projet/.github/workflows/nuit.yml +0 -139
- package/cadre/templates/projet/deployment/README.md +0 -98
- package/cadre/templates/projet/deployment/docs/01-INSTALL.md +0 -145
- package/cadre/templates/projet/deployment/docs/02-CONFIGURATION.md +0 -117
- package/cadre/templates/projet/deployment/docs/03-API.md +0 -264
- package/cadre/templates/projet/deployment/docs/04-TROUBLESHOOTING.md +0 -262
- package/cadre/templates/projet/deployment/scripts/install.ps1 +0 -100
- package/cadre/templates/projet/deployment/scripts/start.ps1 +0 -61
- package/cadre/templates/projet/deployment/scripts/stop.ps1 +0 -37
- package/cadre/templates/projet/deployment/scripts/test.ps1 +0 -118
- package/cadre/templates/projet/ecosystem.config.cjs +0 -73
- package/cadre/templates/projet/src/config.ts +0 -68
- package/cadre/templates/projet/src/errors.ts +0 -102
- package/cadre/templates/projet/src/index.ts +0 -46
- package/cadre/templates/projet/src/services/.gitkeep +0 -8
- package/cadre/templates/projet/src/types/index.ts +0 -24
- package/cadre/templates/projet/src/utils/logger.ts +0 -106
- package/cadre/templates/projet/tests/unit/config.spec.ts +0 -68
- package/cadre/templates/projet/tests/unit/errors.spec.ts +0 -132
- package/cadre/templates/projet/tests/unit/types.spec.ts +0 -73
- package/cadre/templates/projet/tsconfig.build.json +0 -14
- package/scripts/flux-de-la-nuit.mjs +0 -39
- package/scripts/garde-de-la-memoire.mjs +0 -231
- package/scripts/repli-de-la-nuit.mjs +0 -184
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,79 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.55.2] - 2026-12-03
|
|
10
|
+
|
|
11
|
+
- **The reservation of a step follows the observed usage, on the cores of the machine** (grillhouse-j9m.16): the cores of the machine are counted on its topology, not on the affinity of the measuring process (a process confined to 6 cores gave a budget of 4 cores and a part equal to the whole budget); the default part of a phase without measures is the budget divided by the places (a third at 3 places), never the whole budget, and its cores are min(3, budget); a reservation that can never fit in the budget protects no rank at the bound of passages, and its refusal says so with its figures; the restriction of a measure's dedicated cores is lifted at its end, an interrupted one included, and at the opening of the arbiter; the migration `table des consommations` writes the table of a project that has none. It also mends the regression of 0.55.1 (the same reservation mechanism): the reviewer no longer started in any project (« MemoryMax is out of range »), its step having no phase and a reservation of 0; every session of a role now starts with the reservation of its phase, the reviewer included, and no null bound is ever written. `machine.md` §5.2 and §5.6 say it. **Action for projects**: none; `grillhouse maj` writes the table.
|
|
12
|
+
|
|
13
|
+
## [0.55.1] - 2026-12-03
|
|
14
|
+
|
|
15
|
+
- **The tests of a migration no longer fix its version** (grillhouse-jcq.3): the three tests of the migration « lectures des tests » (typescript, cargo, python) required it to carry no version, so the release, which writes it, turned them red; they still check its name, its listing and its guard. **Action for projects**: none.
|
|
16
|
+
|
|
17
|
+
## [0.55.0] - 2026-12-03
|
|
18
|
+
|
|
19
|
+
- **The arbiter admits on its reservations, not on the load of the whole machine** (grillhouse-j9m.14): `refusDeLaReservation` refused every reservation while the measured load of the machine (processes outside the frame included: rtfm indexing, `bd` reads) reached the cores, « charge de la machine … sur … cœurs », so almost nothing was granted on a 32-core machine under a ceiling of 12. A reservation that fits the budget, reserve deducted, is now granted whatever the load outside the frame; the measured free cores check and the unused `admission()` rule are removed, the free memory check stays. `machine.md` §5.2 says it. **Action for projects**: none.
|
|
20
|
+
|
|
21
|
+
- **The clean machine starts by hand alone** (grillhouse-acl.8): the flow `machine-vierge.yml` of the template keeps `workflow_dispatch` and one job, `verification` on ubuntu-latest; the schedule (4 h UTC), the start on a tag `v*`, the job `decision` (its permission `actions: read`, its output `saute`, the reading of the last green pass) and the header paragraphs that described them are removed. `entree.md` §9.1 item 5 and `installation.md` §9.1 items 1 and 5 no longer list those starts. **Action for projects**: `grillhouse maj` rewrites the copy that bears the mark of the frame; a copy without the mark stays as it is.
|
|
22
|
+
|
|
23
|
+
- **A new project carries no example application** (grillhouse-acl.7): the template of a project (`templates/projet`) loses `src/` and its three tests, `deployment/`, `ecosystem.config.cjs`, `.env.example`, `tsconfig.build.json`, the README with badges (a short README stays), the scripts `dev`, `watch`, `start`, `build`, `prepublishOnly` and `daemon:*`, the fields `main`, `types`, `bin` and `files`, and the dependencies `dotenv`, `zod` and `pm2`; `prepare` plays `grillhouse hooks` alone. Without code, the tools still pass: `tsconfig.json` includes `*.cjs`, `lint` and `format` pass `--no-error-on-unmatched-pattern`, `vitest.config.cjs` sets `passWithNoTests`. The frame's own repository stops reading them (root `package.json`, `knip.json`, `tsconfig.eslint.json`, `STRUCTURE.md`, `README.md`, the skill `grill`, `docs/ARCHITECTURE.md` §9 item 5, `installation.md` §9.1 item 5). **Action for projects**: none; `grillhouse maj` removes none of these files from a project that holds them, and `package.json` is left as it is.
|
|
24
|
+
|
|
25
|
+
- **A ticket that only deletes tests goes to the direct circuit** (grillhouse-jcq.2): such a ticket passed through no role able to write it (the plan said « unchanged behaviour », so no testwriter, and the developer may not write a test file; SH-60o.2.6 stopped at 3 Code, 24 min, 4 sessions). The explorer now writes it as a « correction triviale » (the ticket names the whole lot), and the direct agent, who writes tests and code, deletes the tests. The limit: the lot removes only test files or cases (and what only they read, such as a trial file of their own), no other file changed; as soon as a code, a guard, a setting or a text read by a test changes, the lot is the full circuit, and the doubt goes to the long circuit. The plan names each deleted test with its reason (code removed, duplicate of a named test, behaviour removed) as its piece, and the reviewer of the direct circuit, who holds the proof, returns a lot that deletes a test whose behaviour still lives with no named test covering it. `circuit.md` §5.6 and the skill of the explorer say it; the charter is unchanged. **Action for projects**: none.
|
|
26
|
+
|
|
27
|
+
- **GitHub leaves the night: the part of PC2 plays by ssh alone, `nuit.yml` is gone** (grillhouse-3uv.300.4): the Nuit flow (`.github/workflows/nuit.yml`, the frame's and the template's), `flux-de-la-nuit.mjs`, `repli-de-la-nuit.mjs` (the `repli` function and the slot of PC2 of `scripts/nuit.sh`), `fluxDuProjetJoueLesMesures`, the dispatch by `gh` (`declenchementDePc2`, `declencherLesNuitsDePc2`, `declenchement.ts`) and their guards, tests and texts are removed. `nuit.sh` carries no part of PC2: only the ssh activity `jouerLaNuitDePc2` plays it, and `nuitDePc2` starts nothing else (the marker `nuit-de-pc2-par-ssh` is now `deprecatePatch`; its total removal is the next ticket's). `tests-de-nuit --du-poste` plays the measures of time whatever flow a project holds. **To rise**: `npx grillhouse maj` (the new migration `nuit yml retire` removes the `.github/workflows/nuit.yml` that bears the frame's mark, and reports one without it, « à retirer ou à garder »); set `GRILLHOUSE_NUIT_PC2_HOTE` for the part of PC2.
|
|
28
|
+
|
|
29
|
+
- **The day and the cumul stand on one line of the panel** (grillhouse-3uv.314): `lignesDesMesures` wrote two lines (« jour 18h50 · 203,5 M · 73 $ », « cumul 732h56 · 19,2 G · ≥ 9 244 $ »); it now writes one, « Jour 18h50 203,5M 73$ · Cumul 733h 19,2G 9.24K$ » (47 columns), the unit glued to the number, the cumul in whole hours then in Kh from 1 000 h (« 1.23Kh »), the cost in whole dollars then in K$ from 1 000 $ (« 9.24K$ »), no « ≥ » on a partial cost; a line wider than the panel is cut like the others. Model: the status line of tmux or btop. `greffon.md` §4.1 says it. **Action for projects**: none.
|
|
30
|
+
|
|
31
|
+
- **A targeted test run and the guards pass no longer write a read-only package in an agent's envelope** (grillhouse-3uv.307): `npm test -- <paths>` of a Rust crate, and `verifier --gardes`, ran Turborepo without `--only` in the envelope of a downstream package, which rebuilt the upstream package and failed writing its log (EROFS, « Cannot write logs »; OSD-sf1.34.12.6.3, SH). The treatment of the envelope (build `--only` of the writable packages, then the tests `--only`) is now one code, `lancerLesTests` of `scripts/taches-du-graphe.mjs`, called by `cibles` (typescript) and `tester` (cargo); the guards pass leaves out the build tasks of a read-only package. Model: the inputs of a Bazel action, `turbo run --only`. `INTERFACE.md` says it. **Action for projects**: none.
|
|
32
|
+
|
|
33
|
+
- **A finished circuit reopens whatever the weight of its history** (grillhouse-3uv.318): `--depuis` on a circuit ended without its issue failed once its history passed 4 MB (« RESOURCE_EXHAUSTED: Received message larger than max (10239202 vs 4194304) », grillhouse-3uv.312), because `bornesDe` read the whole history to take the bounds of the entry. It now reads one page of one event of the history (`getWorkflowExecutionHistory`, `maximumPageSize: 1`) and gives the same bounds. **Action for projects**: none.
|
|
34
|
+
|
|
35
|
+
- **The workers of a pass follow its core ceiling, so a reservation can rise to the real need** (grillhouse-j9m.13): a pass set `GRILLHOUSE_TRAVAILLEURS` to the cores of its reservation (the 95th percentile of the cores occupied), so a suite never measured more than its workers and its reservation stayed or fell whatever its need (on this repository, no measure above its share: 2.65 cores at most for a share of 3). `lancementSousPart` and `avecLaPasse` now set it to the core ceiling of the phase (`limiteCoeurs`, within the budget), and to the reserved cores only when the share has no ceiling; the group's `CPUQuota` and `CPUWeight` are unchanged. The measure can now exceed the reservation, which rises by steps (about a quarter plus rounding) each daily recalculation while the maximum measured equals the workers, and holds when it does not. Model: requests and limits of Kubernetes. `machine.md` (§2.3 item 2, §3, §5.2, §5.6) is corrected, with the lines that were late (95th percentile without margin, 20 measures, workers of an enveloped session). `docs/ARCHITECTURE.md` §2.3 is unchanged. The table is absent from this repository because nothing wrote it: the daily recalculation has its own schedule (`grillhouse consommation --planifier`, src/temporal/consommation/commande.ts) that the update does not lay down (installation.md §9.1, item 5: « le recalcul quotidien n'a pas de planification qu'elle pose »), so `grillhouse consommation --actualiser` never ran here and `.git/grillhouse/table-des-consommations.json` does not exist; the phases then keep the 3 cores of the share. **Action for projects**: none.
|
|
36
|
+
|
|
37
|
+
- **The state of a circuit carries an index of the reds, whose detail lies in the work folder** (grillhouse-3uv.317): the circuit of grillhouse-3uv.312 stopped on 2026-12-02 with a continuation of 2 633 645 bytes for 2 097 152 allowed (TMPRL1103), the same reds passing several times through the run. The result of the checks now carries an index of the reds (`scripts/index-des-rouges.mjs`): one entry per group (package, file, cause normalised: digits, paths, dates, times, hexadecimal ids, uuids and durations replaced by a marker, 200 characters at most), with its count, its owner and the address of the detail; beyond 60 groups it groups by file, then by package, and says so, no red missing from the count. The detail, each red whole, is written once by the act to `<ticket>.travail/rouges-<hash>.md` (a replay rewrites the same file); only the agents open it, and the report of the author or the reviewer gives the causes, counts, files and its address. The circuit decides on the package, the file, the owner and the counts, never on the cause; two sendings to the testwriter compare the fingerprint of the whole text. Each charge weighs 256 KB at most on a batch of 800 reds. The memory keeps `controlesRouges` as a mark `{ forme: 'index', index, empreinte, detail }`; no `patched` marker is posed (a run in flight stays pinned to its version), and a reopening whose memory holds the old form stops at « références », resumed by `--depuis <role>`. `circuit.md` §2.2, §2.3, §4.1 and §4.3 say it. **Action for projects**: none.
|
|
38
|
+
|
|
39
|
+
- **A request that fits in the free room passes before the first of the queue, within a bound of 5 passages** (grillhouse-3uv.316): the arbiter granted the reservations of steps and passes in strict order of arrival, so a pass of 4 GB waited behind a request of 10 GB while 4 GB were free (91 of 136 waiting lines on SH-cgi.33.4). `refusDeLaReservation` now grants a request that fits even when an older one waits (the backfill of Slurm, without a duration estimate); each older wait gains one passage per request granted before it (`compterLesPassages`, a field `passages` of the wait, carried away with it), and once a wait has 5 passages (`PASSAGES_MAX` of `scripts/regles-des-places.mjs`, no setting) nothing passes it until its turn, the line saying « rang réservé : <ticket> attend, la borne de 5 passages est atteinte (<reason>) ». The bound counts passages, not minutes: a step granted before the first may hold its place a long time. The places of circuits keep the order of arrival. `docs/ARCHITECTURE.md`, `machine.md` (§5.2, §5.4) and `INTERFACE.md` say it. **Action for projects**: none.
|
|
40
|
+
|
|
41
|
+
- **No test reads a document or the source code: the guard `lectures-des-tests`, its debt and its texts** (grillhouse-jcq.1): rule 1 of the tests chantier, decided by the owner, which goes further than « Change-Detector Tests Considered Harmful » (Google: a test that detects a change of code): a test that reads the text of a document (`.md`) or of a file of code of the repository detects a reformulation, not a behaviour. Each module of language (typescript, cargo, python) gets a guard `lectures-des-tests`, finding `lecture-de-document-ou-de-code`, that refuses a test whose read call (`readFileSync`, `include_str!`, `open`, `Path.read_text`, …) takes by a literal path, a constant of the file or a `join` of literals an existing `.md` or code file; a manifest, a datum, a template, a flow of CI, a generated reference, an import and a file the test creates in a temporary folder pass. A reading allowed carries `@lit-source: <reason>` in the head comment (`# @lit-source:` in Python), as `@poste`; a label without a reason is refused. The charter (module tests), `tests.md` §3.4 and the skills of the testwriter and the reviewer carry the rule. **Action for projects**: the update (one migration per module, numbered by the release command) inscribes the readings that exist in `grillhouse-dette.json`, frozen: the count never rises and a new one is refused; no test is changed.
|
|
42
|
+
|
|
43
|
+
- **The night pushes its copy to PC2 and plays the whole pass there** (grillhouse-3uv.300.3): the new subcommand `grillhouse nuit-de-pc2`, the one command of the key of PC3 on the account `grillhouse-nuit`, reads `SSH_ORIGINAL_COMMAND` and refuses anything but the verbs `sonde` (the version of the frame), `lancer`, `etat`, `verdict` (arguments of `[a-z0-9-]`, exit 2, nothing run) and the one form `rsync --server …`, checked as `rrsync` does (write only, no program, shell, list, log, daemon nor configuration option, a destination under the deposit folder of PC2). Before `lancer`, the activity `jouerLaNuitDePc2` probes the version (another one: « à repasser » with its reason, nothing pushed), then pushes by rsync the night copy of the project (top of main, `.git` and submodules) and the tool of the version of PC3. On PC2 the pass lays the tooling down, plays the full pass and the tests out of the poste in tranches (`--tranche i/n`), then the measures, under its own reservation (8 threads and 12 GB at most, the arbiter of PC3 not covering PC2) read again before each tranche (fifteen minutes of wait at most, then 75, never red), without any secret (no session of claude, no token); its work stays under 20 GB and, with its copy, is removed at the end, even interrupted, while its state and verdict (`passes/<id>/`) stay until the `lancer` of the next night, which sweeps those of past nights. `entree.md` (§3.1, §3.3, §4.1), `installation.md` (§4.3, §5.3) and `machine.md` (§5.2) say it. **Action for projects**: none; the owner of PC2 installs the frame at the version of the poste.
|
|
44
|
+
|
|
45
|
+
- **A package named whole by `npm test -- <package>` plays under the hash of the complete pass, in cargo, python and c** (grillhouse-3uv.315): the final pass of a circuit replayed the tests of a cargo or python package instead of reading them from the cache (48, 58 and 88 min per ticket on synthub-server), because the controls put the absolute path of the package in `GRILLHOUSE_TESTS`, which the hash of `test:unit` counts, and the final pass leaves it unset; the path also carried the folder of the copy, so a result never served from one copy to another. The rule is now held once, in the core (`lancerEntiersEtFichiers`, `tests.md` §5.4): a package named whole plays in a run whose variable carries no path, a file in a run of its own, as the typescript module does; the modules cargo, python and c call it and hold no rule of their own. A call that mixes a whole package and a file now makes two Turborepo runs. **Action for projects**: none.
|
|
46
|
+
|
|
47
|
+
- **The night plays its part of PC2 by ssh from PC3** (grillhouse-3uv.300.2): the workflow `nuitDePc2` keeps its name and, for new histories (`patched('nuit-de-pc2-par-ssh')`), plays the new activity `jouerLaNuitDePc2` (`src/temporal/nuits/pc2.ts`) instead of dispatching `nuit.yml`: for each wired project of the register it starts the pass on PC2 (`ssh <alias> lancer <projet> <identifiant>`, the alias being `GRILLHOUSE_NUIT_PC2_HOTE` of `nuit.env`), follows it once a minute with a heartbeat (`etat`), reads its verdict (`verdict`), checks it against its schema (JSON, 256 KiB at most, no other key, task names among those the project declares) and writes it to `nuit/verdict-pc2`, giving `{ code, tranches }`. Only the verbs `lancer`, `etat`, `verdict` and arguments of `[a-z0-9-]` leave; what PC2 returns is data, never executed. PC2 unreachable after three tries, a cut connection or the closing delay (twelve hours) passed is 75 with its reason (« PC2 injoignable », « connexion perdue », « verdict illisible »), the previous verdict kept, nothing replayed on the poste; a retry of the same night (same id, Paris date) attaches the pass already started. Without a host set, nothing starts on PC2. Histories in flight replay the old child `declenchementDePc2` (`gh workflow run`), left in place until the removal ticket. **Action for projects**: none.
|
|
48
|
+
|
|
49
|
+
- **The night of PC2 is driven from PC3 by ssh, without GitHub** (grillhouse-3uv.300.1; documents only, the code follows in the next tickets): `entree.md` (§3.1, §3.3, §4.1, §4.2, §5.3, §6, §7, §9.1), `machine.md` (§3.3, §5.1) and `installation.md` (§3.3, §4.3, §4.4, §5.3) now describe the part of PC2 as an activity of a PC3 worker that starts the pass on PC2 through ssh (account `grillhouse-nuit`, key limited to the night command, alias `pc2-nuit`), follows it with a heartbeat, and brings back its verdict: one pass per night, identified by the Paris date, a retry attaches the pass already started, nothing is replayed on PC3 and no tunnel opens. PC2 plays the full pass without the `@poste` tests; PC3 plays the `@poste` tests and the measures that depend on them. When ssh fails the part is « à repasser » (75) with a reason (« PC2 injoignable », « connexion perdue », « verdict illisible »), the previous verdict is kept. The verdict and the outputs from PC2 are untrusted data: a JSON checked by a schema, of bounded size, never executed on PC3. The « Repli de la nuit » component, its `gh` reads and the `nuit.yml` flow are removed from the documents; the account, its limits, its key and the alias are set by the owner of the host, outside the frame, and the installation checks them without creating them. **Action for projects**: none yet; the migration that removes the marked `nuit.yml` comes with the code.
|
|
50
|
+
|
|
51
|
+
- **The circuit gives a file written out of the rule of a role back to its state before the session** (grillhouse-3uv.313): the report said « put each back to its state before the session » without saying where that state is, and a relaunched testwriter left the developer's code changed for three sessions (synthub-server, SH-cgi.33.4, SH-6ly.13). In a copy, the circuit now restores each faulty file itself from the git object the lot keeps (`avant`), writes the gesture at the ticket with the file and the content the session had written in the journal; it restores only a file still as the faulty session left it (`juge`), so a file another role rewrote since is neither blamed nor overwritten; on the main tree it restores nothing. The step goes back to its author only for a file the circuit did not give back, so the sheet of the testwriter that sends the red back is followed. `circuit.md` §5.5 and `machine.md` §5.5 say it. **Action for projects**: none.
|
|
52
|
+
|
|
53
|
+
- **The night test of the passes of the machine is removed** (grillhouse-j9m.12): `tests/temporal/passes-de-la-machine.nuit.spec.ts` reserved 28 GB on a trial machine that announced 16 free, and one of its cases waited an hour in a synchronous call that the Vitest timeout does not interrupt; the night of 2026-12-02 stayed frozen. The owner decided it is removed, neither tuned nor replaced; the hold of the reservation stays proved by `tests/unit/passe-sous-l-arbitre.spec.ts`. **Action for projects**: none.
|
|
54
|
+
|
|
55
|
+
- **The time benches of Rust play on dedicated cores** (grillhouse-3uv.301): `tests-de-nuit` of a Rust project played its benches (`tests/it_budget`) in the same pass as its night tests, on no dedicated cores, after a wait of one minute at most for the rest of the machine; synthub-server had 2 benches red on 2026-12-01 while three circuits held places. The benches of a pass (every crate) now play together in one measure part, « Mesures de nuit », on the dedicated cores (`avecLaPasse` with `mesure`, as the night of TypeScript), after the night tests; `tests-de-nuit --mesures` plays them alone, `--hors-du-poste` none, and a path that names a bench plays it in that part too. A bench red under load follows the common rule (75, wait for rest, one replay): the module no longer reads the pressure (`sousCharge`) nor waits for rest (`GRILLHOUSE_ATTENTE_REPOS_MS` is removed; `GRILLHOUSE_PRESSION_CPU` stays the datum of trial the common pass reads), and `attendreLeRepos` is no longer exported by the core to the modules. An arbiter that does not answer refuses the benches, named. **Action for projects**: none.
|
|
56
|
+
|
|
57
|
+
- **The night on PC2 starts at 01:45 by the frame, not by the schedule of GitHub, and the poste replays nothing of it** (grillhouse-3uv.201): GitHub started the schedules of this repository 7 h 30 to 8 h 30 late, so the night of PC2 missed its slot. `grillhouse nuit --planifier` now also creates or updates a second schedule of the machine, every day at 01:45 Paris time (`Europe/Paris`, whatever `--heure`; a missed start taken within 2 h only), which dispatches `nuit.yml` (`gh workflow run`) for each project of the register whose Nuit flow plays on PC2, once a night (the id of the run carries the date in Paris, and no start is made when a run exists since the start of the slot); a failed dispatch is written with its reason in the journal of the night of the project and in the register, as a skip. The flow `nuit.yml` of the repository and of the project template keeps `workflow_dispatch` as its only trigger. The night of the poste no longer replays a tranche or the measures of PC2 (the fallback on PC3 is removed, `choisirLeRepli` has no `pc3` part): a tranche not started, interrupted or still running, a flow with no run created since the start of the slot (« aucun passage créé »), and the measures of the flow likewise, leave the part of PC2 « à repasser » (75), each with its reason, which the verdict of the morning reads (`lireLesRaisonsAPasser`); a tranche finished on PC2 keeps its verdict. The run read is the one of the slot, whatever its commit. A poste off during the slot starts nothing. **Action for projects**: update, then `npx grillhouse nuit --planifier` on the poste; the templates are rewritten by the update, no migration.
|
|
58
|
+
|
|
59
|
+
- **The night plays the tests of a cargo, python or C project for real** (grillhouse-3uv.312): `verifier --force`, which the night runs (`scripts/nuit.sh`), was read as a complete pass by the module typescript alone; the modules cargo, python and c played it from the Turborepo cache (« FULL TURBO »), so the mark of a green night did not prove the day's tests had replayed. One function, `passeComplete` of `scripts/taches-du-graphe.mjs` (`--tout` or `--force` among the arguments of `verifier`), answers « is the pass complete? » for the four modules, and the request to replay passed to `testsCibles` is the same for both flags. **Action for projects**: none beyond the update.
|
|
60
|
+
|
|
61
|
+
- **Each step has its ceiling of cores and memory, and the watch of the memory is the arbiter's** (grillhouse-j9m.8): the group of each step, session or pass, carries a ceiling (`MemoryMax`, `CPUQuota`) equal to the maximum of its phase's line in the table of consumptions plus a quarter, within the budget (a phase without a line: its starting reservation plus a quarter); no global ceiling takes its place, and the system cuts a step that passes it. The watch of the memory lives at the arbiter, on three levels (alert, threat, last resort) for every step: `scripts/garde-de-la-memoire.mjs`, its witness (`MEMOIRE_COUPEE`) and its callers are removed, and a pass no longer cuts itself. The free cores are read on the idle share of `/proc/stat` over the last ten seconds: the `charge` field of the machine's measure keeps its name and is the cores occupied, and `loadavg` is no longer read. The steps of overbooking (1, 1.2, 1.5) multiply the memory of the budget at admission; one step down on an alert or a stop for lack of memory, one up after three days without either, the change, its instant and its reason in the view and the journal of states; the cores are not overbooked. `machine.md` (§3, §5.2, §5.3, §9.1) and `docs/ARCHITECTURE.md` §2.3 say the ceiling per step. The table of consumptions gains `limiteCoeurs` per phase.
|
|
62
|
+
|
|
63
|
+
- **A verification by hand registers no tree; the rescue way and the rise alone do** (grillhouse-j9m.3, absorbs grillhouse-3uv.196): `npm run verifier` green keeps its tree only as the last green of its branch and says « arbre non inscrit »; `npm run verifier -- --secours <ticket>` registers the tree of the working directory (refused for a closed ticket, without the `direct` label or without the failure written by `npx grillhouse direct --panne`) and writes it at the ticket; the rise registers the tree of its commit. The push guard names its cause and these two ways. Action for the projects: a push to main after a verification by hand is now refused; use the final pass of the queue, `--secours <ticket>` for a failure of the engine, or `npx grillhouse maj <x.y.z>` (SyntHub pushed this way).
|
|
64
|
+
|
|
65
|
+
- **A circuit holds one place, kept by the arbiter** (grillhouse-j9m.7): the place of a circuit was counted twice, the limit of the project by the queue of the tickets and the ceiling of the machine by the arbiter. The queue now gives the arbiter all the tickets that start, the limit of the project (`max`) and the circuits the server lists alive (`vivants`), and the arbiter alone counts the limit and the ceiling on the places it holds. A circuit that steps aside (a question to the owner, a question reported, a wait for another task, project or the night) gives its place back by the new signal `rendreSaPlace` (`{ racine, ticket }`); keeping it is sending nothing. The rule of what keeps and what gives back is `placeDuCircuit` (`scripts/place-du-circuit.mjs`, circuit.md §5.4), and the activities `circuitsDeLaLimite` and `circuitsEnPause` of the queue are removed. A place is no longer purged by age (`PERIME_MS`, `vu`): it goes at the end of its circuit's workflow (`rendreSaPlace`) or, as a safety net, at the next wake of the queue (60 s at most), which gives back every place of the project the server no longer lists alive. The queue's new path is versioned (`patched('place-unique-de-l-arbitre')`, the circuit's `patched('place-unique-du-circuit')`); the old markers play for a history recorded before, and a ticket removes them once drained. **Action for projects**: none.
|
|
66
|
+
|
|
67
|
+
- **Every pass asks its reservation of the arbiter, and the parts in files and `grillhouse.part` are removed** (grillhouse-j9m.6): `avecLaPasse` asks the arbiter for the cores and the memory the table of the consumptions gives for the phase of the pass (3 cores and the memory floor by default), in verification, the queue, the night and the four languages, and gives them back at its end; under CI, or when a reservation is already held (`GRILLHOUSE_PLACE_TENUE`), nothing is asked, and a pass of the sort « Montée » is exempt from the closure. An arbiter that is down refuses the pass, naming the arbiter (code 1). Passes enter in arrival order only: the "cadre d'abord" rank (`rangDeLaMesure`), the machine lock (`verrou-de-machine.mjs`), the parts directory and its lock (`GRILLHOUSE_PARTS_DE_LA_MACHINE`) are removed, with `lireLesParts`, `partDeLaPasse` and the part files. The panel, `lireLaMesure` and `lireLaMachine` read the view of the arbiter alone, and show for each pass its project, ticket, sort, cores and memory; the per-pass progress and the live overrun signal are no longer shown. A measure of time keeps its dedicated cores (`grillhouse.mesure`) in addition to its reservation. The ceiling of the machine no longer reads `grillhouse.part`: under 20 peaks, a verification reserves 3 cores and 4 GB. The migration `part-retiree` removes the key `grillhouse.part` from the `package.json` of a project, and only it; replaying it changes nothing.
|
|
68
|
+
- **The circuit reserves each step of the arbiter, and a session takes no place nor part** (grillhouse-j9m.5): the workflow of the machine is the one arbiter of the cores and the memory. At each launch of a session of a role (with or without an envelope, the direct agent included) and at each step of the plan, the workflow of the circuit has its activity ask the arbiter the cores and the memory the table of the consumptions gives for the phase (`sousReservation`, `src/temporal/places/reservation.ts`), wait for the grant by the query of the request, and give the reservation back at the end of the step, failed, stopped or cancelled included. The arbiter judges a reservation on the closure, the turn of its rank, the budget in cores then in memory, and the measure of the machine less the reservation of the steps granted since less than thirty seconds (`refusDeLaReservation`, `FENETRE_DE_DEPART_MS`), and names the first condition missed with its figures. Removed: the place of a session (`prendrePlace` of `lancer`), the part of the envelope (`prendreUnePart` of `scripts/enveloppe/enveloppe.mjs`), the wait for 4 GB of free memory of a session and the spacing of ten seconds between two starts (`refusDeLaPlace`, `espacementDe`, `GRILLHOUSE_ESPACEMENT_MS`, `espacementMs` of the entry of the arbiter). Every session of a circuit now starts under the slice of the frame (`grillhouse.slice`), with or without an envelope. The new path is versioned (`patched`): a circuit in flight whose history holds no reservation plays as before, and grillhouse-c2j removes that old path. The passes played out of a circuit keep their parts in files (`prendreUnePart` of `scripts/places-de-la-machine.mjs`) until the next ticket of the chantier. Decided by the owner (2026-12-01): no version comes out between this ticket and the next.
|
|
69
|
+
|
|
70
|
+
- **The queue enters the tree judged without playing it again, a single final pass, no extra round after ACCEPTÉ** (grillhouse-j9m.2): main unchanged since the judgement, the queue enters the tree recorded in the registry of judged trees and plays no pass; main moved, it lays the lot on its tip again and asks the one act of judgement that 4.1 asks, the queue's own pass (`passeDeLaFile`, `o.passe`) being removed. A verdict ACCEPTÉ always sends the lot to 5.1, which refuses a tree absent from the registry or a copy changed since and sends it back to 4.1: the second final pass and its bound (`TOURS_DE_LA_PASSE_FINALE`, the memory key `toursDeLaPasseFinale`) are removed; circuits in flight keep their history through the marker `passe-finale-unique`. Step 5.2 is titled « File : entrée sur main », so one step only is called the final pass. The queue adds a line per entry to `.claude/file-des-entrees.jsonl` (`ticket`, `quand`, `mainABouge`), and `npx grillhouse bilan --file` gives the rate of replay (`rejeu : 3 entrées sur 12 (25 %)`), the measure that decides later whether the lots waiting are grouped. **Action for projects**: none beyond the update.
|
|
71
|
+
|
|
72
|
+
- **The register of consumptions holds a line per step, and a table of consumptions is recalculated every day** (grillhouse-j9m.4): each line names its `phase` (`<step>:<role>`, `<step>:passe`, `verification`, `tests`, `nuit`); each command a step of the circuit plays on its part, and each targeted run, now writes its line, marked `lourde: false` when the pass is not heavy, which leaves the part per sort and the figures per kind as they were. `grillhouse consommation` also shows the table per phase over the last eight days (`--ecrire`, `--actualiser`), written to `<git common dir>/grillhouse/table-des-consommations.json`: at 20 measures, the 95th percentile and the maximum plus a quarter, else the part of the project. `--planifier` creates the one schedule of the machine, every day at 23 h, which actualises the table of each project of the machine with the package that project installs; the machine's part of the montée plans it after the nights. The command now refuses an argument it does not know. No pass reads the table yet. **Action for projects**: none beyond the update; a project of the machine left at an earlier version is said in failure in the journal of the worker until it is updated.
|
|
73
|
+
|
|
74
|
+
- **The final pass commits the lot and records the tree it judges** (grillhouse-j9m.1): at 4.1 the circuit commits the lot in the copy of its ticket, on the tip of main, plays guards, typing and the tests the lot reaches against that commit, and records its tree in the registry of judged trees when the whole band is green. Every return of the reviewer replays the pass. At 5.1 `npx grillhouse integrer --ticket <id> [--message <file>]` requires the reviewer’s ACCEPTÉ, settled arbitrations and a commit whose tree is recorded; it writes the final message into that commit, labels the ticket `en-file` and removes the copy, and the queue replays it when main has moved. The integration copy, its lock, the three-way application of patches, and the options of `integrer` that took patches and a references file are removed, with the return of a lot that « no longer applies » at 5.1. **Action for projects**: none beyond the update; a script that calls `integrer` with patches must call it as above.
|
|
75
|
+
|
|
76
|
+
- **The merge of a CI or a night replayed reads the report of the last attempt of each tranche** (grillhouse-24i): a tranche replayed deposited a second artifact beside that of its failed attempt, and the merge downloaded the former one, so the run stayed red. The step « Reports of the tranche » now replaces the artifact (`overwrite: true`), in the flows of Grillhouse and in the CI and night flows a project receives. An attempt that deposits no report (job killed, no file) leaves the former artifact, and its job stays red. The test of the session's start on this repository now plays the script of the copy, without the install of the published version, which outran the 60 s of the hook on a new runner. **Action for projects**: none beyond the update.
|
|
77
|
+
|
|
78
|
+
- **The developer and the direct agent load the architect's skill** (grillhouse-3uv.306): their sessions list and may load `grillhouse:architecte`, which the Skill tool refused. Their skills ask them to load it, for its work of bringing a document into conformity, when their ticket carries the owner's decision that changes a prescriptive document; without that decision written at the ticket, they touch no prescriptive document and raise the tension to the supervisor by their sheet. **Action for projects**: none beyond the update.
|
|
79
|
+
|
|
80
|
+
- **A declared milestone waits for 15 minutes of silence on both sides** (grillhouse-3uv.305): a session of supervision was compacted during an exchange with the owner, one minute after its answer, at a milestone it had just declared, and the exchange lost what it carried. Decided by the owner (2026-12-01): a session of supervision is never compacted during an exchange with him. `superviseur --renouveler` now gives the message of resumption only when a quiet stop follows the declaration and both that stop and the last message of the owner are at least 15 minutes old; until then the milestone stays due. A message of the owner later than the declaration still cancels it, and the renewal after 55 minutes of idleness does not change. **Action for projects**: none beyond the update.
|
|
81
|
+
|
|
9
82
|
## [0.54.1] - 2026-12-01
|
|
10
83
|
|
|
11
84
|
- **The plugins read whatever the size of the machine's list, and the entries of removed copies go** (grillhouse-3uv.299): `claude plugin list --json` answers the entries of every project of the account (1 082 952 bytes, 2 473 entries, 2026-11-30), past the 1 MiB buffer of `spawnSync`: `npx grillhouse greffons`, the montée and the session start said the reading failed. `claude` filters none of that list, so a process of `scripts/greffons.mjs` now reads it as it comes and hands over the entries that install for the project alone; a failed reading says its cause (delay, signal, return code and what `claude` wrote). `npx grillhouse retirer-copie` removes the entries of scope local that name the removed copy (`greffons --oublier <copy>`), and the montée removes those whose folder is gone, saying how many in its report (`greffons --purger`; 1 120 paths on the machine, 2026-12-01).
|
|
@@ -14,8 +14,8 @@ on:
|
|
|
14
14
|
# A release plays the CI on the tagged commit before it publishes.
|
|
15
15
|
workflow_call:
|
|
16
16
|
|
|
17
|
-
# One run at a time on the runner of the project for this repository, the CI of the day
|
|
18
|
-
#
|
|
17
|
+
# One run at a time on the runner of the project for this repository, the CI of the day: a run that waits is never
|
|
18
|
+
# cancelled by the next one.
|
|
19
19
|
concurrency:
|
|
20
20
|
group: pc2
|
|
21
21
|
cancel-in-progress: false
|
|
@@ -149,6 +149,8 @@ jobs:
|
|
|
149
149
|
uses: actions/upload-artifact@v4
|
|
150
150
|
with:
|
|
151
151
|
name: tranche-${{ matrix.node-version }}-${{ matrix.tranche }}
|
|
152
|
+
# A job replayed replaces the artifact of its former attempt: the merge reads the last one.
|
|
153
|
+
overwrite: true
|
|
152
154
|
path: .vitest-reports/
|
|
153
155
|
include-hidden-files: true
|
|
154
156
|
# A pass with no test file writes none.
|
|
@@ -7,59 +7,22 @@
|
|
|
7
7
|
# the poste that the code supposes, a machine smaller than the poste. Such a fault is the
|
|
8
8
|
# installation's, not the product's.
|
|
9
9
|
#
|
|
10
|
-
# It starts
|
|
11
|
-
#
|
|
12
|
-
# lots: its red shows in GitHub, as the
|
|
13
|
-
#
|
|
10
|
+
# It starts by hand alone (workflow_dispatch), on the default branch. It starts on no schedule, no
|
|
11
|
+
# tag and no push to main, develop or a branch of a ticket, so a red pass never blocks the queue of
|
|
12
|
+
# the lots: its red shows in GitHub, as the CI's. Nothing in the frame waits for it, not the queue,
|
|
13
|
+
# not the release of the project.
|
|
14
14
|
#
|
|
15
|
-
#
|
|
16
|
-
# the schedule always starts, and its first job, `decision`, reads the last green pass of this
|
|
17
|
-
# workflow on the repository, whatever its event; when that pass is the commit of the current one,
|
|
18
|
-
# every job of verification is skipped. A search that fails judges nothing, and the pass plays. A red
|
|
19
|
-
# pass leaves no green, so the flow plays again the next day on the same commit. A tag or a manual
|
|
20
|
-
# start reads nothing and always plays.
|
|
21
|
-
#
|
|
22
|
-
# Every job plays on GitHub's ubuntu-latest, never on the repository's variable RUNNER: the point is
|
|
15
|
+
# The job plays on GitHub's ubuntu-latest, never on the repository's variable RUNNER: the point is
|
|
23
16
|
# a machine that is not the project's. Linux and Node 26 alone, as the other workflows of the frame:
|
|
24
17
|
# a project that wants another system (macOS, ARM) takes this workflow for itself, by removing the
|
|
25
18
|
# mark of its first line; the update then leaves it as it is.
|
|
26
19
|
name: Machine vierge
|
|
27
20
|
|
|
28
21
|
on:
|
|
29
|
-
schedule:
|
|
30
|
-
- cron: '0 4 * * *'
|
|
31
|
-
push:
|
|
32
|
-
tags:
|
|
33
|
-
- 'v*'
|
|
34
22
|
workflow_dispatch:
|
|
35
23
|
|
|
36
24
|
jobs:
|
|
37
|
-
decision:
|
|
38
|
-
runs-on: ubuntu-latest
|
|
39
|
-
permissions:
|
|
40
|
-
actions: read
|
|
41
|
-
outputs:
|
|
42
|
-
saute: ${{ steps.lecture.outputs.saute }}
|
|
43
|
-
|
|
44
|
-
steps:
|
|
45
|
-
# The last green pass of this workflow, whatever its event: the same commit skips the pass.
|
|
46
|
-
# The current pass is not green yet, so it never reads itself.
|
|
47
|
-
- name: Last green pass
|
|
48
|
-
id: lecture
|
|
49
|
-
if: github.event_name == 'schedule'
|
|
50
|
-
env:
|
|
51
|
-
GH_TOKEN: ${{ github.token }}
|
|
52
|
-
run: |
|
|
53
|
-
dernier=$(gh run list --repo "$GITHUB_REPOSITORY" --workflow machine-vierge.yml --status success --limit 1 --json headSha --jq '.[0].headSha' || true)
|
|
54
|
-
if [ -n "$dernier" ] && [ "$dernier" = "${{ github.sha }}" ]; then
|
|
55
|
-
echo "saute=true" >> "$GITHUB_OUTPUT"
|
|
56
|
-
else
|
|
57
|
-
echo "saute=false" >> "$GITHUB_OUTPUT"
|
|
58
|
-
fi
|
|
59
|
-
|
|
60
25
|
verification:
|
|
61
|
-
needs: decision
|
|
62
|
-
if: ${{ needs.decision.outputs.saute != 'true' }}
|
|
63
26
|
runs-on: ubuntu-latest
|
|
64
27
|
|
|
65
28
|
strategy:
|
|
@@ -45,9 +45,6 @@ Please be respectful and constructive in all interactions. We welcome contributo
|
|
|
45
45
|
# Install dependencies
|
|
46
46
|
npm install
|
|
47
47
|
|
|
48
|
-
# Build the project
|
|
49
|
-
npm run build
|
|
50
|
-
|
|
51
48
|
# Run tests to verify setup
|
|
52
49
|
npm test
|
|
53
50
|
```
|
|
@@ -56,8 +53,6 @@ npm test
|
|
|
56
53
|
|
|
57
54
|
| Command | Description |
|
|
58
55
|
|---------|-------------|
|
|
59
|
-
| `npm run dev` | Start development mode with watch |
|
|
60
|
-
| `npm run build` | Build for production |
|
|
61
56
|
| `npm test` | Run test suite |
|
|
62
57
|
| `npm run lint` | Check code style |
|
|
63
58
|
| `npm run lint:fix` | Fix code style issues |
|
|
@@ -1,115 +1,15 @@
|
|
|
1
1
|
# Project Name
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@your-scope/project-name)
|
|
4
|
-
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[](https://nodejs.org)
|
|
6
|
-
[](https://github.com/your-username/project-name/actions/workflows/ci.yml)
|
|
7
|
-
|
|
8
3
|
A brief description of what this project does and who it's for.
|
|
9
4
|
|
|
10
|
-
## Features
|
|
11
|
-
|
|
12
|
-
- Feature 1
|
|
13
|
-
- Feature 2
|
|
14
|
-
- Feature 3
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
# Using npm
|
|
20
|
-
npm install @your-scope/project-name
|
|
21
|
-
|
|
22
|
-
# Using yarn
|
|
23
|
-
yarn add @your-scope/project-name
|
|
24
|
-
|
|
25
|
-
# Using pnpm
|
|
26
|
-
pnpm add @your-scope/project-name
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Quick Start
|
|
30
|
-
|
|
31
|
-
```typescript
|
|
32
|
-
import { something } from '@your-scope/project-name';
|
|
33
|
-
|
|
34
|
-
// Example usage
|
|
35
|
-
const result = something();
|
|
36
|
-
console.log(result);
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Usage
|
|
40
|
-
|
|
41
|
-
### Basic Usage
|
|
42
|
-
|
|
43
|
-
```typescript
|
|
44
|
-
// Basic example
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Advanced Usage
|
|
48
|
-
|
|
49
|
-
```typescript
|
|
50
|
-
// Advanced example
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Configuration
|
|
54
|
-
|
|
55
|
-
### Environment Variables
|
|
56
|
-
|
|
57
|
-
| Variable | Description | Default |
|
|
58
|
-
| ---------- | ----------- | --------- |
|
|
59
|
-
| `VAR_NAME` | Description | `default` |
|
|
60
|
-
|
|
61
|
-
### Configuration File
|
|
62
|
-
|
|
63
|
-
Create a `.config.json` file in your project root:
|
|
64
|
-
|
|
65
|
-
```json
|
|
66
|
-
{
|
|
67
|
-
"option1": "value1",
|
|
68
|
-
"option2": "value2"
|
|
69
|
-
}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## API Reference
|
|
73
|
-
|
|
74
|
-
### `functionName(param)`
|
|
75
|
-
|
|
76
|
-
Description of the function.
|
|
77
|
-
|
|
78
|
-
**Parameters:**
|
|
79
|
-
|
|
80
|
-
- `param` (Type): Description
|
|
81
|
-
|
|
82
|
-
**Returns:**
|
|
83
|
-
|
|
84
|
-
- `ReturnType`: Description
|
|
85
|
-
|
|
86
|
-
**Example:**
|
|
87
|
-
|
|
88
|
-
```typescript
|
|
89
|
-
const result = functionName(param);
|
|
90
|
-
```
|
|
91
|
-
|
|
92
5
|
## Development
|
|
93
6
|
|
|
94
|
-
### Prerequisites
|
|
95
|
-
|
|
96
|
-
- Node.js >= 18.0.0
|
|
97
|
-
- npm, yarn, or pnpm
|
|
98
|
-
|
|
99
7
|
### Setup
|
|
100
8
|
|
|
101
9
|
```bash
|
|
102
|
-
# Clone the repository
|
|
103
10
|
git clone https://github.com/your-username/project-name.git
|
|
104
11
|
cd project-name
|
|
105
|
-
|
|
106
|
-
# Install dependencies
|
|
107
12
|
npm install
|
|
108
|
-
|
|
109
|
-
# Build
|
|
110
|
-
npm run build
|
|
111
|
-
|
|
112
|
-
# Run tests
|
|
113
13
|
npm test
|
|
114
14
|
```
|
|
115
15
|
|
|
@@ -117,8 +17,6 @@ npm test
|
|
|
117
17
|
|
|
118
18
|
| Script | Description |
|
|
119
19
|
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
120
|
-
| `npm run build` | Compile TypeScript to JavaScript |
|
|
121
|
-
| `npm run dev` | Run in development mode with watch |
|
|
122
20
|
| `npm test` | Build, then run the tests (Turborepo; an unchanged task is replayed from its cache); `npm test -- <paths>` plays the paths written from the root, each in its package, its tests played again once what they import changes |
|
|
123
21
|
| `npm run test:forcer` | The same, every task run for real; with paths, the tests named run for real, their builds replayed from the cache |
|
|
124
22
|
| `npm run verifier` | Build, then run the frame's guards, the project's own (`gardes`) and the tests beside each other (what the integration and the CI run), measured against the last green: a package played again runs the tests Vitest relates to the files changed since; 0 green, 1 red (a delay past included; the measures of time play at night); 75 when the wait for the lock of the machine, or for room under /tmp, reaches its bound |
|
|
@@ -126,27 +24,3 @@ npm test
|
|
|
126
24
|
| `npm run verifier -- --gardes` | The guards alone (the frame's and the project's), same verdict: what the reviewer runs on the ticket's copy |
|
|
127
25
|
| `npm run lint` | Run ESLint |
|
|
128
26
|
| `npm run format` | Format code with Prettier |
|
|
129
|
-
|
|
130
|
-
## Contributing
|
|
131
|
-
|
|
132
|
-
Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
133
|
-
|
|
134
|
-
1. Fork the repository
|
|
135
|
-
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
136
|
-
3. Commit your changes (`git commit -m 'feat: add amazing feature'`)
|
|
137
|
-
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
138
|
-
5. Open a Pull Request
|
|
139
|
-
|
|
140
|
-
## License
|
|
141
|
-
|
|
142
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
143
|
-
|
|
144
|
-
## Acknowledgments
|
|
145
|
-
|
|
146
|
-
- [Dependency 1](link) - Description
|
|
147
|
-
- [Dependency 2](link) - Description
|
|
148
|
-
|
|
149
|
-
## Support
|
|
150
|
-
|
|
151
|
-
- Create an [Issue](https://github.com/your-username/project-name/issues) for bug reports
|
|
152
|
-
- Start a [Discussion](https://github.com/your-username/project-name/discussions) for questions
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
# Source files (we publish compiled dist/)
|
|
2
|
-
src/
|
|
3
|
-
|
|
4
1
|
# Tests
|
|
5
2
|
tests/
|
|
6
3
|
**/*.test.ts
|
|
@@ -19,10 +16,8 @@ tsconfig*.json
|
|
|
19
16
|
.eslintrc*
|
|
20
17
|
.prettierrc*
|
|
21
18
|
vitest.config.*
|
|
22
|
-
ecosystem.config.*
|
|
23
19
|
|
|
24
|
-
# Documentation
|
|
25
|
-
deployment/
|
|
20
|
+
# Documentation
|
|
26
21
|
docs/internal/
|
|
27
22
|
|
|
28
23
|
# Local scripts
|
|
@@ -5,32 +5,16 @@
|
|
|
5
5
|
"author": "Your Name <your.email@example.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"types": "dist/index.d.ts",
|
|
10
|
-
"bin": {
|
|
11
|
-
"project-name": "dist/index.js"
|
|
12
|
-
},
|
|
13
8
|
"scripts": {
|
|
14
|
-
"build": "tsc -p tsconfig.build.json",
|
|
15
|
-
"watch": "tsc -p tsconfig.build.json --watch",
|
|
16
|
-
"dev": "tsx watch src/index.ts",
|
|
17
|
-
"start": "node dist/index.js",
|
|
18
9
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
19
10
|
"test": "grillhouse tests",
|
|
20
11
|
"test:watch": "vitest",
|
|
21
12
|
"test:coverage": "vitest run --coverage",
|
|
22
|
-
"lint": "eslint
|
|
23
|
-
"lint:fix": "eslint
|
|
24
|
-
"format": "prettier --write
|
|
25
|
-
"format:check": "prettier --check --cache --cache-location .cache-outils/prettier/.prettiercache \"
|
|
26
|
-
"prepare": "grillhouse hooks
|
|
27
|
-
"prepublishOnly": "npm run lint && npm run typecheck && npm run verifier && npm run build",
|
|
28
|
-
"daemon:start": "pm2 start ecosystem.config.cjs",
|
|
29
|
-
"daemon:stop": "pm2 stop project-name",
|
|
30
|
-
"daemon:restart": "pm2 restart project-name",
|
|
31
|
-
"daemon:logs": "pm2 logs project-name",
|
|
32
|
-
"daemon:status": "pm2 status",
|
|
33
|
-
"daemon:delete": "pm2 delete project-name",
|
|
13
|
+
"lint": "eslint tests --cache --cache-location .cache-outils/eslint/.eslintcache --ext .ts,.js,.mjs --no-error-on-unmatched-pattern",
|
|
14
|
+
"lint:fix": "eslint tests --ext .ts,.js,.mjs --fix --no-error-on-unmatched-pattern",
|
|
15
|
+
"format": "prettier --write --no-error-on-unmatched-pattern \"tests/**/*.{ts,js,mjs}\"",
|
|
16
|
+
"format:check": "prettier --check --no-error-on-unmatched-pattern --cache --cache-location .cache-outils/prettier/.prettiercache \"tests/**/*.{ts,js,mjs}\"",
|
|
17
|
+
"prepare": "grillhouse hooks",
|
|
34
18
|
"interfaces": "grillhouse index-interfaces",
|
|
35
19
|
"grillhouse:gardes": "grillhouse gardes-du-cadre",
|
|
36
20
|
"frontieres": "grillhouse frontieres",
|
|
@@ -57,19 +41,9 @@
|
|
|
57
41
|
"url": "https://github.com/your-username/project-name/issues"
|
|
58
42
|
},
|
|
59
43
|
"homepage": "https://github.com/your-username/project-name#readme",
|
|
60
|
-
"files": [
|
|
61
|
-
"dist",
|
|
62
|
-
"README.md",
|
|
63
|
-
"LICENSE",
|
|
64
|
-
"docs"
|
|
65
|
-
],
|
|
66
44
|
"engines": {
|
|
67
45
|
"node": ">=26.0.0"
|
|
68
46
|
},
|
|
69
|
-
"dependencies": {
|
|
70
|
-
"dotenv": "^16.4.0",
|
|
71
|
-
"zod": "^3.22.0"
|
|
72
|
-
},
|
|
73
47
|
"devDependencies": {
|
|
74
48
|
"@microsoft/api-extractor": "7.59.2",
|
|
75
49
|
"@microsoft/api-extractor-model": "7.33.13",
|
|
@@ -82,7 +56,6 @@
|
|
|
82
56
|
"eslint": "^8.57.0",
|
|
83
57
|
"jsonc-parser": "3.3.1",
|
|
84
58
|
"knip": "^6.41.0",
|
|
85
|
-
"pm2": "^5.4.2",
|
|
86
59
|
"prettier": "^3.2.0",
|
|
87
60
|
"tsx": "^4.7.0",
|
|
88
61
|
"turbo": "2.11.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
// The typing of the project
|
|
3
|
-
//
|
|
2
|
+
// The typing of the project and its tests, nothing emitted (`npm run typecheck`, which
|
|
3
|
+
// `npm run verifier` plays). "*.cjs" keeps the include non-empty in a project with no code yet.
|
|
4
4
|
"compilerOptions": {
|
|
5
5
|
/* Language and Environment */
|
|
6
6
|
"target": "ES2022",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"allowJs": true,
|
|
16
16
|
"checkJs": false,
|
|
17
17
|
|
|
18
|
-
/* Emit: none
|
|
18
|
+
/* Emit: none */
|
|
19
19
|
"noEmit": true,
|
|
20
20
|
|
|
21
21
|
/* Interop Constraints */
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
/* Completeness */
|
|
35
35
|
"skipLibCheck": true
|
|
36
36
|
},
|
|
37
|
-
"include": ["
|
|
37
|
+
"include": ["tests/**/*", "*.ts", "*.cjs"],
|
|
38
38
|
"exclude": ["node_modules", "dist"]
|
|
39
39
|
}
|
|
@@ -14,13 +14,14 @@ module.exports = (async () => {
|
|
|
14
14
|
// Include patterns
|
|
15
15
|
include: ['src/**/*.{test,spec}.{ts,js,mjs}', 'tests/**/*.{test,spec}.{ts,js,mjs}'],
|
|
16
16
|
|
|
17
|
+
// A project with no test yet passes
|
|
18
|
+
passWithNoTests: true,
|
|
19
|
+
|
|
17
20
|
// Coverage configuration
|
|
18
21
|
coverage: {
|
|
19
22
|
provider: 'v8',
|
|
20
23
|
reporter: ['text', 'json', 'html'],
|
|
21
24
|
reportsDirectory: './coverage',
|
|
22
|
-
include: ['src/**/*.{ts,js,mjs}'],
|
|
23
|
-
exclude: ['src/**/*.{test,spec}.{ts,js,mjs}', 'src/**/types.ts', 'src/**/index.{ts,js}'],
|
|
24
25
|
thresholds: {
|
|
25
26
|
lines: 80,
|
|
26
27
|
functions: 80,
|
package/charte/tests.md
CHANGED
|
@@ -23,6 +23,20 @@ seuls une mesure de temps et un test qui exige de la charge prennent des cœurs
|
|
|
23
23
|
ne touche (l'étiquette `exclusive` de Bazel, donnée aux seuls tests qui l'exigent, non à la
|
|
24
24
|
suite). Ainsi la charge d'un test reste la sienne, et le jour garde sa machine.
|
|
25
25
|
|
|
26
|
+
**Aucun test ne lit un document ni le code source** (« Change-Detector Tests Considered Harmful »,
|
|
27
|
+
Google : un test vérifie un comportement par son interface) : un test n'ouvre ni un `.md` (une
|
|
28
|
+
charte, une compétence, un document d'architecture) ni un fichier de code du dépôt (une source, un
|
|
29
|
+
script) pour en comparer le texte ; il appelle ce que le module publie. Ne sont pas visés un gabarit
|
|
30
|
+
livré au projet (`templates/`), une donnée, une configuration ou un flux de CI, une référence
|
|
31
|
+
engendrée, un fichier que le test écrit lui-même dans un dossier temporaire. Une lecture permise
|
|
32
|
+
porte en tête du test l'étiquette `@lit-source: <raison>` (`# @lit-source: <raison>` en Python),
|
|
33
|
+
comme `@poste` ; une étiquette sans raison est refusée. La garde `lectures-des-tests` de chaque
|
|
34
|
+
module de langage refuse le test qui lit ainsi, et sa dette est gelée (le document des tests, §3.4).
|
|
35
|
+
**Écart à la référence** : l'article de Google vise le test qui détecte un changement de code ; la
|
|
36
|
+
règle va plus loin et refuse aussi la lecture d'un document, qui se casse à la reformulation sans
|
|
37
|
+
prouver aucun comportement. Ainsi un test casse quand un comportement change, non quand un texte se
|
|
38
|
+
reformule.
|
|
39
|
+
|
|
26
40
|
**Un test vit dans un fichier à lui**, jamais dans un fichier de code, reconnu au nom ou au
|
|
27
41
|
dossier qu'attend l'outil de son langage : près de son module pour un test unitaire (en Rust, un
|
|
28
42
|
`tests.rs` ou un dossier `tests/` sous `src/`, comme le veut le contrôle tidy de rustc), dans le
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/** The measures a sort or a phase needs in the register before they size its part. */
|
|
2
|
+
export declare const RELEVES_MIN = 20;
|
|
3
|
+
/** The percentile of the measures that a pass reserves. */
|
|
4
|
+
export declare const CENTILE_DE_LA_RESERVATION = 95;
|
|
5
|
+
/** The percentile `rang` (nearest rank) of `valeurs`, at least one. */
|
|
6
|
+
export declare function centile(valeurs: readonly number[], rang: number): number;
|
|
6
7
|
/** The memory of a part, in bytes: what the admission counts and where the group cuts. */
|
|
7
8
|
export interface MemoireDeLaSorte {
|
|
8
9
|
reservation: number;
|
|
9
10
|
limite: number;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
* The reservation and the limit
|
|
13
|
-
*
|
|
14
|
-
* maximum plus a quarter. Null under 20 peaks: the part of the project then stands for both.
|
|
13
|
+
* The reservation and the limit drawn from the `pics`, each within the memory of the budget: their
|
|
14
|
+
* 95th percentile (nearest rank) and their maximum plus a quarter. Null under 20 peaks.
|
|
15
15
|
*/
|
|
16
|
-
export declare function
|
|
16
|
+
export declare function memoireDesPics(pics: readonly number[], budget: number): MemoireDeLaSorte | null;
|