@roomi-fields/grillhouse 0.46.0 → 0.47.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/cadre/templates/c/package.json +19 -0
  4. package/cadre/templates/projet/.github/workflows/ci.yml +34 -49
  5. package/cadre/templates/projet/CLAUDE.md +6 -0
  6. package/cadre/templates/projet/docs/agents/issue-tracker.md +1 -1
  7. package/charte.md +17 -9
  8. package/dist/temporal/circuit/client.d.ts +14 -5
  9. package/dist/temporal/circuit/client.js +39 -9
  10. package/dist/temporal/circuit/client.js.map +1 -1
  11. package/dist/temporal/file/activites.d.ts +2 -0
  12. package/dist/temporal/file/activites.js +7 -0
  13. package/dist/temporal/file/activites.js.map +1 -1
  14. package/dist/temporal/file/contrat.d.ts +26 -18
  15. package/dist/temporal/file/contrat.js +8 -5
  16. package/dist/temporal/file/contrat.js.map +1 -1
  17. package/dist/temporal/file/deroule.d.ts +1 -1
  18. package/dist/temporal/file/deroule.js +91 -42
  19. package/dist/temporal/file/deroule.js.map +1 -1
  20. package/dist/temporal/tickets/activites.js +4 -13
  21. package/dist/temporal/tickets/activites.js.map +1 -1
  22. package/docs/ARCHITECTURE.md +117 -82
  23. package/docs/INTERFACE.md +36 -19
  24. package/hooks/register.tsx +1 -1
  25. package/package.json +1 -1
  26. package/scripts/activites.mjs +5 -11
  27. package/scripts/arbres-juges.mjs +59 -0
  28. package/scripts/avancement.mjs +2 -38
  29. package/scripts/branche-de-nuit.mjs +14 -45
  30. package/scripts/ci-de-main.mjs +276 -0
  31. package/scripts/circuit.mjs +2 -1
  32. package/scripts/commandes-composees.mjs +36 -6
  33. package/scripts/dernier-vert.mjs +12 -8
  34. package/scripts/etapes.mjs +1 -1
  35. package/scripts/faits-du-circuit.mjs +41 -25
  36. package/scripts/integration/file.mjs +126 -587
  37. package/scripts/integration/integrer.mjs +6 -5
  38. package/scripts/langages/c/binaires.json +4 -0
  39. package/scripts/langages/c/binaires.mjs +83 -0
  40. package/scripts/langages/c/clang-format.mjs +62 -0
  41. package/scripts/langages/c/clang-tidy.mjs +93 -0
  42. package/scripts/langages/c/clang.mjs +42 -0
  43. package/scripts/langages/c/commandes.mjs +530 -0
  44. package/scripts/langages/c/composants.mjs +209 -0
  45. package/scripts/langages/c/exemples.mjs +250 -0
  46. package/scripts/langages/c/index-interfaces.mjs +77 -0
  47. package/scripts/langages/c/index.mjs +120 -0
  48. package/scripts/langages/c/lot.mjs +41 -0
  49. package/scripts/langages/c/mise-a-jour.mjs +70 -0
  50. package/scripts/langages/c/squelette.mjs +61 -0
  51. package/scripts/langages/c/verdict.mjs +99 -0
  52. package/scripts/langages/typescript/turbo-des-paquets.mjs +16 -5
  53. package/scripts/langages-des-paquets.mjs +30 -2
  54. package/scripts/langages.mjs +1 -0
  55. package/scripts/mesure/avancement.mjs +1 -1
  56. package/scripts/migrations/0.47.0-ci-de-main.mjs +48 -0
  57. package/scripts/migrations.mjs +2 -2
  58. package/scripts/session-start.sh +0 -9
  59. package/scripts/sortie.mjs +1 -1
  60. package/scripts/superviseur.mjs +146 -88
  61. package/scripts/tableau.mjs +23 -8
  62. package/skills/grill/SKILL.md +6 -5
  63. package/skills/pitmaster/SKILL.md +9 -7
  64. package/skills/redacteur/references/documents-d-un-composant.md +1 -1
  65. package/scripts/ci-des-branches.mjs +0 -93
  66. package/scripts/migrations/0.33.0-ci-des-branches-de-ticket.mjs +0 -31
