@roomi-fields/grillhouse 0.45.1 → 0.47.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/cadre/templates/c/package.json +19 -0
- package/cadre/templates/projet/.github/workflows/ci.yml +34 -49
- package/cadre/templates/projet/.github/workflows/machine-vierge.yml +101 -0
- package/cadre/templates/projet/CLAUDE.md +28 -5
- package/cadre/templates/projet/docs/agents/issue-tracker.md +1 -1
- package/charte.md +61 -23
- package/dist/temporal/circuit/appel.d.ts +7 -0
- package/dist/temporal/circuit/appel.js +17 -0
- package/dist/temporal/circuit/appel.js.map +1 -1
- package/dist/temporal/circuit/client.d.ts +28 -5
- package/dist/temporal/circuit/client.js +56 -13
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +16 -4
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +22 -2
- package/dist/temporal/circuit/contrat.js +76 -0
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +68 -11
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/file/activites.d.ts +2 -0
- package/dist/temporal/file/activites.js +7 -0
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +28 -18
- package/dist/temporal/file/contrat.js +8 -5
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.d.ts +1 -1
- package/dist/temporal/file/deroule.js +91 -42
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/tickets/activites.d.ts +1 -0
- package/dist/temporal/tickets/activites.js +37 -11
- package/dist/temporal/tickets/activites.js.map +1 -1
- package/dist/temporal/tickets/contrat.d.ts +14 -0
- package/dist/temporal/tickets/deroule.js +16 -3
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/docs/ARCHITECTURE.md +309 -128
- package/docs/INTERFACE.md +42 -22
- package/hooks/register.tsx +30 -0
- package/package.json +1 -1
- package/scripts/activites.mjs +60 -21
- package/scripts/arbres-juges.mjs +59 -0
- package/scripts/attente-a-l-arret.mjs +29 -52
- package/scripts/attente-au-tour.mjs +8 -26
- package/scripts/avancement.mjs +2 -38
- package/scripts/branche-de-nuit.mjs +14 -45
- package/scripts/ci-de-main.mjs +273 -0
- package/scripts/circuit.mjs +204 -64
- package/scripts/circuits-cles.d.mts +9 -0
- package/scripts/circuits-cles.mjs +38 -0
- package/scripts/coeurs-dedies.mjs +4 -3
- package/scripts/dernier-vert.mjs +78 -10
- package/scripts/enveloppe/travail-de-la-copie.mjs +5 -2
- package/scripts/etapes.mjs +7 -2
- package/scripts/faits-du-circuit.mjs +63 -28
- package/scripts/fichiers-nommes.mjs +55 -0
- package/scripts/file-des-tickets.d.mts +17 -0
- package/scripts/file-des-tickets.mjs +39 -0
- package/scripts/grillhouse-maj.mjs +20 -1
- package/scripts/integration/file.mjs +137 -592
- package/scripts/integration/integrer.mjs +10 -7
- package/scripts/langages/c/binaires.json +4 -0
- package/scripts/langages/c/binaires.mjs +83 -0
- package/scripts/langages/c/clang-format.mjs +62 -0
- package/scripts/langages/c/clang-tidy.mjs +93 -0
- package/scripts/langages/c/clang.mjs +42 -0
- package/scripts/langages/c/commandes.mjs +530 -0
- package/scripts/langages/c/composants.mjs +209 -0
- package/scripts/langages/c/exemples.mjs +250 -0
- package/scripts/langages/c/index-interfaces.mjs +77 -0
- package/scripts/langages/c/index.mjs +120 -0
- package/scripts/langages/c/lot.mjs +41 -0
- package/scripts/langages/c/mise-a-jour.mjs +70 -0
- package/scripts/langages/c/squelette.mjs +61 -0
- package/scripts/langages/c/verdict.mjs +99 -0
- package/scripts/langages/cargo/clippy.mjs +16 -9
- package/scripts/langages/cargo/commandes.mjs +7 -2
- package/scripts/langages/cargo/sccache.mjs +19 -6
- package/scripts/langages/typescript/tests.mjs +31 -5
- package/scripts/langages/typescript/turbo-des-paquets.mjs +67 -8
- package/scripts/langages/typescript/vitest-config/changements.mjs +32 -3
- package/scripts/langages/typescript/vitest-config/lances.mjs +16 -0
- package/scripts/langages-des-paquets.mjs +30 -2
- package/scripts/langages.mjs +1 -0
- package/scripts/limite-d-usage.mjs +88 -0
- package/scripts/mesure/avancement.mjs +1 -1
- package/scripts/migrations/0.47.0-ci-de-main.mjs +48 -0
- package/scripts/migrations.mjs +2 -2
- package/scripts/outils-cles.d.mts +13 -5
- package/scripts/outils-cles.mjs +157 -17
- package/scripts/passe-de-la-machine.mjs +26 -2
- package/scripts/places-de-la-machine.mjs +52 -6
- package/scripts/plafond-de-la-machine.d.mts +10 -2
- package/scripts/plafond-de-la-machine.mjs +39 -13
- package/scripts/reponses-du-circuit.d.mts +16 -0
- package/scripts/reponses-du-circuit.mjs +39 -3
- package/scripts/resultats.mjs +32 -11
- package/scripts/seances.mjs +211 -59
- package/scripts/session-start.sh +2 -11
- package/scripts/sortie.mjs +1 -1
- package/scripts/sous-commandes.mjs +5 -2
- package/scripts/superviseur.mjs +305 -295
- package/scripts/tableau.mjs +73 -45
- package/scripts/transitions.d.mts +22 -1
- package/scripts/transitions.mjs +111 -13
- package/scripts/workflows-du-cadre.mjs +21 -1
- package/skills/explorateur/SKILL.md +34 -13
- package/skills/grill/SKILL.md +6 -5
- package/skills/pitmaster/SKILL.md +33 -27
- package/skills/redacteur/references/documents-d-un-composant.md +1 -1
- package/skills/relecteur/SKILL.md +6 -0
- package/skills/testwriter/SKILL.md +4 -0
- package/scripts/ci-des-branches.mjs +0 -93
- package/scripts/migrations/0.33.0-ci-des-branches-de-ticket.mjs +0 -31
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.47.0] - 2026-11-21
|
|
10
|
+
|
|
11
|
+
- **A list of the server halves its page when the page is too large**: on 2026-11-21 a page of 100 circuits passed, by 3 kB, the 4 MB a gRPC message of the client takes; every reading of the circuits failed in every project (« Temporal ne répond pas » on the board), and the queues of the tickets of SyntHub and BPScript failed on it in the night, starting no ticket more. No size of page is safe for good, a memo having no bound of its own: the lists of the frame go by one function (`listerLesDeroules`), which asks for pages of 20 and starts again with pages of half the size when the client refuses one, down to one workflow a page. Action for projects: after the update, play `npx grillhouse temporal installer` (the worker takes the fix), and launch a ticket again if the queue of the tickets of the project had failed.
|
|
12
|
+
|
|
13
|
+
- **Format and lint of C: clang-format and clang-tidy** (grillhouse-3dr.8, follows the module `c`): `npx grillhouse binaires` installs uv (the version of the module python's `binaires.json`), clang-format 21.1.8 and clang-tidy 21.1.6 in a project with a `c` package, by `uv tool install <name>==<version>`. Two guards without debt join the module's list: `clang-format` refuses, by file, a `.c` or `.h` that `clang-format --dry-run --Werror` finds not conforming to the package's `.clang-format`; `clang-tidy` configures each package in `.build-cmake/<package>` (the directory of the build) and refuses each warning or error with its file, line and rule; a missing tool or configuration file is refused in one line, a failing cmake with its code. The skeleton of a `c` package writes `.clang-format` (LLVM, 100 columns) and `.clang-tidy` (`bugprone`, `cert`, `clang-analyzer`, `misc`, every warning an error); the envelope of an agent reads the installed tools; the CI of the project template installs uv as soon as a `CMakeLists.txt` exists. **Action for projects**: a project with `c` packages adds `.clang-format` and `.clang-tidy` to each (the skeleton's), and runs `npx grillhouse binaires`.
|
|
14
|
+
|
|
15
|
+
- **A lot enters main on its final pass, and the CI plays after, on main, by batches** : the CI of a lot lasted 17 min at the median on BPScript (16 at least, whatever the lot), 10 on Grillhouse and SyntHub, and BPScript has 700 tickets to treat, some 190 h of CI in the path of the tickets (decision of the owner, 2026-11-20; Grillhouse 3uv.121). As Google's TAP plays the touched tests before the submit and the whole suite after it, by batches of changes, the queue moves main onto the tree the final pass judged green, the lot laid on the tip of main (`npm run verifier`, measured against that tip; a lot whose main moved replays its pass before it enters), and no longer waits for any CI nor pushes `agent/<ticket>`: the step 5.2 is « File : passe finale, main ». The CI plays on main on an hourly schedule, once per batch (a first job `moved` skips the pass when main did not move since the last pass; a start by hand or a call of the release always plays), on the runner of the project. A red pass of the CI or of the clean-machine workflow alerts the supervisor with the lots entered since the last green, named by git, without stopping the queue; a CI that gh cannot read is the alert « CI de main non lue », never silence; the board and the opening of a session show the CI of main, its last green and its alert, and a red opens a defect ticket under `a-valider` for the owner, which names the red pass and the candidate lots (the search of the culprit is that ticket; a lot already closed stays closed). The pre-push hook refuses a commit whose tree neither the final pass nor the complete verification of a lot of the direct way judged (`.git/grillhouse/arbres-juges.json`), and asks no CI of a branch any more; the guard « the project listens to `agent/**` » and its migration are removed. The queue of Temporal keeps its former path for the executions in flight (`patched('passe-finale-de-main')`, the ticket grillhouse-3uv.131 retires it once drained). The final pass does not play what only the CI plays (other platforms, matrix of versions, workflows outside `npm run verifier`): a red of that kind is seen after the entry, an accepted gap to « Main reste vert ». **Action for projects**: run `npx grillhouse maj`, which writes the frame's CI on the hourly schedule and takes `agent/**` out of the workflows of the project (migration 0.47.0); a workflow of the project that still lists `agent/**` after it is for the project to read.
|
|
16
|
+
|
|
17
|
+
- **The lock of the supervisor names the process of the session** (grillhouse-3uv.134): under 0.46.0 no question of a circuit was pushed to any session of supervision (Grillhouse, BPScript, osc-bridge, SyntHub, OSD, seen by the owner on 2026-11-20). The opening took the lock for the first process above it that is not a shell, which is the hook of the greffon (`node crochet.mjs session-start`), gone at the end of the hook; the reading for the greffon, which gives its questions only to the session that holds the lock, gave nothing, exit 0. The lock now names the first process `claude` above the command, and a reading that finds the lock held by a process that is gone takes it over for its session: a session opened under 0.46.0 repairs itself at its next reading, without being relaunched. **Action for projects**: move the project's tool to this version (`npx grillhouse outil <version>`): the greffon runs the project's tool, and a project left on the tool 0.46.0 keeps the defect.
|
|
18
|
+
|
|
19
|
+
- **The frame gains a fourth language, `c`** (grillhouse-3dr.7, decision of the owner, 2026-11-20; the need: open-synth-descriptors' `osd-embed`, C99, small CTest tests on the poste): a package declared `c` in the column « Langage » is a folder whose `CMakeLists.txt` calls `project(<nom>`, `<nom>` the name of its row; its tests are the `tests/test_*.c`, each one executable and one CTest test, which the skeleton's `tests/CMakeLists.txt` takes by `file(GLOB … CONFIGURE_DEPENDS)`. CMake configures and compiles and CTest plays them in `.build-cmake/<package>` at the root, outside the package's tree (ignored by git, written by a session; `ctest` run directly is refused to a role that writes), the JUnit report CTest writes is kept as it is and read by file; a compiler error makes the build red, the typing replays the compilation, a test file CTest registers none of is red (« fichier de test non pris par CTest »). `npx grillhouse paquet <folder>` writes the C99 skeleton (`-Wall -Wextra -Wpedantic -Werror`, a static library) and `grillhouse maj` lays `templates/c/`. The guard of the languages refuses a folder that holds both a `Cargo.toml` and a `CMakeLists.txt` with `project(`, and a package whose `project()` name differs from its row's; the generator of `turbo.json` ranges each language by an explicit branch (a package c: its folder alone), an unknown language a named fault. No C++, cross-compilation, night test or format and lint of C yet. **Action for projects**: none; a project that declares `c` needs `cmake` and `ctest` on the poste, named when missing.
|
|
20
|
+
|
|
21
|
+
- **The greffon pushes the questions of the projects of the group too** (grillhouse-3uv.133): since 0.46.0 the session that supervises osc-bridge, open-synth-descriptors and synthhub from one project (`grillhouse.groupe`) received the questions of its own project alone, `superviseur --attendre`, which covered the two others, being removed. The reading for the greffon (`superviseur --relever`) now gives too, in the same message, the questions due and the ends of circuits of each other project of the group whose lock of the supervisor no other live session holds, under the name and the folder of that project, where its answers are played, each project keeping its own interval (`grillhouse.rappel`) and its own state. A neighbour another session supervises stays to that session. **Action for projects**: the greffon runs the project's tool (`grillhouse.outil`): a project still on a tool before 0.46.0 receives nothing from the greffon, and moves its tool (`npx grillhouse outil <version>`).
|
|
22
|
+
|
|
23
|
+
## [0.46.0] - 2026-11-20
|
|
24
|
+
|
|
25
|
+
- **A reader the plan sets apart stays verified at the checks, and enters the plan if it goes red** : BPScript's plan of bp-mono-vbwf.320.14.3 set apart `060-encoder`, `070-deriver` and `900-driver`, readers of what the ticket changed; the checks of the plan played only the plan's packages, so the final pass went red in them one layer at a time, each red stopping the circuit « hors du plan du ticket » (four stops, four passes of 10 to 13 min, 9.49 $; Grillhouse 3uv.128, decision of the owner, 2026-11-20). As Bazel and Google's TAP play the tests of every reverse dependency of a change, the checks of 3.1 now play, after the plan's packages, `npm test -- <package>` of each component the plan's sheet sets apart (`ecartes`, read from its last sheet) that plays tests, none twice, all in the same pass even when one is red. A red of a set-apart component, at the checks or the final pass, counts as the plan's: the circuit extends the plan to it without a stop, writes the extension at the ticket with its piece (the red and the reason of the setting apart, which it belies), and the red goes to the developpeur; a red in a package neither the plan nor the set-apart ones name still stops the circuit. The charter (« Tout se lit, le plan s'écrit ») and the explorateur's skill say it. **Action for projects**: none.
|
|
26
|
+
|
|
27
|
+
- **The default memory of a part has a floor** : the default memory, the largest measured peak plus a quarter (Grillhouse 3uv.126, unreleased), had no floor; a register of light passes alone (the guards, a pass of 50 ms: a peak of 16 Mo) gave the next pass a hard ceiling of 20 Mo, under which the kernel killed it where it could not swap — three tests of the cargo module red by turns on the CI machine (Grillhouse 3uv.132, 2026-11-20). The peak now raises the memory and never lowers it under a third of the budget, what it was before. **Action for projects**: none.
|
|
28
|
+
|
|
29
|
+
- **The default part of a pass is the budget divided by the places** : on the poste (budget 28 cores, 7 places) the default part was a third of the budget, 10 cores and 9.2 GB, so two passes ran at once for seven circuits, and a pass of 3 min 20 s waited 13 min with 8 cores free (Grillhouse 3uv.126, decision of the owner, 2026-11-20). Without `grillhouse.part`, a pass now takes in cores the budget divided by the places of the machine (`GRILLHOUSE_PLACES`, whole division, 2 at least: 4 on the poste), as the slots of Slurm and HTCondor share cores; its memory is the largest peak of the day passes in the project's register of consumptions plus a quarter (a third of the budget without a measure, the proportion of the cores a part had before the division, never the division), since the memory of a part is a hard ceiling that kills the pass above it, where the Vertical Pod Autoscaler takes a percentile. A part declared with cores only keeps that memory, with memory only the cores of the division. The night keeps the whole budget, and a measure of time without `grillhouse.mesure` asks the same new default cores. **Action for projects**: remove the `grillhouse.part` set for the trial of this change, unless the project means it.
|
|
30
|
+
|
|
31
|
+
- **A comment or a document changed selects no test** : a comment of `packages/000-forms/src/tables.ts` replayed 29 builds of 31 and 30 packages wrote « tous ses tests, le code d'un paquet dont il dépend » (BPScript, bp-mono-vbwf.320.14.2.8.1: 7 min 10 s of pass; Grillhouse 3uv.122). A pass of the day measured against a last green or a base of a lot now classes without effect (`sansEffet`, beside `fichiers` in the file of the changes) a document and a file of code whose isolated transpilation, comments removed, equals the last green's; such a file relates no test through Vitest's graph and plays no package whole, as Gradle's compile avoidance and Bazel's early cutoff replay nothing after an identical output. A file added, removed or whose transpilation fails stays a change; `grillhouse.lit`, `// @lit` and the tests that read the file by its path (out of a targeted pass) keep their rule; the complete pass and the night play everything. **Action for projects**: none.
|
|
32
|
+
|
|
33
|
+
- **A package named whole shares the cache of the complete pass** : `npm test -- packages/x` carried the path in the variable `GRILLHOUSE_TESTS`, so the checks of a circuit and its final pass hashed the same tree differently and replayed a long package twice (BPScript, bp-mono-vbwf.320.14.2.8.1, 900-driver 7 to 12 min; Grillhouse 3uv.125, after 3uv.122). Now the exact folder of a package of the graph (`packages/x`, `packages/x/`, `./packages/x`, its absolute path) plays the same task as the complete pass, the variable unset, as Bazel's `//pkg/...` shares the cache of `//...`; a sub-folder or a file keeps a hash of its own, and a path out of every package stays refused (2). A run that mixes a whole package and files of another plays two runs (the package whole, then the files), the code the first that is not 0. A whole package named with an option or `--force` keeps a hash of its own: the variable carries the options (and the moment for `--force`), never the folder. **Action for projects**: none.
|
|
34
|
+
|
|
35
|
+
- **The question of a ticket the queue reopens says why** : the question gone up to the supervisor read « La file rouvre le ticket. » alone, its reason (a branch that does not replay on main and its files in conflict, or a red CI and its address) left in the ticket's comments; `--reprendre`, answered on it, sent the same branch back to the same refusal (Grillhouse 3uv.130, seen on 3uv.111, 2026-11-20). Its first line now carries the reason, and for a branch that does not replay on main the question names the answer that serves, `--depuis developpeur`. **Action for projects**: none.
|
|
36
|
+
|
|
37
|
+
- **The memo of a circuit no longer keeps the whole written state** : it held the report, the findings and the journals whole (`ecrit`, 16 KB on average, up to 225 KB, 4 MB for the 255 kept circuits), which weighed the list of circuits. It now keeps only what a resumption rereads (step, attempt, stop, loops, rank, packages, the head of the report) and stays under a few KB whatever the ticket; the resumption of an ended run reads it by one path, a memo written before this lot (whole state) included (Grillhouse 3uv.111). The effects' text was never in the memo. **Action for projects**: none.
|
|
38
|
+
|
|
39
|
+
- **A clean machine of GitHub replays main every day and at each release** : the frame poses `.github/workflows/machine-vierge.yml`, which plays on GitHub's `ubuntu-latest` (never the repository's `RUNNER`), Node 26, the installation from scratch (`npm ci`, `grillhouse binaires`) and the complete `npm run verifier`; it catches the faults of installation (an undeclared tool, a setting of the poste supposed, a small machine). It starts on the schedule (once a day, skipped when main is the commit of its last green pass, whatever its event), on a tag `v*` and by hand, on no push, so a red pass blocks no queue and shows in GitHub as the night's does (Grillhouse 3uv.106, decision of the owner, 2026-11-18). `grillhouse maj` poses it in a project that holds a workflow of the frame and declares it in `grillhouse.flux` with every package of the graph, the entries already declared left as they are. **Action for projects**: run `npx grillhouse maj`; a project that wants another system (macOS, ARM) takes the workflow for itself by removing the mark of its first line.
|
|
40
|
+
|
|
41
|
+
- **After `--etendre`, the sessions read the supervisor's answer, not the stop it answers** : the run resumed by `--etendre` gave its sessions the fact and the piece of the stop as their context, a lock's message (« ⛔ hors-plan … ta séance s'arrête là ») with the plan as it was; the reviewer, who reads its context as the supervisor's word, stopped the circuit at 4.3 on a file the plan now held, with a question « au responsable » (OSD-bac.3, SH-2hb.3, Grillhouse 3uv.112 ; Grillhouse 6j3, raised by OSD and osc-bridge under 0.43.0). The context now says the packages the plan gains and the plan as it is. **Action for projects**: none.
|
|
42
|
+
|
|
43
|
+
- **The mechanical questions no longer go up to the supervisor** : on 2026-11-20 most stops were of that kind (Grillhouse 3uv.118). A write out of the plan in a file the ticket's description names (its « Architecture » section or an acceptance criterion, by its path from the root) extends the plan to the file's package without a stop, said at the ticket with its piece; a file the ticket does not name, one of the root, and an `ARCHITECTURE.md`, `CADRE.md` or `INTERFACE.md` still go up. A session the usage limit stops (« limit · resets <time> (<zone>) » in the result of `claude -p` or at the end of its log) is no longer a session without a sheet: the circuit reports itself to the hour the usage returns (an hour later when none reads), says it at the ticket, gives its place back and resumes the step; the limit counts in neither of the two sessions without a sheet, and successive limits have no bound. The board shows « limite d'usage » and the hour for such a circuit. **Action for projects**: none.
|
|
44
|
+
|
|
45
|
+
- **The short circuit is decided by a criterion, and the switch works both ways** : a ticket that changes only code comments left for the full circuit and stopped the testwriter with no way to 1.1 but `--recommencer` (BPScript, bp-mono-vbwf.320.14.2.8.1, 2026-11-20; Grillhouse 3uv.115, decision of the owner). The charter now says it: a ticket takes the short circuit when no honest test can turn red before its lot, the product behaving the same before and after; the old list becomes its examples (plus code comments only, removal of code without a live caller, regenerated files, texts of messages no test or package reads, narrowed typing), each with its condition. Two forms: a gesture a command plays goes through 1.1; a gesture written by hand skips the testwriter and the proof of the red, and a developer session writes it. The testwriter that finds nothing to test stops with the reason `aucun-comportement`, and the supervisor answers `--mecanique [<command>] --contexte <reason>` (with a command to 1.1, without to the developer), the plan kept; the reviewer of a short-circuit lot that sees a behaviour change returns it with the reason `comportement-change`, and the ticket restarts at 2 Tests on the same plan, the switch counting among the `RENDU` (the third stops the circuit). **Action for projects**: none.
|
|
46
|
+
|
|
47
|
+
- **The checks of the plan name to `npm test` no test out of every package** : a lot that added a test of the frame's plugin (`mods/grillhouse/tests/`) had its checks red on `npm test -- <that file>`, which refuses a path out of every package (code 2), and its circuit stopped « sans-livraison » though the guards play that test green (Grillhouse 3uv.127, seen on 3uv.110, 2026-11-20). **Action for projects**: none.
|
|
48
|
+
|
|
49
|
+
- **A time measure of a trial no longer reads the real load of the poste** : since 0.45.0 a measure waits for the rest of its dedicated cores by reading the load of the machine; a day test that plays a bench in a trial project (`tests-cibles.spec.ts`) waited for that rest up to the bound of 60 min on a busy poste, and every pass of the tests of Grillhouse stayed frozen (Grillhouse 3uv.119, seen on the circuit of 3uv.110, 2026-11-20). On the machine a trial fixes (`GRILLHOUSE_MESURE_D_ESSAI`), the dedicated cores are at rest: the measure leaves at once, and the load of the poste while it plays is not judged, its red keeping its code; it is held by the affinity of its launch and moves no program of the poste off its cores, even where the cpuset controller is delegated. **Action for projects**: none.
|
|
50
|
+
|
|
51
|
+
- **The sessions of the circuit's agents spend the API credit while there is some** : with `~/.config/grillhouse/api.env` (`ANTHROPIC_API_KEY=…`), each session of an agent starts with the key; refused for an empty credit or a refused key, it is played again at once on the subscription, once, under the same id, and the month is noted in the file of presence `api-epuise-AAAA-MM` beside `api.env`, the key being taken again the next month (Grillhouse 3uv.114, 2026-11-18). Any other error of the API keeps the key. Without the file, nothing changes. **Action for projects**: none; a poste that wants it writes `api.env`.
|
|
52
|
+
|
|
53
|
+
- **A server of sccache that does not answer is said, with its output, before cargo runs** : on SyntHub (SH-13y.6, 2026-11-18), the guard clippy went red on the tool, « sccache: error: path must be shorter than SUN_LEN », the start of the server having its output thrown away (Grillhouse 3uv.112). `demarrerLeServeur` now interrogates the server (`sccache --show-stats`) under the same environment (the same `SCCACHE_SERVER_UDS`, the short TMPDIR) after `sccache --start-server`, and returns one line that names the start of the sccache server and carries both outputs when it does not answer; null when it answers (just started or already running) or when the project sets its own wrapper. The guard clippy carries the line as a finding refused, never as « cargo clippy rouge », and every command that compiles (`tester`, `verifier`, `typer`, `construire`) fails without running cargo. **Action for projects**: none.
|
|
54
|
+
|
|
55
|
+
- **A tool of the project can enter the cache by its content** (grillhouse-3uv.113, asked by SyntHub, SH-9ha.1.2, accepted by the owner, 2026-11-18): Turborepo's cache did not hash the content of a tool outside the repository that a build links into its product (the Python linked into SyntHub's service binary), so changing the tool without changing the code served the old product. `grillhouse.outils` now accepts `{ "<VARIABLE>": { "chemin": "<path>", "contenu": true } }` beside the short form, which stays valid and unhashed; any other object form is refused by its key. Each pass (circuit, `npm run verifier`, the night, the integration's copy) gets `<VARIABLE>_EMPREINTE` (the SHA-256 of the file, or of the sorted list of the entries of the directory: path, type, executable bit, content; links taken by their target's text, `__pycache__` left out) beside `<VARIABLE>`, and the generator writes it into the root `turbo.json`'s `globalEnv`: a changed tool replays every task of the project (the tool is declared once for the project, not on a package), an unchanged one is read from the cache. A hashed tool that is absent, unreadable or special is refused by its name before any work. The fingerprint is read again at each pass, with no memory between two: measured on SyntHub's Python (151 MB, 19,207 files) it costs 1.2 s cold and 0.19 s warm, and 4 to 7 ms for a one-file tool. **Action for projects**: to hash a tool, write its long form in `grillhouse.outils`, then run `npx grillhouse turbo-des-paquets --ecrire` (the regeneration command the check names); no other project changes.
|
|
56
|
+
|
|
57
|
+
- **A circuit waiting for the supervisor keeps its place in the project's limit** : on SyntHub, 8 tickets were started and stopped on a question besides the 2 at work, because a circuit stopped on a question gave its place back (Grillhouse 3uv.109, decision of the owner, 2026-11-18). The queue now counts, in `grillhouse.circuits`, a circuit stopped on a question to the supervisor (no recipient, or « superviseur ») and a circuit resumed and waiting for its place of the machine, as a Kanban limit of work in progress counts a blocked card; a circuit deferred (`--reporter`), waiting for another project or the night, or stopped on a question to the owner still gives it back. A stopped circuit holds no place of the machine. The board of a project at its limit names the circuits waiting for the supervisor. The count is versioned under `patched('limite-garde-le-superviseur')`, so a queue running from before replays its history; the old path is removed once drained. **Action for projects**: none.
|
|
58
|
+
|
|
59
|
+
- **The questions of the circuits reach the supervisor by a push of the greffon** (grillhouse-3uv.110): on SyntHub, 7 questions stayed without an answer a morning, the wait that the supervisor had to launch again after each batch not having been. The greffon of the session of supervision now reads the circuits of its project at each period (`superviseur --relever`) and submits, in the queue of the messages of the session (`$.prompt.submit`), one message per reading with the questions and the ends of circuits that are due; it arrives at the end of the turn, without interrupting it. A question not answered comes back at the interval of the key `grillhouse.rappel` of the `package.json` (minutes, a number above 0, 5 by default); its answer to the circuit acknowledges it. `superviseur --attendre`, its lock and the order to launch it again are removed, with the « sans-attente » state of the Stop hook and the alert « à corriger » of the board; the Stop hook still refuses to end a turn while a question waits. Without a greffon (another engine) nothing is pushed: the board and the opening list the questions. **Action for projects**: none; a project may set `grillhouse.rappel`.
|
|
60
|
+
|
|
9
61
|
## [0.45.1] - 2026-11-18
|
|
10
62
|
|
|
11
63
|
- **The first session of the testwriter starts again** : 0.45.0 read the language of the copy before the tests of the lot (grillhouse-nwb), eagerly, and a copy not made yet, at the launch of the first session of the testwriter, threw « docs/ARCHITECTURE.md ne déclare aucun langage » (Grillhouse 3uv.109 and 3uv.110, 2026-11-18): every new circuit stopped at 2 Tests. The language is now read only when the lot has a file to class. **Action for projects**: none.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "project-name",
|
|
3
|
+
"private": true,
|
|
4
|
+
"scripts": {
|
|
5
|
+
"test": "grillhouse tests",
|
|
6
|
+
"test:forcer": "grillhouse tests --force",
|
|
7
|
+
"verifier": "grillhouse verifier",
|
|
8
|
+
"prepare": "grillhouse hooks",
|
|
9
|
+
"grillhouse:gardes": "grillhouse gardes-du-cadre",
|
|
10
|
+
"grillhouse:dette:inscrire": "GRILLHOUSE_DETTE=inscrire npm run --silent grillhouse:gardes",
|
|
11
|
+
"grillhouse:dette:elaguer": "GRILLHOUSE_DETTE=elaguer npm run --silent grillhouse:gardes",
|
|
12
|
+
"tableau": "grillhouse tableau --texte",
|
|
13
|
+
"grillhouse:maj": "grillhouse maj"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"turbo": "2.11.8"
|
|
17
|
+
},
|
|
18
|
+
"packageManager": "npm@11.20.0"
|
|
19
|
+
}
|
|
@@ -5,17 +5,14 @@
|
|
|
5
5
|
name: CI
|
|
6
6
|
|
|
7
7
|
on:
|
|
8
|
-
#
|
|
9
|
-
# main
|
|
10
|
-
push
|
|
11
|
-
|
|
12
|
-
pull_request:
|
|
13
|
-
branches: [main, develop]
|
|
14
|
-
# Once a night, on the default branch.
|
|
8
|
+
# The CI plays on main by batches, as Google's TAP plays the whole suite after the submit: once an
|
|
9
|
+
# hour, on the tip of main, which judges every lot entered since its last pass. A lot enters main
|
|
10
|
+
# on its final pass and waits for no CI; no push, no pull request and no branch agent/** starts it.
|
|
11
|
+
# The job `moved` skips the pass when main did not move; a start by hand always plays.
|
|
15
12
|
schedule:
|
|
16
|
-
- cron: '
|
|
17
|
-
|
|
18
|
-
#
|
|
13
|
+
- cron: '17 * * * *'
|
|
14
|
+
workflow_dispatch:
|
|
15
|
+
# A release plays the CI on the tagged commit before it publishes.
|
|
19
16
|
workflow_call:
|
|
20
17
|
|
|
21
18
|
# The pass of the verification in n + 2 jobs per version of Node, as Vitest shards a run
|
|
@@ -31,14 +28,13 @@ env:
|
|
|
31
28
|
# The remote cache of Turborepo (grillhouse-44b.12.6), the server the repository's variables
|
|
32
29
|
# TURBO_API and TURBO_TEAM name, its token and the key of its signature in the secrets
|
|
33
30
|
# TURBO_TOKEN and TURBO_REMOTE_CACHE_SIGNATURE_KEY (Settings > Secrets and variables > Actions),
|
|
34
|
-
# never in this file.
|
|
35
|
-
# tree the queue moves main onto); every other run reads it alone. Without TURBO_API the cache is
|
|
31
|
+
# never in this file. The run of main, by the schedule or by hand, writes it; every other run reads it alone. Without TURBO_API the cache is
|
|
36
32
|
# the runner's local cache, as before. No step of the workflow touches the cache.
|
|
37
33
|
TURBO_API: ${{ vars.TURBO_API }}
|
|
38
34
|
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
|
39
35
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
40
36
|
TURBO_REMOTE_CACHE_SIGNATURE_KEY: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
|
|
41
|
-
TURBO_CACHE: ${{ !vars.TURBO_API && 'local:rw' || (github.event_name == '
|
|
37
|
+
TURBO_CACHE: ${{ !vars.TURBO_API && 'local:rw' || ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' && 'local:rw,remote:rw' || 'local:rw,remote:r') }}
|
|
42
38
|
|
|
43
39
|
# The machine of every job: the repository's variable RUNNER (Settings > Secrets and variables >
|
|
44
40
|
# Actions > Variables), a label in JSON (`"ubuntu-latest"`) or a list of labels
|
|
@@ -46,38 +42,34 @@ env:
|
|
|
46
42
|
# repository's settings, never in this file.
|
|
47
43
|
|
|
48
44
|
jobs:
|
|
49
|
-
#
|
|
50
|
-
# main
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
# « Using conditions to control job execution »). It reads the runs of the repository: a workflow
|
|
58
|
-
# that calls this one grants it `actions: read`. On a runner of the repository, `gh` must be
|
|
59
|
-
# installed.
|
|
60
|
-
judged:
|
|
45
|
+
# Main that did not move plays nothing again: on the schedule, when the last green pass of this
|
|
46
|
+
# workflow on main is the commit of the tip, every job of the pass is skipped (a job skipped by its
|
|
47
|
+
# condition reports « Success »). The job itself always runs, so that its dependents read its
|
|
48
|
+
# output; a search that fails says nothing, and the pass plays. A start by hand or the call of a
|
|
49
|
+
# release always plays. It reads the runs of the repository: a workflow that calls this one grants
|
|
50
|
+
# it `actions: read`. On a runner of the repository, `gh` must be installed.
|
|
51
|
+
moved:
|
|
52
|
+
# The machine of the jobs: the variable RUNNER of the repository, GitHub's runner without it.
|
|
61
53
|
runs-on: ${{ fromJSON(vars.RUNNER || '"ubuntu-latest"') }}
|
|
62
54
|
permissions:
|
|
63
55
|
actions: read
|
|
64
56
|
contents: read
|
|
65
57
|
outputs:
|
|
66
|
-
|
|
58
|
+
unchanged: ${{ steps.search.outputs.unchanged }}
|
|
67
59
|
steps:
|
|
68
|
-
- name:
|
|
60
|
+
- name: Last green pass of main
|
|
69
61
|
id: search
|
|
70
|
-
if: github.event_name == '
|
|
62
|
+
if: github.event_name == 'schedule'
|
|
71
63
|
env:
|
|
72
64
|
GH_TOKEN: ${{ github.token }}
|
|
73
65
|
run: |
|
|
74
|
-
|
|
75
|
-
if
|
|
76
|
-
echo "
|
|
66
|
+
last=$(gh run list --repo "$GITHUB_REPOSITORY" --workflow ci.yml --branch main --status success --limit 1 --json headSha --jq '.[0].headSha' || true)
|
|
67
|
+
if [ -n "$last" ] && [ "$last" = "$GITHUB_SHA" ]; then unchanged=true; else unchanged=false; fi
|
|
68
|
+
echo "unchanged=$unchanged" >> "$GITHUB_OUTPUT"
|
|
77
69
|
|
|
78
70
|
gardes:
|
|
79
|
-
needs:
|
|
80
|
-
if: needs.
|
|
71
|
+
needs: moved
|
|
72
|
+
if: needs.moved.outputs.unchanged != 'true'
|
|
81
73
|
runs-on: ${{ fromJSON(vars.RUNNER || '"ubuntu-latest"') }}
|
|
82
74
|
|
|
83
75
|
# Node 26 alone, whatever the trigger.
|
|
@@ -104,7 +96,7 @@ jobs:
|
|
|
104
96
|
# uv, which the frame's module python plays, for a project with packages of Python; a runner
|
|
105
97
|
# of the repository brings its own.
|
|
106
98
|
- name: Install uv
|
|
107
|
-
if: runner.environment == 'github-hosted' && hashFiles('**/pyproject.toml') != ''
|
|
99
|
+
if: runner.environment == 'github-hosted' && (hashFiles('**/pyproject.toml') != '' || hashFiles('**/CMakeLists.txt') != '')
|
|
108
100
|
uses: astral-sh/setup-uv@v6
|
|
109
101
|
|
|
110
102
|
- name: Install dependencies
|
|
@@ -121,8 +113,8 @@ jobs:
|
|
|
121
113
|
run: npm run verifier -- --sans-tests
|
|
122
114
|
|
|
123
115
|
tranches:
|
|
124
|
-
needs:
|
|
125
|
-
if: needs.
|
|
116
|
+
needs: moved
|
|
117
|
+
if: needs.moved.outputs.unchanged != 'true'
|
|
126
118
|
runs-on: ${{ fromJSON(vars.RUNNER || '"ubuntu-latest"') }}
|
|
127
119
|
|
|
128
120
|
strategy:
|
|
@@ -132,7 +124,7 @@ jobs:
|
|
|
132
124
|
tranche: [1, 2, 3]
|
|
133
125
|
|
|
134
126
|
steps:
|
|
135
|
-
# The whole history
|
|
127
|
+
# The whole history, for the guards that read it.
|
|
136
128
|
- name: Checkout
|
|
137
129
|
uses: actions/checkout@v5
|
|
138
130
|
with:
|
|
@@ -149,7 +141,7 @@ jobs:
|
|
|
149
141
|
cache: 'npm'
|
|
150
142
|
|
|
151
143
|
- name: Install uv
|
|
152
|
-
if: runner.environment == 'github-hosted' && hashFiles('**/pyproject.toml') != ''
|
|
144
|
+
if: runner.environment == 'github-hosted' && (hashFiles('**/pyproject.toml') != '' || hashFiles('**/CMakeLists.txt') != '')
|
|
153
145
|
uses: astral-sh/setup-uv@v6
|
|
154
146
|
|
|
155
147
|
- name: Install dependencies
|
|
@@ -160,15 +152,8 @@ jobs:
|
|
|
160
152
|
- name: Install the binaries of the languages
|
|
161
153
|
run: npx --no-install grillhouse binaires
|
|
162
154
|
|
|
163
|
-
# The tests of the tranche, with the builds they depend on
|
|
164
|
-
# commit before it; a pull request, a call and the nightly schedule play the complete pass,
|
|
165
|
-
# with no base.
|
|
166
|
-
- name: Tranche ${{ matrix.tranche }} (a push, against its parent)
|
|
167
|
-
if: github.event_name == 'push' && github.event.before != ''
|
|
168
|
-
run: npm run verifier -- ${{ format('--tranche {0}/{1} --base {2}', matrix.tranche, env.TRANCHES, github.event.before) }}
|
|
169
|
-
|
|
155
|
+
# The tests of the tranche, with the builds they depend on: the complete pass, with no base.
|
|
170
156
|
- name: Tranche ${{ matrix.tranche }}
|
|
171
|
-
if: github.event_name != 'push' || github.event.before == ''
|
|
172
157
|
run: npm run verifier -- ${{ format('--tranche {0}/{1}', matrix.tranche, env.TRANCHES) }}
|
|
173
158
|
|
|
174
159
|
# The reports of the tranche (Vitest's blob and the files of its part), red or green, which
|
|
@@ -180,13 +165,13 @@ jobs:
|
|
|
180
165
|
name: tranche-${{ matrix.node-version }}-${{ matrix.tranche }}
|
|
181
166
|
path: .vitest-reports/
|
|
182
167
|
include-hidden-files: true
|
|
183
|
-
# A pass with no test file
|
|
168
|
+
# A pass with no test file writes none.
|
|
184
169
|
if-no-files-found: warn
|
|
185
170
|
retention-days: 7
|
|
186
171
|
|
|
187
172
|
fusion:
|
|
188
|
-
needs: [
|
|
189
|
-
if: ${{ !cancelled() && needs.
|
|
173
|
+
needs: [moved, tranches]
|
|
174
|
+
if: ${{ !cancelled() && needs.moved.outputs.unchanged != 'true' }}
|
|
190
175
|
runs-on: ${{ fromJSON(vars.RUNNER || '"ubuntu-latest"') }}
|
|
191
176
|
|
|
192
177
|
strategy:
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Généré par `npx grillhouse maj` depuis le gabarit du cadre ; ne pas éditer : la mise à jour le réécrit. Un workflow sans cette ligne est au projet, et la mise à jour n'y touche pas.
|
|
2
|
+
#
|
|
3
|
+
# The clean machine: a machine GitHub hosts, new at each pass, replays the installation from
|
|
4
|
+
# scratch and the complete verification (`npm run verifier`, no base). A lot is verified before main
|
|
5
|
+
# on the project's own machine (ci.yml, the repository's variable RUNNER), where speed counts; this
|
|
6
|
+
# flow catches what only a clean machine shows: a tool the project does not declare, a setting of
|
|
7
|
+
# the poste that the code supposes, a machine smaller than the poste. Such a fault is the
|
|
8
|
+
# installation's, not the product's.
|
|
9
|
+
#
|
|
10
|
+
# It starts once a day on the default branch, and at each release (a tag v*), by hand too. It starts
|
|
11
|
+
# on no push to main, develop or a branch of a ticket, so a red pass never blocks the queue of the
|
|
12
|
+
# lots: its red shows in GitHub, as the night's (nuit.yml). Nothing in the frame waits for it, not
|
|
13
|
+
# the queue, not the release of the project.
|
|
14
|
+
#
|
|
15
|
+
# « Only if needed » (as the night plays only the project that moved since its last green night):
|
|
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
|
|
23
|
+
# a machine that is not the project's. Linux and Node 26 alone, as the other workflows of the frame:
|
|
24
|
+
# a project that wants another system (macOS, ARM) takes this workflow for itself, by removing the
|
|
25
|
+
# mark of its first line; the update then leaves it as it is.
|
|
26
|
+
name: Machine vierge
|
|
27
|
+
|
|
28
|
+
on:
|
|
29
|
+
schedule:
|
|
30
|
+
- cron: '0 4 * * *'
|
|
31
|
+
push:
|
|
32
|
+
tags:
|
|
33
|
+
- 'v*'
|
|
34
|
+
workflow_dispatch:
|
|
35
|
+
|
|
36
|
+
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
|
+
verification:
|
|
61
|
+
needs: decision
|
|
62
|
+
if: ${{ needs.decision.outputs.saute != 'true' }}
|
|
63
|
+
runs-on: ubuntu-latest
|
|
64
|
+
|
|
65
|
+
strategy:
|
|
66
|
+
fail-fast: false
|
|
67
|
+
matrix:
|
|
68
|
+
node-version: ['26.x']
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- name: Checkout
|
|
72
|
+
uses: actions/checkout@v5
|
|
73
|
+
with:
|
|
74
|
+
fetch-depth: 0
|
|
75
|
+
# The submodules of the project, a private one read by the repository's secret SOUS_MODULES
|
|
76
|
+
# (a token that reads it); without the secret, the workflow's own token.
|
|
77
|
+
submodules: recursive
|
|
78
|
+
token: ${{ secrets.SOUS_MODULES || github.token }}
|
|
79
|
+
|
|
80
|
+
- name: Setup Node.js ${{ matrix.node-version }}
|
|
81
|
+
uses: actions/setup-node@v5
|
|
82
|
+
with:
|
|
83
|
+
node-version: ${{ matrix.node-version }}
|
|
84
|
+
cache: 'npm'
|
|
85
|
+
|
|
86
|
+
# uv, which the frame's module python plays, for a project with packages of Python.
|
|
87
|
+
- name: Install uv
|
|
88
|
+
if: hashFiles('**/pyproject.toml') != ''
|
|
89
|
+
uses: astral-sh/setup-uv@v6
|
|
90
|
+
|
|
91
|
+
- name: Install dependencies
|
|
92
|
+
run: npm ci
|
|
93
|
+
|
|
94
|
+
# The binaries of the project's languages (cargo's sccache, nextest and cargo-deny, python's
|
|
95
|
+
# uv), each at its version; none for TypeScript alone.
|
|
96
|
+
- name: Install the binaries of the languages
|
|
97
|
+
run: npx --no-install grillhouse binaires
|
|
98
|
+
|
|
99
|
+
# The complete verification, with no base: every guard, the typing and every test.
|
|
100
|
+
- name: Verification
|
|
101
|
+
run: npm run verifier
|
|
@@ -49,7 +49,11 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
|
|
|
49
49
|
par défaut : les heures, à l'heure locale, où l'attente d'une réponse compte au bilan comme nuit,
|
|
50
50
|
à part de l'attente du superviseur et de celle du responsable).
|
|
51
51
|
- Les outils du projet : la clé `grillhouse.outils` du `package.json` (`{ "<VARIABLE>": "<chemin>" }`,
|
|
52
|
-
un chemin absolu ou sous `~` : un outil hors du dépôt que les tests exigent ;
|
|
52
|
+
un chemin absolu ou sous `~` : un outil hors du dépôt que les tests exigent ; la forme longue
|
|
53
|
+
`{ "<VARIABLE>": { "chemin": "<chemin>", "contenu": true } }` le hache par son contenu : son
|
|
54
|
+
empreinte SHA-256 (fichier, ou liste triée des entrées d'un dossier) entre dans le hachage des
|
|
55
|
+
tâches par le `globalEnv` du `turbo.json` racine et se donne aux passes en `<VARIABLE>_EMPREINTE`,
|
|
56
|
+
un outil changé rejouant toutes les tâches du projet, et la forme courte reste non hachée ; l'enveloppe d'un
|
|
53
57
|
agent le monte en lecture seule et lui passe la variable, et le circuit, `npm run verifier` et la
|
|
54
58
|
nuit jouent avec la même ; lue dans l'arbre principal ; un chemin qui recouvrirait l'enveloppe
|
|
55
59
|
(`/`, la maison, un dossier caché de la maison hors `~/.local` et `~/.cache`, le trousseau
|
|
@@ -64,8 +68,12 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
|
|
|
64
68
|
fichiers ou avec un motif hors du dépôt est refusée par son nom avant tout travail).
|
|
65
69
|
- Le nombre de circuits à la fois : la clé `grillhouse.circuits` du `package.json` (un entier
|
|
66
70
|
≥ 1, **1** quand elle est absente : les circuits actifs du projet à la fois, que la file des
|
|
67
|
-
tickets tient ; un circuit arrêté sur une question
|
|
68
|
-
de
|
|
71
|
+
tickets tient ; un circuit arrêté sur une question au superviseur, ou repris et en attente de sa
|
|
72
|
+
place de la machine, garde sa place dans la limite, comme une carte bloquée dans la limite d'un
|
|
73
|
+
tableau Kanban : la file ne démarre aucun ticket de plus tant qu'il n'a pas sa réponse ; un
|
|
74
|
+
circuit reporté à une heure, en attente d'un autre projet ou de la nuit, ou arrêté sur une
|
|
75
|
+
question au responsable, rend sa place ; le tableau nomme, pour un projet à sa limite, les
|
|
76
|
+
circuits en attente du superviseur ; un circuit arrêté n'occupe aucune place de la machine ; lue dans l'arbre principal ; toute autre valeur est refusée par son nom avant tout
|
|
69
77
|
travail). La machine borne aussi : un ticket ne part que s'il a une place de circuit de la
|
|
70
78
|
machine, commune à ses projets et donnée dans l'ordre d'arrivée (`GRILLHOUSE_PLACES` de
|
|
71
79
|
`~/.config/grillhouse/machine.env`, 3 par défaut), et la place d'une copie de plus sur le disque
|
|
@@ -79,8 +87,11 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
|
|
|
79
87
|
`GRILLHOUSE_RESERVE_COEURS` et `GRILLHOUSE_RESERVE_MEMOIRE_GO` de `~/.config/grillhouse/machine.env`,
|
|
80
88
|
4 Go par défaut, et en cœurs min(4, max(0, cœurs − 4)) : 0 sur 4 cœurs ou moins, 2 sur 6, 4 à
|
|
81
89
|
partir de 8 ; zéro admis, une réserve réglée qui égale les cœurs est refusée ; lue dans l'arbre principal ; toute autre valeur est
|
|
82
|
-
refusée par son nom avant tout travail). Absente, la part vaut
|
|
83
|
-
|
|
90
|
+
refusée par son nom avant tout travail). Absente, la part vaut en cœurs le budget divisé par les
|
|
91
|
+
places de la machine (`GRILLHOUSE_PLACES`, la division entière, 2 au moins), et en mémoire le plus
|
|
92
|
+
grand pic des passes de jour du projet à son registre des consommations, plus un quart, jamais
|
|
93
|
+
sous le tiers du budget, qu'elle vaut quand le registre n'a pas de mesure ; une clé qui ne déclare que les cœurs
|
|
94
|
+
ou que la mémoire garde le défaut de l'autre ; une part plus grande que le budget vaut le budget, une seule passe jouant alors à la
|
|
84
95
|
fois. La passe n'a que cette part : le système la tient dans un groupe de contrôle de Linux à elle
|
|
85
96
|
(poids de processeur et plafond de mémoire tirés de la part, sans plafond dur de processeur), et
|
|
86
97
|
elle attend, en disant ce qu'elle attend (cœurs, mémoire, charge), quand le budget manque ; la
|
|
@@ -90,3 +101,15 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
|
|
|
90
101
|
nomme qui tient chaque place, et le panneau de plusieurs projets ; absente, le préfixe de tickets
|
|
91
102
|
de `.beads/config.yaml` sert ; une autre valeur est une faute que le panneau dit en alerte, le
|
|
92
103
|
préfixe restant le sigle).
|
|
104
|
+
- La CI de main : le flux `.github/workflows/ci.yml` que le cadre pose joue sur main, par paquets, au
|
|
105
|
+
plus une fois par heure et seulement si main a bougé depuis son dernier passage, sur la machine du
|
|
106
|
+
projet (la variable `RUNNER`). Un lot entre sur main sur sa passe finale, sans attendre la CI ; la
|
|
107
|
+
CI voit ce que la passe finale ne joue pas (autres plates-formes, matrice de versions, flux hors
|
|
108
|
+
`npm run verifier`). Son rouge alerte le superviseur avec les lots entrés depuis le dernier vert,
|
|
109
|
+
ouvre un ticket de défaut sous `a-valider`, et n'arrête pas la file.
|
|
110
|
+
- La machine vierge : le flux `.github/workflows/machine-vierge.yml` que le cadre pose rejoue, sur un
|
|
111
|
+
exécuteur `ubuntu-latest` de GitHub neuf (jamais la variable `RUNNER`), l'installation à neuf puis
|
|
112
|
+
`npm run verifier` complet ; il part au plus une fois par jour sur main, et saute le jour où main est
|
|
113
|
+
le commit de son dernier passage vert, et à chaque étiquette `v*`. Il ne part sur aucune poussée : son
|
|
114
|
+
rouge ne bloque aucune file, il se voit dans GitHub. Un projet qui veut un autre système (macOS, ARM)
|
|
115
|
+
reprend le flux à lui en ôtant la ligne de marque de sa première ligne.
|
|
@@ -20,7 +20,7 @@ Issues for this repo live in Beads, a git-backed tracker: data under `.beads/`,
|
|
|
20
20
|
- The title reads `<number> — <subject> — <components>`, the number being the id without the whole prefix of the project (`bd config get issue_prefix`, which may hold dashes: `bp-mono-`). The components are the ones the ticket touches, separated by commas, the provider first, then its readers (charte, « Un ticket de réalisation nomme ses composants »): `320.5.2 — Publie l'objet de la scène — 020-loader, 050-emitter`. A mother takes `parent` as its component. The survey of the components (`npx grillhouse composants-affectes --description <file>` on a draft, `npx grillhouse composants-affectes <id>` on a ticket) gives that list from the elements the Architecture section and the criteria name: for each, its provider and its readers (the consumers its INTERFACE.md declares, the packages that import it, the tests of other packages that name it). The title names the readers the ticket changes. In a ticket's circuit, the explorer runs the survey when it writes the plan (1 Plan), and the circuit writes the packages of its plan as the title's components.
|
|
21
21
|
- Creating one: `npx grillhouse ticket <mother> <subject> <components> <body> [label]` prints its id; the label is `a-valider` by default, and `decouverte` creates it closed (« découverte consignée »).
|
|
22
22
|
|
|
23
|
-
- A ticket goes through the tree of its circuit, the « auto » steps included (`packages/grillhouse/scripts/etapes.mjs`, the one list): 1 Plan (`explorateur` writes the plan, `questionneur` reads it once, the explorer answers once); 2 Tests (`testwriter`), 2.1 Preuve du rouge; 3 Code (`developpeur`), 3.1 Contrôles; 4 Passe finale et relecture: 4.1 Passe finale, 4.2 Régénération des références, 4.3 Relecture (`relecteur`); 5 Intégration: 5.1 Commit, 5.2 File : main,
|
|
23
|
+
- A ticket goes through the tree of its circuit, the « auto » steps included (`packages/grillhouse/scripts/etapes.mjs`, the one list): 1 Plan (`explorateur` writes the plan, `questionneur` reads it once, the explorer answers once); 2 Tests (`testwriter`), 2.1 Preuve du rouge; 3 Code (`developpeur`), 3.1 Contrôles; 4 Passe finale et relecture: 4.1 Passe finale, 4.2 Régénération des références, 4.3 Relecture (`relecteur`); 5 Intégration: 5.1 Commit, 5.2 File : passe finale, main (no branch pushed, no CI of a branch read; the CI of the project plays afterwards on main, by batches, and a red opens a defect ticket under `a-valider`). Every step is one for the whole ticket: one testwriter and one developpeur, each on every package of its plan. The circuit makes its mechanical gestures itself; any other stop goes up to the supervisor, its question in the circuit's state. One says « 320.2.1, step 3 »; the pane shows each ticket at its step.
|
|
24
24
|
|
|
25
25
|
## When a skill says "publish to the issue tracker"
|
|
26
26
|
|