@@ -5,5 +5,5 @@
5
5
  "author": {
6
6
  "name": "Romain Peyrichou"
7
7
  },
8
- "version": "0.46.0"
8
+ "version": "0.47.1"
9
9
  }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.47.1] - 2026-11-21
10
+
11
+ - **A project without a TypeScript package keeps its last green, and its pushes to main pass**: the last green and the judged tree were kept by the pass of the module of package.json alone, so a project of cargo alone (open-synth-descriptors, osc-bridge) never had a tree judged, and since 0.47.0 the pre-push hook refused each of its commits to main, a green `npm run verifier` included (2026-11-21). The composed `verifier` keeps the green itself in such a project, when every module is green and the verification is whole. Action for such a project: after the update, `npm run verifier` in a clean copy of the commit, then the push.
12
+
13
+ - **A skipped flow is not a red of the CI of main**: the reading took the latest pass of each workflow, and any conclusion but `success` and `cancelled` as red; the flow that alerts on a red one, skipped on a green, was told « CI de main rouge » to the supervisor (SyntHub, 2026-11-21). A skipped pass judges nothing: the pass before it decides.
14
+
15
+ ## [0.47.0] - 2026-11-21
16
+
17
+ - **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.
18
+
19
+ - **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`.
20
+
21
+ - **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.
22
+
23
+ - **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.
24
+
25
+ - **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.
26
+
27
+ - **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>`).
28
+
9
29
  ## [0.46.0] - 2026-11-20
10
30
 
11
31
  - **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.
@@ -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
- # `agent/**`: the branch of a ticket the queue of the frame pushes; its run judges the lot before
9
- # main moves onto it.
10
- push:
11
- branches: [main, develop, 'agent/**']
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: '0 2 * * *'
17
- # A release of the project may play the CI on the tagged commit before it publishes, unless a
18
- # branch agent/** already judged that commit.
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. A push to main or to a branch agent/** writes it (the run that judges the
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 == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/agent/')) && 'local:rw,remote:rw' || 'local:rw,remote:r') }}
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
- # A tree already judged plays nothing again, as bors and Zuul test once the tree that enters
50
- # main: the queue of the frame (scripts/integration/file.mjs) moves main by fast-forward onto the
51
- # commit the CI of the ticket's branch judged green, so a push to main, or of a tag v<x.y.z> (the
52
- # call by a release, whose event is the caller's push of the tag), whose commit a run of this
53
- # workflow on a branch agent/** concluded green skips every job of the pass. Every other event (a
54
- # pull request, the schedule, a push to develop or to agent/**) plays as before. The job itself always runs, so that its
55
- # dependents read its output; a search that fails says nothing judged, and the pass plays. A job
56
- # skipped by its condition reports « Success », and the run concludes in success (docs.github.com,
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
- judged: ${{ steps.search.outputs.judged }}
58
+ unchanged: ${{ steps.search.outputs.unchanged }}
67
59
  steps:
68
- - name: A green run of a ticket's branch on this commit
60
+ - name: Last green pass of main
69
61
  id: search
70
- if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
62
+ if: github.event_name == 'schedule'
71
63
  env:
72
64
  GH_TOKEN: ${{ github.token }}
73
65
  run: |
74
- branches=$(gh run list --repo "$GITHUB_REPOSITORY" --workflow ci.yml --commit "$GITHUB_SHA" --status success --json headBranch --jq '.[].headBranch') || branches=''
75
- if grep -q '^agent/' <<< "$branches"; then judged=true; else judged=false; fi
76
- echo "judged=$judged" >> "$GITHUB_OUTPUT"
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: judged
80
- if: needs.judged.outputs.judged != 'true'
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: judged
125
- if: needs.judged.outputs.judged != 'true'
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: the base of a push (github.event.before) must be in the clone.
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. A push is measured against the
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 (a push whose changes no test relates to) writes none.
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: [judged, tranches]
189
- if: ${{ !cancelled() && needs.judged.outputs.judged != 'true' }}
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:
@@ -101,6 +101,12 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
101
101
  nomme qui tient chaque place, et le panneau de plusieurs projets ; absente, le préfixe de tickets
102
102
  de `.beads/config.yaml` sert ; une autre valeur est une faute que le panneau dit en alerte, le
103
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.
104
110
  - La machine vierge : le flux `.github/workflows/machine-vierge.yml` que le cadre pose rejoue, sur un
105
111
  exécuteur `ubuntu-latest` de GitHub neuf (jamais la variable `RUNNER`), l'installation à neuf puis
106
112
  `npm run verifier` complet ; il part au plus une fois par jour sur main, et saute le jour où main est
@@ -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, poussée, CI. 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.
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
 
package/charte.md CHANGED
@@ -36,7 +36,8 @@ professionnel.
36
36
  `developpeur`). Ainsi le code se mesure à des tests qu'il n'a pas écrits. Un critère répond à
37
37
  un besoin réel de l'usage actuel. Ainsi le ticket garde la taille du besoin.
38
38
  5. Le ticket se ferme sur ses tests ciblés, le verdict du `relecteur` sur le lot et le commit du
39
- circuit, seul à commiter, entré sur main par la file. Ainsi ce qui est déclaré fini l'est
39
+ circuit, seul à commiter, entré sur main par la file sur sa passe finale, la CI de main jouant
40
+ ensuite par paquets. Ainsi ce qui est déclaré fini l'est
40
41
  vraiment.
41
42
  6. Chaque agent laisse sa passation en commentaire au ticket (`bd comments add`), avec ce qui
42
43
  n'est pas fait et pourquoi ; une séance que le circuit mène finit sur sa fiche, la sortie
@@ -60,7 +61,8 @@ revient. Ainsi aucune séance ne juge ce qu'une règle tranche.
60
61
 
61
62
  **Le greffon pousse les questions dans la file de la séance du superviseur, la réponse les
62
63
  acquitte** : le greffon de la séance qui tient le verrou du superviseur met chaque question neuve
63
- d'un circuit du projet, et chaque fin de circuit, dans la file des messages de cette séance, un
64
+ d'un circuit du projet et des projets de son groupe qu'aucune autre séance ne supervise, et chaque
65
+ fin de circuit, dans la file des messages de cette séance, un
64
66
  message par relevé, à la fin du tour en cours ; une question sans réponse revient à l'intervalle
65
67
  de la clé `grillhouse.rappel`, et sa réponse au circuit l'acquitte. Sans séance de superviseur ni
66
68
  greffon, rien n'est poussé : le tableau, l'ouverture de séance et le crochet de fin de tour portent
@@ -149,7 +151,7 @@ l'architecture fixe le langage, et le code le suit.
149
151
  dossier qu'attend l'outil de son langage : près de son module pour un test unitaire (en Rust, un
150
152
  `tests.rs` ou un dossier `tests/` sous `src/`, comme le veut le contrôle tidy de rustc), dans le
151
153
  dossier de tests du paquet pour un test par l'interface (en Rust, un module de `tests/it/` du
152
- crate). Les sortes de tests, qui les écrit, qui les lit et qui les joue sont les mêmes dans chaque
154
+ crate ; en C, un fichier `tests/test_<nom>.c` du paquet, un exécutable et un test CTest). Les sortes de tests, qui les écrit, qui les lit et qui les joue sont les mêmes dans chaque
153
155
  langage ; seule l'adresse d'un fichier de test suit l'outil. Ainsi chaque test a un fichier à lui,
154
156
  que le testwriter écrit.
155
157
 
@@ -208,8 +210,8 @@ le circuit court pour un geste sans comportement neuf, que l'explorateur juge au
208
210
  du circuit, mené en direct par le superviseur, pour un défaut du circuit lui-même (le circuit ne se
209
211
  répare pas par lui-même), une correction triviale repérée en analyse (une ligne fautive, un
210
212
  mauvais argument), un ticket de données ou le squelette d'un paquet ; il porte l'étiquette `direct`, que la file des
211
- tickets ignore, même s'il porte aussi `circuit`. Un lot hors du circuit passe
212
- la CI de sa branche avant main, comme un autre. Un changement de comportement du produit va au
213
+ tickets ignore, même s'il porte aussi `circuit`. Un lot hors du circuit entre
214
+ sur main sur sa vérification complète verte. Un changement de comportement du produit va au
213
215
  circuit, même pressé. Ainsi la voie d'un ticket se lit à la charte, et non au choix de la séance.
214
216
 
215
217
  **La file directe se tient comme la file des tickets** : un ticket direct attend ouvert, et l'en-tête
@@ -308,10 +310,16 @@ dossier.
308
310
  lourde qui trouve moins de 4 Go libres, sous le dossier temporaire ou sur le disque de sa copie,
309
311
  attend la place et dit ce qui l'occupe, le ticket nommé. Ainsi le poste ne sature jamais ses
310
312
  disques.
311
- - **Main reste vert** : la file n'avance main que sur l'arbre que la CI de la branche du ticket
312
- (`agent/<ticket>`) a jugé vert, comme bors et Zuul. Un test connu rouge se met en quarantaine
313
- dans le test lui-même (`it.skip` ou `it.fails`), avec le ticket qui le corrige. Ainsi chaque
314
- rouge a son ticket.
313
+ - **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
314
+ hors du circuit, la vérification du lot direct) a jugé vert, le lot posé sur la pointe de main ;
315
+ elle n'attend aucune CI de branche. La CI du projet joue ensuite sur main, par paquets, au plus
316
+ une fois par heure (le modèle de Google, TAP, et de Chromium) : elle voit ce que la passe finale
317
+ ne joue pas (autres plates-formes, matrice de versions, flux hors `npm run verifier`). Un rouge
318
+ de la CI de main, ou de la machine vierge, alerte le superviseur avec les lots entrés depuis le
319
+ dernier vert, sans arrêter la file, et ouvre un ticket de défaut sous `a-valider` : un rouge de
320
+ main est un défaut ouvert tant que ce ticket n'est pas fermé. Un test connu rouge se met en
321
+ quarantaine dans le test lui-même (`it.skip` ou `it.fails`), avec le ticket qui le corrige.
322
+ Ainsi chaque rouge a son ticket.
315
323
  - **L'index d'abord** : toute recherche commence par `rtfm_search` (mode `hybrid`) pour le quoi, et
316
324
  par `codegraph explore` (ou l'outil `codegraph_explore`) pour l'appel ; le shell lit un fichier
317
325
  déjà nommé. Ainsi une affirmation sur le code repose sur ce que le code contient.
@@ -1,11 +1,20 @@
1
- import { type Client } from '@temporalio/client';
1
+ import { type Client, type WorkflowExecutionInfo } from '@temporalio/client';
2
2
  /**
3
- * The workflows a page of a list of the server gives at most. The server pages by 1000 by default,
3
+ * The workflows a page of a list of the server gives at first. The server pages by 1000 by default,
4
4
  * and a page of circuits, each with its memo, passes the 4 MB a gRPC message of the client takes
5
- * (« Received message larger than max », which the client retries until its deadline, read as
6
- * « Temporal ne répond pas en 5 s »): every list of the frame asks for pages of PAGE.
5
+ * (« Received message larger than max », read as « Temporal ne répond pas »): every list of the
6
+ * frame goes by `listerLesDeroules`, which asks for pages of PAGE and halves them when a page is
7
+ * still too large.
7
8
  */
8
- export declare const PAGE = 100;
9
+ export declare const PAGE = 20;
10
+ /**
11
+ * The workflows the query <query> finds on the server, read whole, by pages of PAGE. No size of
12
+ * page is safe for good, a memo having no bound of its own: a page the client refuses as too large
13
+ * makes the list start again with pages of half the size, down to one workflow a page (pc3,
14
+ * 2026-11-21: 100 circuits passed the 4 MB by 3 kB, and the queues of the tickets of two projects
15
+ * failed on it).
16
+ */
17
+ export declare function listerLesDeroules(client: Client, query: string): Promise<WorkflowExecutionInfo[]>;
9
18
  import { type EntreeDuCircuit, type ETAPES_DE_REPRISE, type FinDuCircuit, type VueDuCircuit } from './contrat.js';
10
19
  /** Starts the circuit of <entree> on the task queue <file>, or leaves the one that runs: its id. */
11
20
  export declare function demarrerLeCircuit(client: Client, entree: EntreeDuCircuit, file: string): Promise<string>;
@@ -10,16 +10,49 @@
10
10
  // from the step of its agent, on the task queue of the project's worker (decision Q2 of
11
11
  // grillhouse-4nr.12).
12
12
  import { lesReponses, SANS_ISSUE } from '../../../scripts/reponses-du-circuit.mjs';
13
- import { WorkflowNotFoundError, WorkflowUpdateFailedError } from '@temporalio/client';
13
+ import { WorkflowNotFoundError, WorkflowUpdateFailedError, } from '@temporalio/client';
14
14
  import { ApplicationFailure, defaultPayloadConverter, WorkflowExecutionAlreadyStartedError, } from '@temporalio/common';
15
15
  import { fileDuProjet } from '../installation.js';
16
16
  /**
17
- * The workflows a page of a list of the server gives at most. The server pages by 1000 by default,
17
+ * The workflows a page of a list of the server gives at first. The server pages by 1000 by default,
18
18
  * and a page of circuits, each with its memo, passes the 4 MB a gRPC message of the client takes
19
- * (« Received message larger than max », which the client retries until its deadline, read as
20
- * « Temporal ne répond pas en 5 s »): every list of the frame asks for pages of PAGE.
19
+ * (« Received message larger than max », read as « Temporal ne répond pas »): every list of the
20
+ * frame goes by `listerLesDeroules`, which asks for pages of PAGE and halves them when a page is
21
+ * still too large.
21
22
  */
22
- export const PAGE = 100;
23
+ export const PAGE = 20;
24
+ // Whether the error <e> of a list says a page larger than a gRPC message takes.
25
+ const pageTropGrande = (e) => {
26
+ for (let x = e; x; x = x.cause) {
27
+ if (/RESOURCE_EXHAUSTED|larger than max/.test(String(x.message ?? ''))) {
28
+ return true;
29
+ }
30
+ }
31
+ return false;
32
+ };
33
+ /**
34
+ * The workflows the query <query> finds on the server, read whole, by pages of PAGE. No size of
35
+ * page is safe for good, a memo having no bound of its own: a page the client refuses as too large
36
+ * makes the list start again with pages of half the size, down to one workflow a page (pc3,
37
+ * 2026-11-21: 100 circuits passed the 4 MB by 3 kB, and the queues of the tickets of two projects
38
+ * failed on it).
39
+ */
40
+ export async function listerLesDeroules(client, query) {
41
+ for (let taille = PAGE;; taille = Math.floor(taille / 2)) {
42
+ try {
43
+ const lus = [];
44
+ for await (const w of client.workflow.list({ query, pageSize: taille })) {
45
+ lus.push(w);
46
+ }
47
+ return lus;
48
+ }
49
+ catch (e) {
50
+ if (taille <= 1 || !pageTropGrande(e)) {
51
+ throw e;
52
+ }
53
+ }
54
+ }
55
+ }
23
56
  import { ARRETER, CIRCUIT, DEPUIS, ETENDRE, etatDeLaReprise, idDuCircuit, L_ETAT, MECANIQUE, REFUS_DU_VALIDATEUR, REPRENDRE, } from './contrat.js';
24
57
  /** Starts the circuit of <entree> on the task queue <file>, or leaves the one that runs: its id. */
25
58
  export async function demarrerLeCircuit(client, entree, file) {
@@ -234,10 +267,7 @@ export async function finDuCircuit(client, racine, ticket) {
234
267
  export async function lireLesCircuits(client, racine, { integres = false } = {}) {
235
268
  const prefixe = idDuCircuit(racine, '');
236
269
  const lus = [];
237
- for await (const w of client.workflow.list({
238
- query: `WorkflowType = '${CIRCUIT}'`,
239
- pageSize: PAGE,
240
- })) {
270
+ for (const w of await listerLesDeroules(client, `WorkflowType = '${CIRCUIT}'`)) {
241
271
  if (w.workflowId.startsWith(prefixe)) {
242
272
  lus.push(w);
243
273
  }
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/temporal/circuit/client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,gGAAgG;AAChG,mGAAmG;AACnG,8FAA8F;AAC9F,kGAAkG;AAClG,kGAAkG;AAClG,+FAA+F;AAC/F,4FAA4F;AAC5F,gGAAgG;AAChG,wFAAwF;AACxF,sBAAsB;AACtB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAe,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,oCAAoC,GACrC,MAAM,oBAAoB,CAAC;AAC5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K,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;YACvF,MAAM,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,CAAC;YAClC,UAAU;YACV,SAAS,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;YACjC,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,KAAK;YACZ,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC;YACxB,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI;SAC5B,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC"}
@@ -5,6 +5,8 @@ export declare function situerLeLot(e: Entree<'situerLeLot'>): Promise<Sortie<'s
5
5
  export declare function preparerLaBranche(e: Entree<'preparerLaBranche'>): Promise<Sortie<'preparerLaBranche'>>;
6
6
  export declare function avancerMain(e: Entree<'avancerMain'>): Promise<Sortie<'avancerMain'>>;
7
7
  export declare function fermerLEntree(e: Entree<'fermerLEntree'>): Promise<Sortie<'fermerLEntree'>>;
8
+ export declare function jugerLeCandidat(e: Entree<'jugerLeCandidat'>): Promise<Sortie<'jugerLeCandidat'>>;
9
+ export declare function surveillerLaCiDeMain(e: Entree<'surveillerLaCiDeMain'>): Promise<Sortie<'surveillerLaCiDeMain'>>;
8
10
  export declare function lireLesPassagesDeLaCI(e: Entree<'lireLesPassagesDeLaCI'>): Promise<Sortie<'lireLesPassagesDeLaCI'>>;
9
11
  export declare function conclureLaCI(e: Entree<'conclureLaCI'>): Promise<Sortie<'conclureLaCI'>>;
10
12
  export declare function inscrireLesFluxDeMain(e: Entree<'inscrireLesFluxDeMain'>): Promise<void>;
@@ -16,6 +16,13 @@ export async function avancerMain(e) {
16
16
  export async function fermerLEntree(e) {
17
17
  return jouer('fermer', e, e.racine);
18
18
  }
19
+ export async function jugerLeCandidat(e) {
20
+ return jouer('juger', e, e.racine);
21
+ }
22
+ export async function surveillerLaCiDeMain(e) {
23
+ return jouer('surveiller-la-ci-de-main', e, e.racine);
24
+ }
25
+ // Former path (grillhouse-3uv.131): the acts that answer these activities read nothing.
19
26
  export async function lireLesPassagesDeLaCI(e) {
20
27
  return jouer('passages', e, e.racine);
21
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"activites.js","sourceRoot":"","sources":["../../../src/temporal/file/activites.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,iGAAiG;AACjG,8FAA8F;AAC9F,4FAA4F;AAC5F,4BAA4B;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAMnC,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,CAAwB;IACxD,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,CAA8B;IAE9B,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,CAAwB;IACxD,OAAO,KAAK,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,CAA0B;IAC5D,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC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B,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/C,CAAC"}
@@ -41,22 +41,6 @@ export interface IssueDeLaFile {
41
41
  /** A branch reopened because it does not replay on main: its lot goes back to the developpeur. */
42
42
  conflit?: boolean;
43
43
  }
44
- /** One reading of the CI of a commit. */
45
- export type LectureDeLaCI = {
46
- etat: 'sans-ci';
47
- } | {
48
- etat: 'cherche';
49
- } | {
50
- etat: 'en-cours';
51
- passage: string;
52
- } | {
53
- etat: 'finie';
54
- passage: string;
55
- conclusion: string | null;
56
- } | {
57
- etat: 'non-lue';
58
- raison: string;
59
- };
60
44
  /**
61
45
  * One reading of the CI of every expected workflow of a commit (`lireLesPassagesDeLaCI`): green,
62
46
  * its run the first workflow's; red, the run of the first red workflow `flux`; or under way, each
@@ -138,8 +122,32 @@ export interface ActivitesDeLaFile {
138
122
  issue: IssueDeLaFile;
139
123
  }) & Rendus>;
140
124
  /**
141
- * One reading of the CI of <sha> on <branche>, every expected workflow together
142
- * (`lireLesPassagesDeLaCI`); it keeps nothing from one reading to the next.
125
+ * The final pass on the candidate <commit>, the lot laid on the tip of main (`jugerLeCandidat`):
126
+ * `{ juge: true }`, green or its tree already judged; or the issue for the circuit, red or to
127
+ * play again, the ticket told.
128
+ */
129
+ jugerLeCandidat(e: {
130
+ racine: string;
131
+ ticket: string;
132
+ branche: string;
133
+ commit: string;
134
+ }): Promise<({
135
+ juge: true;
136
+ } | {
137
+ issue: IssueDeLaFile;
138
+ }) & Rendus>;
139
+ /**
140
+ * The CI of main read once, the defect ticket of a red passage opened for the owner
141
+ * (scripts/ci-de-main.mjs `ouvrirLeDefautDeMain`); the queue goes on whatever it reads.
142
+ */
143
+ surveillerLaCiDeMain(e: {
144
+ racine: string;
145
+ }): Promise<{
146
+ etat: 'verte' | 'rouge' | 'non-lue';
147
+ }>;
148
+ /**
149
+ * Former path (grillhouse-3uv.131): one reading of the CI of <sha> on <branche>, every expected
150
+ * workflow together; the act that answers it reads nothing.
143
151
  */
144
152
  lireLesPassagesDeLaCI(e: {
145
153
  racine: string;
@@ -1,8 +1,11 @@
1
- // The contract of the queue of integration of a project and of the CI of a commit
2
- // (grillhouse-4nr.8), the CI of a ticket's branch judging it before main moves: the id of the
3
- // queue (the types of both are the names of their functions, ./deroule.ts), its signals and its query by their names, what they receive and give back, and
4
- // the activities they call (./activites.ts, each an act of scripts/faits-du-circuit.mjs over
5
- // scripts/integration/file.mjs). The workflows, their activities and their clients share it.
1
+ // The contract of the queue of integration of a project (grillhouse-4nr.8), the final pass judging
2
+ // the lot laid on the tip of main before main moves (grillhouse-3uv.121): the id of the queue (its
3
+ // type is the name of its function, ./deroule.ts), its signals and its query by their names, what
4
+ // they receive and give back, and the activities it calls (./activites.ts, each an act of
5
+ // scripts/faits-du-circuit.mjs over scripts/integration/file.mjs). The workflows, their activities
6
+ // and their clients share it. The types and activities of the former path (the CI of a ticket's
7
+ // branch, the readings of the workflows of main) stay for the executions in flight, which replay
8
+ // their history through `patched`; grillhouse-3uv.131 retires them.
6
9
  /** The id of the one queue of the repository at <racine>. */
7
10
  export const idDeLaFile = (racine) => `file:${racine}`;
8
11
  /** The signal that puts a ticket's branch in the queue. */
@@ -1 +1 @@
1
- {"version":3,"file":"contrat.js","sourceRoot":"","sources":["../../../src/temporal/file/contrat.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,8FAA8F;AAC9F,2JAA2J;AAC3J,6FAA6F;AAC7F,6FAA6F;AAE7F,6DAA6D;AAC7D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,QAAQ,MAAM,EAAE,CAAC;AAC/D,2DAA2D;AAC3D,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC/B,0FAA0F;AAC1F,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAChD,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"contrat.js","sourceRoot":"","sources":["../../../src/temporal/file/contrat.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,mGAAmG;AACnG,kGAAkG;AAClG,0FAA0F;AAC1F,mGAAmG;AACnG,gGAAgG;AAChG,iGAAiG;AACjG,oEAAoE;AAEpE,6DAA6D;AAC7D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,QAAQ,MAAM,EAAE,CAAC;AAC/D,2DAA2D;AAC3D,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC/B,0FAA0F;AAC1F,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAChD,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC"}