@roomi-fields/grillhouse 0.52.0 → 0.53.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 +48 -0
- package/agents/direct.md +1 -1
- package/cadre/templates/projet/vitest.config.cjs +45 -0
- package/charte/superviseur.md +36 -37
- package/charte.md +1 -1
- package/dist/temporal/circuit/appel.d.ts +2 -0
- package/dist/temporal/circuit/appel.js +24 -2
- package/dist/temporal/circuit/appel.js.map +1 -1
- package/dist/temporal/circuit/client.d.ts +14 -5
- package/dist/temporal/circuit/client.js +41 -9
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +17 -6
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +9 -0
- package/dist/temporal/circuit/contrat.js +6 -0
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +25 -4
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/client.d.ts +35 -1
- package/dist/temporal/client.js +144 -1
- package/dist/temporal/client.js.map +1 -1
- package/dist/temporal/commande.js +31 -13
- package/dist/temporal/commande.js.map +1 -1
- package/dist/temporal/etat.d.ts +3 -1
- package/dist/temporal/etat.js +31 -17
- package/dist/temporal/etat.js.map +1 -1
- package/dist/temporal/file/activites.js +1 -1
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +4 -5
- package/dist/temporal/file/contrat.js +2 -2
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.js +7 -5
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/installation.d.ts +103 -53
- package/dist/temporal/installation.js +842 -237
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/nuits/deroule.js +3 -1
- package/dist/temporal/nuits/deroule.js.map +1 -1
- package/dist/temporal/places/deroule.js +2 -1
- package/dist/temporal/places/deroule.js.map +1 -1
- package/dist/temporal/sonde/deroule.js +2 -1
- package/dist/temporal/sonde/deroule.js.map +1 -1
- package/dist/temporal/tickets/deroule.js +4 -3
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/dist/temporal/travailleur.d.ts +7 -1
- package/dist/temporal/travailleur.js +49 -25
- package/dist/temporal/travailleur.js.map +1 -1
- package/docs/INTERFACE.md +17 -12
- package/docs/architecture/circuit.md +18 -15
- package/docs/architecture/entree.md +7 -8
- package/docs/architecture/greffon.md +30 -21
- package/docs/architecture/installation.md +87 -58
- package/docs/architecture/machine.md +1 -1
- package/docs/architecture/tests.md +14 -5
- package/docs/lexique.md +2 -2
- package/hooks/hooks.json +10 -0
- package/hooks/register.tsx +19 -25
- package/package.json +3 -2
- package/scripts/activites.mjs +5 -4
- package/scripts/aiguillage.mjs +1 -0
- package/scripts/circuit.mjs +254 -42
- package/scripts/circuits-du-serveur.mjs +3 -2
- package/scripts/circuits-tenus.d.mts +7 -0
- package/scripts/circuits-tenus.mjs +17 -0
- package/scripts/copie-de-montee.mjs +354 -0
- package/scripts/copies-du-depot.d.mts +13 -0
- package/scripts/copies-du-depot.mjs +66 -0
- package/scripts/copies-finies.mjs +6 -40
- package/scripts/crochets.mjs +16 -2
- package/scripts/direct.mjs +2 -2
- package/scripts/droits.mjs +2 -2
- package/scripts/engendres.mjs +5 -3
- package/scripts/enveloppe/travail-de-la-copie.mjs +77 -0
- package/scripts/etapes.mjs +11 -3
- package/scripts/faits-du-circuit.mjs +12 -5
- package/scripts/file-des-tickets.d.mts +13 -2
- package/scripts/file-des-tickets.mjs +44 -12
- package/scripts/greffons.mjs +42 -27
- package/scripts/grillhouse-maj.mjs +105 -85
- package/scripts/init.mjs +1 -1
- package/scripts/integration/file.mjs +5 -2
- package/scripts/integration/integrer.mjs +14 -4
- package/scripts/jointure.d.ts +16 -0
- package/scripts/langages/c/commandes.mjs +17 -7
- package/scripts/langages/cargo/commandes.mjs +87 -34
- package/scripts/langages/cargo/index.mjs +6 -3
- package/scripts/langages/cargo/sccache.mjs +15 -12
- package/scripts/langages/python/commandes.mjs +18 -8
- package/scripts/langages/python/squelette.mjs +2 -2
- package/scripts/langages/typescript/configurations-de-vitest.mjs +118 -0
- package/scripts/langages/typescript/index.mjs +2 -0
- package/scripts/langages/typescript/migrations/configurations-en-commonjs.mjs +299 -0
- package/scripts/langages/typescript/squelette.mjs +20 -17
- package/scripts/langages/typescript/tests-de-nuit.mjs +3 -3
- package/scripts/langages/typescript/turbo-des-paquets.mjs +24 -37
- package/scripts/langages/typescript/vitest-config/base.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/bornes.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/cibles.mjs +2 -2
- package/scripts/langages/typescript/{vitest.nuit.config.mjs → vitest.nuit.config.cjs} +61 -50
- package/scripts/mesure/pression.mjs +5 -3
- package/scripts/montee.mjs +524 -0
- package/scripts/outil.mjs +5 -3
- package/scripts/paquet-npm.mjs +22 -0
- package/scripts/paquet.mjs +5 -5
- package/scripts/pre-compact.mjs +25 -0
- package/scripts/reponses-du-circuit.d.mts +17 -2
- package/scripts/reponses-du-circuit.mjs +78 -20
- package/scripts/resultats.mjs +40 -12
- package/scripts/retirer-les-copies-finies.mjs +4 -7
- package/scripts/seances.mjs +28 -3
- package/scripts/services-du-noyau.mjs +7 -2
- package/scripts/session-start.sh +18 -11
- package/scripts/sortie.mjs +4 -7
- package/scripts/sous-commandes.mjs +1 -0
- package/scripts/superviseur.mjs +110 -70
- package/scripts/tableau.mjs +127 -108
- package/scripts/ticket-du-circuit.mjs +22 -0
- package/scripts/transitions.d.mts +6 -9
- package/scripts/transitions.mjs +123 -36
- package/scripts/verrou-de-fichier.d.mts +11 -0
- package/skills/direct/SKILL.md +21 -11
- package/skills/explorateur/SKILL.md +6 -1
- package/skills/grill/SKILL.md +9 -7
- package/skills/grill/references/paquets.md +4 -4
- package/skills/pitmaster/SKILL.md +45 -33
- package/skills/pitmaster/references/consigne-agent.md +1 -1
- package/skills/relecteur/SKILL.md +8 -1
- package/skills/testwriter/SKILL.md +1 -1
- package/cadre/templates/projet/vitest.config.ts +0 -44
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,54 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.53.0] - 2026-11-30
|
|
10
|
+
|
|
11
|
+
- **A milestone compacts the supervisor's session instead of clearing it, and an idle session is compacted before its cache expires** (grillhouse-3uv.289): decided by the owner (2026-11-29). At a declared milestone the greffon calls the compaction of Claude Code where it ran `/clear`, so the history stays on screen; after 55 minutes without a turn it compacts too, with or without a note (a gap to `idleCompaction`, written in greffon.md, §5.2). A new `PreCompact` hook of the plugin (`grillhouse pre-compact`) gives the note of resumption as instructions of the summary to every compaction of the session that holds the lock, manual and automatic ones included. After a compaction the opening gives that session the circuits, their questions and the note, as after a `/clear`. `superviseur --renouveler` prints the line `{"reprise": <message>}`. The request to write the note after a compaction and `superviseur --relever --compaction` are removed: two milestones remain, a release announced and the end of the day. **Action for projects**: none beyond the update, which moves the tool and the plugin together (`npx grillhouse maj`); reopen the supervisor's session afterwards.
|
|
12
|
+
|
|
13
|
+
- **The configuration of Vitest of every package is CommonJS** (grillhouse-acl.3.4.1): the envelope shows a package out of a plan read-only, and Vite 5 writes `<configuration>.timestamp-*.mjs` beside an ESM configuration to load it, so the tests of such a package failed in EROFS. The guard `turbo-des-paquets` now refuses, at the root and in each package, a `vitest.config.*` other than `.cjs`, a configuration the script `test:unit` names by `--config` or `-c` that is not `.cjs`, and an ESM `vite.config.*` a package plays its tests under without `vitest.config` (it asks for a `vitest.config.cjs` beside it). The template, `grillhouse paquet` and the frame's own configurations write `vitest.config.cjs`, and the night's configuration is `vitest.nuit.config.cjs`. **What a project sees on the update** (`npx grillhouse maj`, migration « configurations en commonjs »): each `vitest.config.*` made of static imports and one `export default`, that no file reads by its name, is replaced by a `vitest.config.cjs` that gives the same options (read its layout, Prettier is not run); every other refused configuration stays, named with its reason, and enters `grillhouse-dette.json`, frozen: a new one is refused. **Action for projects**: none required; to convert one left, write the `vitest.config.cjs` and make its readers name it.
|
|
14
|
+
|
|
15
|
+
- **A stop on the reviewer's question keeps the findings of its verdict** (grillhouse-3uv.278.1): after a `RENDU` that carries a question to the owner (stop `besoin`), the sessions relaunched by `--depuis` read the findings of the verdict before, or none. The state of the circuit now keeps the findings still open of that verdict before the stop, as for `relecture-arret`: each role receives its own, and the findings of a direct lot with the motif `demande-un-plan` all go to the agent direct. The report of the stop names each finding without a valid recipient or putting a criterion in question, with its reason, which no author receives. `--reprendre` replays the review as before. **Action for projects**: none.
|
|
16
|
+
|
|
17
|
+
- **A finished ticket carries its agents' tokens only, and its way and time come from its circuit** (grillhouse-3uv.250.4.1): FAITS AUJOURD'HUI shared the supervisor's tokens among the tickets labelled `direct` and timed them from claim to close, though the engine leads them. Decided: no ticket receives a share of the supervisor's tokens (the day and the cumul still count them). The way of a ticket is the one of its circuit's integrated view, before the label and the kept results. A direct ticket the engine led (kept bilan « intégré », or integrated view) counts the working time of its agents and of its circuit's steps; a direct ticket no circuit led still counts from claim to close. **Action for projects**: none.
|
|
18
|
+
|
|
19
|
+
- **A ticket that only adds data is no longer a direct ticket** (grillhouse-3uv.250.5.7): decided by the owner (2026-11-29). It follows the data path of the project, its validation and its CI, without agents, as the common charter's rule of the supervisor module says. The direct circuit's lists (the rule of the three circuits, the skill `direct`, circuit.md §5.1, the lexicon), the instruction of the reviewer of a direct lot and the skill `pitmaster`, which repeated the rule, no longer name it. **Action for projects**: take `direct` and `circuit` off an open ticket that only adds data, and pass it by the data path.
|
|
20
|
+
|
|
21
|
+
- **The verification of the frame's repository no longer reddens in the envelope for what it does not open** (grillhouse-acl.3.4): in `paquet.spec.ts`, the tests whose subject is not the answer of `uv` or `cargo` play with a fake tool at the head of the PATH, and the tests of the refusals of a name that the real tool judges are skipped, naming it, where it does not run; the envelope is not widened. The Vitest configuration of `grillhouse-essais` is CommonJS (`vitest.config.cjs`), so that Vite writes nothing beside it when the package is read-only; the night awaits a package configuration exported as a promise, as Vite does, so that its options and plugins stay. **Action for projects**: none.
|
|
22
|
+
|
|
23
|
+
- **The drop-ins of a worker's unit follow it to its template** (grillhouse-acl.3.1): a drop-in of `grillhouse-travailleur-<project>.service.d/` or `grillhouse-travailleur-machine.service.d/` did not apply to the instances of the template. `grillhouse temporal installer` now copies each `*.conf` of these folders to the folder of the template (`…@.service.d/`), content unchanged, before any instance starts, while the unit of before the template stands (the machine's for a project that plays it); the pass that retires that unit removes the former files, then their folder once empty. A drop-in whose name the folder of the template already holds with another content is neither overwritten nor removed. The output names both paths of each drop-in copied, moved or in conflict. The prefix folder `grillhouse-travailleur-.service.d/` and the folders of other projects are untouched. **Action for projects**: run `npx grillhouse temporal installer`; a drop-in left in a former folder (a conflict, or a unit of before the template already retired) moves by hand to the folder of the template, then `systemctl --user daemon-reload`, a running instance reading it at its next start.
|
|
24
|
+
|
|
25
|
+
- **A message of repair names the command that repairs where it shows** (grillhouse-acl.4.11): since `npx grillhouse maj` moves the project up, commits, advances main and pushes, the messages that named it for something else name their own gesture. The opening of a session and `npx grillhouse greffons --absents` give `npx grillhouse greffons` for a frame's plugin behind (the line of a failed update of `npx grillhouse greffons` keeps `claude plugin update`). A plugin ahead gives `npx grillhouse maj <its version>` instead of `npm install -D`, and says that the supervisor launches it in the main tree, where it moves the project up, commits, advances main and pushes. A package of c, cargo or python without `package.json` gets the gesture by hand: the file to write, given in full, and the `workspaces` entry when no pattern selects it. A command of `grillhouse paquet` that fails asks to run it again in its folder, and uv absent names `npx grillhouse binaires`. **Action for projects**: none.
|
|
26
|
+
|
|
27
|
+
- **A branch the queue reopens on a conflict follows the gesture of the advance's conflict** (grillhouse-3uv.279.1): decided by the owner (2026-11-29, circuit.md §5.5). At 5.2 the circuit no longer stops at `integration` asking for `--depuis`: it makes the ticket's copy again on `agent/<ticket>` at the base of the lot, the whole lot as local work, and goes back to the pass that judges it (3.1, or 4.1 in a direct circuit), whose preparation relaunches the role that writes each file in conflict, under the same bound (`lancement`). A copy that cannot be made again stops at `lancement`, the branch kept. The queue marks `conflit` only for a rebase that leaves files in conflict. **Action for projects**: none.
|
|
28
|
+
|
|
29
|
+
- **A stop `relecture-arret` keeps the findings of its verdict** (grillhouse-3uv.278): after the stop for a finding without a valid recipient or putting a criterion in question, or at the third review, the sessions relaunched by `--depuis` read « constats ouverts : aucun », or the findings of the verdict before (seen by SH). The state of the circuit now keeps the findings still open of that verdict: each role receives its own (as context with `--contexte`, as its task without), and the next review judges them all. A faulty finding is kept without a recipient, for no author of the lot: the supervisor's context settles it, and the piece of the stop names each one with its reason. circuit.md §4.4 says what a session receives at the launch with and without a context. **Action for projects**: none.
|
|
30
|
+
|
|
31
|
+
- **The wrapper of rustc no longer disappears when sccache prunes its cache** (grillhouse-i9t): it was written in the directory of the cache (`SCCACHE_DIR`), whose oldest files sccache removes past its size, so that cargo could not run it (seen by OSD). It is now `~/.cache/grillhouse/sccache-lanceur/sccache-court-bash` (under `$XDG_CACHE_HOME` when set), which the module `cargo` declares among the directories its envelope opens in writing. **Action for projects**: none.
|
|
32
|
+
|
|
33
|
+
- **A lot that no longer applies on main at the integration follows the gesture of the advance's conflict** (grillhouse-3uv.279): decided by the owner (2026-11-29, circuit.md §5.5). The integration exits 3 when a lot does not apply (the application of the lots, or of the generated files a lot removes from the key). When main moved past the ticket's copy, the circuit no longer stops on « integration »: it goes back to the checks (the final pass in a direct circuit), whose preparation advances the copy and relaunches the role of each file in conflict; a conflict a second session does not lift stops on « lancement », and a refusal on a copy already on the tip of main stops on « integration » as before. A conflict on a test of a mechanical or « comportement inchangé » lot now launches the testwriter, instead of the gesture or the developpeur. **Action for projects**: none.
|
|
34
|
+
|
|
35
|
+
- **A ticket the plan judges a correction triviale switches to the direct circuit** (grillhouse-3uv.250.7): the sheet of the explorateur accepts the sort « correction triviale » (one wrong line, one wrong argument, that the ticket describes entirely), with its reason and its piece, judged as every piece of a sheet; without a piece the sheet is out of conformity, without a reason it is comportement changé. The plan passed (the questionneur has read it, the explorateur has answered, or the supervisor resumed the stop `questionnement`), the circuit switches without a stop: the label `circuit` becomes `direct`, the ticket goes to 3 Code, where the agent direct writes in the packages of the plan, and « ## Sorte » says the sort and its reason. A resumption keeps it direct with its sort, even when the title or the criteria changed. The sort is refused and asked again on a ticket the agent direct has already worked. The skills `explorateur` and `direct` and the instruction of the plan say it. **Action for projects**: none.
|
|
36
|
+
|
|
37
|
+
- **A direct circuit switches to the plan on `--planifier`** (grillhouse-3uv.250.6): decided by the owner (2026-11-25, circuit.md §5.6). The agent direct (`BESOIN` or `BLOQUÉ`, with its reason and piece) or the reviewer (`RENDU`) says the ticket asks for a plan by the motif `demande-un-plan`; the circuit stops on `besoin` or `hors-portee` without relaunching anyone, and the supervisor answers `--planifier --contexte <reason>` (the update `planifier`) or `--reprendre`, which keeps the direct circuit. On `--planifier`, the label `direct` becomes `circuit`, the explorer writes the plan, the copy keeps the work of the agent direct and the plan says what it keeps, a short circuit is refused on a changed copy, and the old judgment, reviews counted included, starts over.
|
|
38
|
+
|
|
39
|
+
- **A direct ticket starts by the queue of the tickets** (grillhouse-3uv.250.5): decided by the owner (2026-11-25). The queue starts an open ticket labelled `direct`, with or without `circuit`, on the same conditions as a `circuit` ticket (its section « ## Architecture » written, its dependencies closed, by priority), and its circuit counts in the project's limit (`grillhouse.circuits`) and under the machine's ceiling. `npx grillhouse circuit <ticket>` puts it in the queue without adding `circuit`; `--arreter` takes `circuit` and `direct` off the ticket; `--reprendre`, `--depuis`, `--etendre` and `--recommencer` put back `direct` for a direct circuit, `circuit` for the others. A `direct` ticket without its section, or whose lot is on main, is named like a `circuit` ticket, at the board and at the opening of the supervisor. The rescue way refusing a ticket whose circuit runs gives the gestures in an order that never leaves the ticket open and labelled for the queue. The common charter, the skills `pitmaster`, `grill` and `direct` and the agent `direct` say the direct circuit led by the engine; the second and third times of a package's birth enter by a direct ticket. **Action for projects**: after the update, the open `direct` tickets of a project start by its queue and count in its limit. For one that must not start, take `direct` off it, and `circuit` if it has it, before the update; raise `grillhouse.circuits` if needed.
|
|
40
|
+
|
|
41
|
+
- **The installation purges the versions of the tool nothing names** (grillhouse-acl.5): decided by the owner (2026-11-28). As its last gesture, `grillhouse temporal installer` removes from `~/.cache/grillhouse/outil/` each version `x.y.z`, with its failure mark, that no project of the machine, no unit of the account, no copy of a circuit not finished, no living process and no Worker Deployment names (installation.md §5.3). Its output names each version removed with the place given back, and each version kept with what names it. When the server, the processes, the copies of a project or a key that counts do not read, no version leaves; a source unread or a removal that fails has its line and the command exits 1. One pass of installation plays at a time on the account. `--programme-seul` removes nothing. **Action for projects**: none.
|
|
42
|
+
|
|
43
|
+
- **The panel shows and pushes a direct circuit from its view** (grillhouse-3uv.250.4): decided by the owner (2026-11-25). An open direct circuit stands on the line of its step like any circuit, ✎ in place of ▶ while it runs, read in its view (`CircuitLu.circuit`) and not in the label; its agent counts at 3 Code, and its question is pushed like any circuit's. The block « Direct » shows only the agents of the rescue command, on a ticket without an open circuit. A `direct` ticket not claimed takes the states of a queued ticket: the separate direct queue and its counts are gone (head « file : ● N · ⧗ N · ⊘ N », status line « ⏭ ● N · ✓ N »), the state « en attente » is named « en file », and each line of that group in a chantier bears the sign of its way.
|
|
44
|
+
|
|
45
|
+
- **One command updates a project** (grillhouse-acl.4): `npx grillhouse maj <x.y.z>`, run in the project's main worktree, replaces the four gestures by hand (the update, `grillhouse outil`, `grillhouse temporal installer`, `claude plugin update`). It works in a copy of its own on the tip of main (branch `montee/<version>`): it installs the package there (the frame's repository writes `grillhouse.outil` instead), brings the project to it, runs `npm install` itself, plays the machine's part (the published tool, the plugins, the binaries, the units and workers, the schedule of the nights), runs the verification of the sort « Montée » on the commit's content alone, commits the files it wrote, keeps the tree as judged, advances main by fast-forward (rebuilt on the new tip if main moved, five passes at most), pushes, installs in the main worktree and removes its copy. A montée that does not enter leaves main untouched and its copy kept, and the same command resumes it; without argument the command keeps the version the tip of main holds. It refuses to run from a copy, and any argument other than one `x.y.z` (exit 2). `temporal installer` takes `--declarations <dir>` and reads the server at `TEMPORAL_ADDRESS`. `grillhouse sortie --etiqueter` names this command alone. **Action for projects**: the first update from a version older than this command runs as `npx -p @roomi-fields/grillhouse@<x.y.z> grillhouse maj <x.y.z>`, without installing by hand in the main worktree; commit or set aside local changes to the files the update writes.
|
|
46
|
+
|
|
47
|
+
- **One unit per living version of the worker** (grillhouse-acl.3): the workers' units are templates, `grillhouse-travailleur-<project>@.service` and `grillhouse-travailleur-machine@.service`, each instance running the published version it names from `~/.cache/grillhouse/outil/<version>/`. `grillhouse temporal installer` starts the instance of the project's version (`grillhouse.outil`, else the installed package) beside the former ones, makes it current, and restarts no running instance; each pass retires the drained or never current instances that hold no activity, and the unit of before the template once it holds none. The worker of the machine rises without a cut. The command no longer restarts nor signals the queue (`file`, `versionDeLaFile`, `versionInstallee` leave its report); `etat` names each instance with its version, and `perime` says stale a project whose instance is not applied. **Action for projects**: run `npx grillhouse temporal installer` after the rise; without `grillhouse.outil`, the installed package must be a published one, its integrity in the lock file (a linked package or a local archive is refused).
|
|
48
|
+
|
|
49
|
+
- **A worker that restarts on the current version does not wait for it** (grillhouse-acl.6): `rendreCourante` returns at once when the first reading the server answers says the version is already current, whatever the state of the routing; before, a routing read as propagating made it fail after 50 s. A version the call itself makes current is still awaited until its routing is no longer propagating. **Action for projects**: none.
|
|
50
|
+
|
|
51
|
+
- **The frame's workers are versioned** (grillhouse-acl.2): the worker registers in a Worker Deployment per task queue, the version of its package as its version, and each workflow it serves declares its behaviour: the circuit of a ticket is pinned, and ends on the version it started on; the queue of the tickets, the queue of integration, the nights, the arbiter of the machine and the sonde auto-upgrade to the current version. One gesture, `rendreCourante` (`src/temporal/client.ts`), makes a version current on a task queue; `grillhouse temporal installer` calls it (grillhouse-acl.3); no version is released before the whole of grillhouse-acl is closed. The `patched` markers stay (their removal: grillhouse-acl.2.1). **Action for projects**: none.
|
|
52
|
+
|
|
53
|
+
- **A question to the supervisor deferred to an hour shows paused, and `--reporter` reads its hour or refuses it** (grillhouse-3uv.287): decided by the owner (2026-11-28), a question to the owner is never hidden. The board showed a deferred question as waiting, and `--reporter` handed bd any form as written (`tomorrow` was written to the ticket, `2026-11-29T09:00` failed). Until its hour, a circuit whose question to the supervisor (or end without its issue) is deferred bears ⏸ and « reporté HH:MM » (« jj/mm HH:MM » another day) on its line, with no question, count nor alert; past the hour, it shows again. A question to the owner keeps its line and count. The limit of circuits (the queue and the board) counts such a circuit again once the hour has passed; a ticket deferred with no hour still releases its place. `--reporter` accepts `H:MM`, `AAAA-MM-JJ`, `AAAA-MM-JJ HH:MM`, `AAAA-MM-JJTHH:MM`, `+<n>h` and `+<n>d`, a time to come, and refuses any other form before writing anything. **Action for projects**: replace `demain` or another free form in a call of `--reporter` by one of these forms.
|
|
54
|
+
|
|
55
|
+
- **The time budget benches of cargo are built and played under the profile `bench`** (grillhouse-510): decided by the owner (2026-11-28), a bound of time measured on unoptimized code with debuginfo means nothing (seen by OSD). The targets `tests/it_budget/` and `tests/<name>_budget.rs` get a build of their own (`cargo test --no-run --profile bench`, log `<crate>-build-bench.log`), then `cargo nextest run --cargo-profile bench`; the day and night tests keep the profile `test`. Before each bench, the module waits for the machine to be at rest, one minute at most, then plays it all the same. The benches take the project's `[profile.bench]`, inherited from `release` (no `debug_assertions` nor overflow checks unless set there); the build apart adds its time (LTO included), its memory and `target/release` on disk. The binary of another package built by its task `build`, and a path `target/debug/<bin>`, stay under the profile `dev`. **Action for projects**: none; a project whose benches rely on `debug_assertions` or overflow checks sets them in `[profile.bench]`.
|
|
56
|
+
|
|
9
57
|
## [0.52.0] - 2026-11-28
|
|
10
58
|
|
|
11
59
|
- **The night reads the fallback statement without crashing** (grillhouse-hzc.1): `repli()` of `scripts/nuit.sh` read the state of the measures, a string, as a list; from 0.49.1 to 0.51.0, it threw a `TypeError`, wrote no line of the statement, named no red tranche and replayed no interrupted one. When the project's flow declares a job that plays the measures of time, the part of PC2 was then left to play again (75), naming the measures; without such a job (the flow of the template), the part of PC2 was reported green, red tranches unreported and interrupted ones never played. It now reads that state as a string, says which tranches played on PC2 and on PC3, names the red ones, replays the interrupted ones on PC3 and says what the part of PC2 is worth. The line of the measures of time is written only when the project's flow declares a job that plays them. **Action for projects**: none.
|
package/agents/direct.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: direct
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: Écrit tests et code d'un ticket
|
|
4
|
+
description: Écrit tests et code d'un ticket du circuit direct, ensemble, dans la copie du ticket. A tous les outils ; un fichier hors du plan se dit par sa fiche BESOIN. La passe finale et un relecteur jugent son lot ; le superviseur n'écrit pas à sa place.
|
|
5
5
|
skills:
|
|
6
6
|
- grillhouse:direct
|
|
7
7
|
---
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// The day's tests of the project: the frame's base configuration (its exclusions of the night
|
|
2
|
+
// tests and the time budget benches, its common environment), by its name, the frame's package's,
|
|
3
|
+
// extended with what is the root's own.
|
|
4
|
+
module.exports = (async () => {
|
|
5
|
+
const { defineConfig, mergeConfig } = await import('vitest/config');
|
|
6
|
+
const { default: base } = await import('@roomi-fields/grillhouse/vitest-config');
|
|
7
|
+
return mergeConfig(
|
|
8
|
+
base,
|
|
9
|
+
defineConfig({
|
|
10
|
+
test: {
|
|
11
|
+
// Global test configuration
|
|
12
|
+
globals: true,
|
|
13
|
+
|
|
14
|
+
// Include patterns
|
|
15
|
+
include: ['src/**/*.{test,spec}.{ts,js,mjs}', 'tests/**/*.{test,spec}.{ts,js,mjs}'],
|
|
16
|
+
|
|
17
|
+
// Coverage configuration
|
|
18
|
+
coverage: {
|
|
19
|
+
provider: 'v8',
|
|
20
|
+
reporter: ['text', 'json', 'html'],
|
|
21
|
+
reportsDirectory: './coverage',
|
|
22
|
+
include: ['src/**/*.{ts,js,mjs}'],
|
|
23
|
+
exclude: ['src/**/*.{test,spec}.{ts,js,mjs}', 'src/**/types.ts', 'src/**/index.{ts,js}'],
|
|
24
|
+
thresholds: {
|
|
25
|
+
lines: 80,
|
|
26
|
+
functions: 80,
|
|
27
|
+
branches: 80,
|
|
28
|
+
statements: 80,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// Test timeout
|
|
33
|
+
testTimeout: 10000,
|
|
34
|
+
|
|
35
|
+
// Pool options for parallel execution
|
|
36
|
+
pool: 'threads',
|
|
37
|
+
poolOptions: {
|
|
38
|
+
threads: {
|
|
39
|
+
singleThread: false,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
})
|
|
44
|
+
);
|
|
45
|
+
})();
|
package/charte/superviseur.md
CHANGED
|
@@ -21,41 +21,40 @@ données (des fichiers qu'un schéma valide, une fiche à un catalogue) ne passe
|
|
|
21
21
|
de code ; il passe par la validation du projet et sa CI, comme une formule de Homebrew ou un
|
|
22
22
|
type de DefinitelyTyped. Ainsi le circuit garde les tests et le code pour ce qui en a.
|
|
23
23
|
|
|
24
|
-
**Un ticket prend l'
|
|
25
|
-
le circuit court pour un geste sans comportement neuf, que l'explorateur
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
repérée en analyse (une ligne fautive, un mauvais argument,
|
|
29
|
-
ou
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
(son rôle, sa frontière, ses refus, son interface, son langage) ; 2, l'écriture, le superviseur
|
|
55
|
-
avec la compétence `redacteur`, relue par le responsable : sa ligne du tableau des composants de
|
|
24
|
+
**Un ticket prend l'un de trois circuits, tous menés par le moteur** : le circuit complet pour un
|
|
25
|
+
comportement qui change ; le circuit court pour un geste sans comportement neuf, que l'explorateur
|
|
26
|
+
juge au plan par son critère, et que la bascule rend dans les deux sens ; le circuit direct, sans
|
|
27
|
+
plan, où un seul agent écrit tests et code, pour un travail que le ticket décrit en entier : une
|
|
28
|
+
correction triviale repérée en analyse (une ligne fautive, un mauvais argument), le squelette d'un
|
|
29
|
+
paquet, ou une correction du circuit que le circuit complet ou court ne peut pas porter parce qu'il
|
|
30
|
+
est en défaut. Un ticket direct porte l'étiquette `direct`, qui le fait partir par la file des
|
|
31
|
+
tickets, même s'il porte aussi `circuit` ; au plan, l'explorateur y envoie une correction triviale,
|
|
32
|
+
et l'agent direct ou le relecteur rend au plan un ticket qui en demande un (le document du circuit,
|
|
33
|
+
§5.1, §5.6). Les trois circuits comptent dans la limite du projet, répondent aux mêmes commandes et
|
|
34
|
+
entrent sur main par la file, sur leur passe finale. Un changement de comportement que le ticket ne
|
|
35
|
+
décrit pas en entier va au circuit complet, même pressé. Ainsi la voie d'un ticket se lit à la
|
|
36
|
+
charte, et non au choix de la séance.
|
|
37
|
+
|
|
38
|
+
**Le superviseur n'écrit pas le code d'un ticket, même direct** : l'agent direct (le rôle `direct`)
|
|
39
|
+
écrit tests et code ensemble, sous les droits que son rôle donne ; la passe finale juge son lot, le
|
|
40
|
+
relecteur le lit et tient la preuve du rouge (un défaut corrigé porte un test qui le reproduit), et
|
|
41
|
+
le circuit le commite. Quand le moteur lui-même est en panne, la voie de secours
|
|
42
|
+
(`npx grillhouse direct <ticket> --panne <texte>`) lance l'agent direct puis le relecteur hors du
|
|
43
|
+
moteur ; sur le lot accepté, le superviseur vérifie, commite, avance main et pousse, seul cas où il
|
|
44
|
+
le fait, et l'usage de la voie est écrit au ticket (le document du circuit, §5.8). Le verrou du
|
|
45
|
+
cadre refuse à toute séance hors enveloppe qui n'est pas un agent du cadre (le superviseur, une
|
|
46
|
+
séance lancée à la main, une séance qui perd sa variable d'enveloppe) le code et les tests d'un
|
|
47
|
+
paquet ; les documents, ceux d'un paquet comme ceux de la racine, restent écrits par le
|
|
48
|
+
superviseur. Ainsi celui qui relit n'est jamais celui qui a écrit.
|
|
49
|
+
|
|
50
|
+
**Un paquet naît en quatre temps** (un squelette n'a ni comportement ni test), comme les
|
|
51
|
+
générateurs de Nx et `cargo new --lib` : 1, le grill, le superviseur et le responsable (son rôle,
|
|
52
|
+
sa frontière, ses refus, son interface, son langage) ; 2, l'écriture, le superviseur avec la
|
|
53
|
+
compétence `redacteur`, relue par le responsable : sa ligne du tableau des composants de
|
|
56
54
|
`docs/ARCHITECTURE.md`, avec son langage, et ses documents (`<chemin>/docs/CADRE.md`,
|
|
57
|
-
`INTERFACE.md`)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
`INTERFACE.md`), portés par la description d'un ticket direct ; 3, la création, par ce ticket :
|
|
56
|
+
l'agent direct écrit les documents tels qu'ils sont relus et joue `npx grillhouse paquet <chemin>`,
|
|
57
|
+
qui lit la ligne et bâtit ce que son langage demande, les outils de ce langage compris pour son
|
|
58
|
+
premier paquet ; 4, le code, un ticket ordinaire du circuit sur un paquet qui existe. Les temps 2
|
|
59
|
+
et 3 entrent dans le même lot, sur sa passe finale. Ainsi main ne voit jamais un paquet déclaré
|
|
60
|
+
sans dossier.
|
package/charte.md
CHANGED
|
@@ -171,7 +171,7 @@ code le suit.
|
|
|
171
171
|
qu'elle exige attend, et dit ce qui l'occupe (le document de la machine, §5.2). Ainsi le poste ne
|
|
172
172
|
sature jamais ses disques.
|
|
173
173
|
- **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
|
|
174
|
-
|
|
174
|
+
sur la voie de secours, sa vérification) a jugé vert, le lot posé sur la pointe de main ;
|
|
175
175
|
elle n'attend aucune CI de branche. La CI du projet rejoue ensuite main entier, par paquets de
|
|
176
176
|
lots, au plus une fois par heure (le modèle du TAP de Google), la file la déclenchant elle-même
|
|
177
177
|
après l'entrée d'un lot, sans l'attendre. Un rouge de la CI de main ou de la nuit alerte le
|
|
@@ -23,6 +23,8 @@ export interface Appel {
|
|
|
23
23
|
mecanique: {
|
|
24
24
|
commande: string | null;
|
|
25
25
|
} | null;
|
|
26
|
+
/** The switch of a direct circuit that asks for a plan to the plan (`--planifier`). */
|
|
27
|
+
planifier: boolean;
|
|
26
28
|
contexte: string | null;
|
|
27
29
|
}
|
|
28
30
|
/** The refusal of a fresh launch of <ticket> whose circuit was stopped on the supervisor's word. */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// The reading of the command line of `grillhouse circuit` (./commande.ts runs it; circuit.md §3.1,
|
|
2
2
|
// « Commande du circuit »): its options, their combinations, and the text of the refusal of a fresh launch after `--arreter`.
|
|
3
|
+
import { heureDuReport, REFUS_DE_L_HEURE } from '../../../scripts/reponses-du-circuit.mjs';
|
|
3
4
|
import { ETAPES_DE_REPRISE } from './contrat.js';
|
|
4
5
|
export const USAGE = 'usage: npx grillhouse circuit <ticket> [--reprendre [--contexte <texte>] | ' +
|
|
5
6
|
'--depuis <testwriter|preuve|developpeur|direct|controles|passe-finale> --contexte <texte> | ' +
|
|
6
7
|
'--mecanique [<commande>] --contexte <raison> | ' +
|
|
8
|
+
'--planifier --contexte <raison> | ' +
|
|
7
9
|
'--etendre <paquet>[,<paquet>…] [--contexte <texte>] | --arreter [--contexte <motif>] | ' +
|
|
8
10
|
'--reporter <heure> [--contexte <motif>] | --chez-le-responsable | ' +
|
|
9
11
|
'--recommencer]\n';
|
|
@@ -26,6 +28,7 @@ export function lireLAppel(argv) {
|
|
|
26
28
|
chezLeResponsable: false,
|
|
27
29
|
recommencer: false,
|
|
28
30
|
mecanique: null,
|
|
31
|
+
planifier: false,
|
|
29
32
|
contexte: null,
|
|
30
33
|
};
|
|
31
34
|
for (let i = 0; i < argv.length; i++) {
|
|
@@ -38,8 +41,10 @@ export function lireLAppel(argv) {
|
|
|
38
41
|
o.arreter = true;
|
|
39
42
|
}
|
|
40
43
|
else if (a === '--reporter') {
|
|
41
|
-
if (suivant === undefined ||
|
|
42
|
-
|
|
44
|
+
if (suivant === undefined ||
|
|
45
|
+
suivant.startsWith('-') ||
|
|
46
|
+
heureDuReport(suivant, new Date()) === null) {
|
|
47
|
+
throw new Usage(REFUS_DE_L_HEURE);
|
|
43
48
|
}
|
|
44
49
|
o.reporter = suivant;
|
|
45
50
|
i++;
|
|
@@ -58,6 +63,9 @@ export function lireLAppel(argv) {
|
|
|
58
63
|
i++;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
66
|
+
else if (a === '--planifier') {
|
|
67
|
+
o.planifier = true;
|
|
68
|
+
}
|
|
61
69
|
else if (a === '--etendre') {
|
|
62
70
|
const liste = String(suivant ?? '')
|
|
63
71
|
.split(',')
|
|
@@ -100,6 +108,20 @@ export function lireLAppel(argv) {
|
|
|
100
108
|
(o.reprendre || o.depuis || o.etendre || o.arreter || o.recommencer || o.reporter)) {
|
|
101
109
|
throw new Usage('--mecanique va seule, avec son --contexte : le ticket bascule en circuit court sur le même plan.');
|
|
102
110
|
}
|
|
111
|
+
if (o.planifier &&
|
|
112
|
+
(o.reprendre ||
|
|
113
|
+
o.depuis ||
|
|
114
|
+
o.etendre ||
|
|
115
|
+
o.mecanique ||
|
|
116
|
+
o.arreter ||
|
|
117
|
+
o.recommencer ||
|
|
118
|
+
o.reporter ||
|
|
119
|
+
o.chezLeResponsable)) {
|
|
120
|
+
throw new Usage('--planifier va seule, avec son --contexte : le circuit direct bascule vers le plan.');
|
|
121
|
+
}
|
|
122
|
+
if (o.planifier && (o.contexte === null || o.contexte.trim() === '')) {
|
|
123
|
+
throw new Usage('--planifier attend son --contexte : la raison de la bascule.');
|
|
124
|
+
}
|
|
103
125
|
if (o.chezLeResponsable &&
|
|
104
126
|
(o.reprendre ||
|
|
105
127
|
o.depuis ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8HAA8H;AAC9H,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAChB,6EAA6E;IAC7E,8FAA8F;IAC9F,iDAAiD;IACjD,yFAAyF;IACzF,oEAAoE;IACpE,kBAAkB,CAAC;AAErB,uCAAuC;AACvC,MAAM,OAAO,KAAM,SAAQ,KAAK;CAAG;
|
|
1
|
+
{"version":3,"file":"appel.js","sourceRoot":"","sources":["../../../src/temporal/circuit/appel.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8HAA8H;AAC9H,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,KAAK,GAChB,6EAA6E;IAC7E,8FAA8F;IAC9F,iDAAiD;IACjD,oCAAoC;IACpC,yFAAyF;IACzF,oEAAoE;IACpE,kBAAkB,CAAC;AAErB,uCAAuC;AACvC,MAAM,OAAO,KAAM,SAAQ,KAAK;CAAG;AAyBnC,oGAAoG;AACpG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,MAAc,EAAU,EAAE,CACnE,iBAAiB,MAAM,2DAA2D;IAClF,gGAAgG;IAChG,kCAAkC,CAAC;AAErC,+EAA+E;AAC/E,MAAM,UAAU,UAAU,CAAC,IAAc;IACvC,IAAI,MAAM,GAAkB,IAAI,CAAC;IACjC,MAAM,CAAC,GAA0B;QAC/B,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,IAAI;QACd,iBAAiB,EAAE,KAAK;QACxB,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK;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AAC,EAAE,CAAC;QACxD,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;QAC3C,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;AAC1B,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const PAGE = 20;
|
|
|
14
14
|
* makes the list start again with pages of half the size, down to one workflow a page.
|
|
15
15
|
*/
|
|
16
16
|
export declare function listerLesDeroules(client: Client, query: string): Promise<WorkflowExecutionInfo[]>;
|
|
17
|
-
import { type EntreeDuCircuit, type ETAPES_DE_REPRISE, type FinDuCircuit, type VueDuCircuit } from './contrat.js';
|
|
17
|
+
import { type EntreeDuCircuit, type ETAPES_DE_REPRISE, type FinDuCircuit, type ResumeDeLEtat, type VueDuCircuit } from './contrat.js';
|
|
18
18
|
/** Starts the circuit of <entree> on the task queue <file>, or leaves the one that runs: its id. */
|
|
19
19
|
export declare function demarrerLeCircuit(client: Client, entree: EntreeDuCircuit, file: string): Promise<string>;
|
|
20
20
|
/** Where a new workflow of an answer goes: the task queue of a workflow the server no longer holds. */
|
|
@@ -35,10 +35,12 @@ export declare class ReponseRefusee extends Error {
|
|
|
35
35
|
export declare function reprendreLeCircuit(client: Client, racine: string, ticket: string, contexte?: string | null, ou?: OuReprendre): Promise<string>;
|
|
36
36
|
/**
|
|
37
37
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
38
|
-
* journal, and its line names the copy removed.
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
38
|
+
* journal, and its line names the copy removed. A direct circuit stopped on the supervisor's word,
|
|
39
|
+
* read in the state its workflow gave back, has its label `direct` put back before the door. It
|
|
40
|
+
* resets the copy, not Temporal: the finished workflow stays on the server, which the queue,
|
|
41
|
+
* counting only the live circuits, no more holds the ticket back for. A circuit that runs is refused
|
|
42
|
+
* by its name (`ReponseRefusee`) and nothing is removed; a ticket the server no longer holds is
|
|
43
|
+
* removed all the same.
|
|
42
44
|
*/
|
|
43
45
|
export declare function recommencerLeCircuit(client: Client, racine: string, ticket: string, retirer: (racine: string, ticket: string) => string): Promise<string>;
|
|
44
46
|
/**
|
|
@@ -57,6 +59,11 @@ export declare function etendreLeCircuit(client: Client, racine: string, ticket:
|
|
|
57
59
|
* gesture of 1.1; without, the developpeur writes. Refused out of such a stop, by its name.
|
|
58
60
|
*/
|
|
59
61
|
export declare function basculerEnMecanique(client: Client, racine: string, ticket: string, commande: string | null, contexte: string | null, ou?: OuReprendre): Promise<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Switches the direct circuit of <ticket>, stopped on its request for a plan, to the plan, its
|
|
64
|
+
* reason <contexte> (`--planifier`). Refused out of such a stop, by its name.
|
|
65
|
+
*/
|
|
66
|
+
export declare function planifierLeCircuit(client: Client, racine: string, ticket: string, contexte: string | null, ou?: OuReprendre): Promise<string>;
|
|
60
67
|
/** The circuit as it stands: its step, whether it waits, its question. */
|
|
61
68
|
export declare function lireLeCircuit(client: Client, racine: string, ticket: string): Promise<VueDuCircuit>;
|
|
62
69
|
/** The end of the circuit: integrated, or stopped on the supervisor's word. */
|
|
@@ -71,6 +78,8 @@ export declare function finDuCircuit(client: Client, racine: string, ticket: str
|
|
|
71
78
|
*/
|
|
72
79
|
export interface CircuitLu {
|
|
73
80
|
ticket: string;
|
|
81
|
+
/** Its path, as the summary of its state says it (`ResumeDeLEtat.circuit`). */
|
|
82
|
+
circuit: ResumeDeLEtat['circuit'];
|
|
74
83
|
etape: string | null;
|
|
75
84
|
tentative: number | null;
|
|
76
85
|
finale: boolean;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// from the step of its agent, on the task queue of the project's worker.
|
|
11
11
|
import { spawnSync } from 'node:child_process';
|
|
12
12
|
import { DepartRefuse, ticketAuLancement } from '../../../scripts/depart-du-ticket.mjs';
|
|
13
|
-
import { lesReponses, SANS_ISSUE } from '../../../scripts/reponses-du-circuit.mjs';
|
|
13
|
+
import { lesReponses, reponsePlanifier, SANS_ISSUE, } from '../../../scripts/reponses-du-circuit.mjs';
|
|
14
14
|
import { WorkflowNotFoundError, WorkflowUpdateFailedError, } from '@temporalio/client';
|
|
15
15
|
import { ApplicationFailure, defaultPayloadConverter, WorkflowExecutionAlreadyStartedError, } from '@temporalio/common';
|
|
16
16
|
import { ATTRIBUT_ETAPE, ATTRIBUT_TICKET } from '../attributs.js';
|
|
@@ -55,7 +55,7 @@ export async function listerLesDeroules(client, query) {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
import { ARRETER, CIRCUIT, DEPUIS, ETENDRE, etatDeLaReprise, idDuCircuit, L_ETAT, MECANIQUE, REFUS_DU_VALIDATEUR, REPRENDRE, } from './contrat.js';
|
|
58
|
+
import { ARRETER, CIRCUIT, DEPUIS, ETENDRE, etatDeLaReprise, idDuCircuit, L_ETAT, MECANIQUE, PLANIFIER, REFUS_DU_VALIDATEUR, REPRENDRE, } from './contrat.js';
|
|
59
59
|
/** Starts the circuit of <entree> on the task queue <file>, or leaves the one that runs: its id. */
|
|
60
60
|
export async function demarrerLeCircuit(client, entree, file) {
|
|
61
61
|
const id = idDuCircuit(entree.racine, entree.ticket);
|
|
@@ -99,6 +99,9 @@ function refuserApresLaFin(genre, raison, ticket) {
|
|
|
99
99
|
if (genre === 'etendre' && raison === 'integre') {
|
|
100
100
|
throw new ReponseRefusee(`--etendre : le lot de ${ticket} est intégré.`);
|
|
101
101
|
}
|
|
102
|
+
if (genre === 'planifier' && raison === 'integre') {
|
|
103
|
+
throw new ReponseRefusee(`--planifier : le lot de ${ticket} est intégré.`);
|
|
104
|
+
}
|
|
102
105
|
if (genre === 'mecanique' && raison === 'integre') {
|
|
103
106
|
throw new ReponseRefusee(`--mecanique : le lot de ${ticket} est intégré.`);
|
|
104
107
|
}
|
|
@@ -154,6 +157,15 @@ async function repondre(client, racine, ticket, reponse, dit, envoyer, ou) {
|
|
|
154
157
|
throw new ReponseRefusee(`le déroulé de ${ticket} a fini sans son issue (${d.status.name})${etatDArret ? '' : ', aucun état écrit'} : \`${lesReponses(ticket, d.status.name, Boolean(etatDArret))}\` le rouvre.`);
|
|
155
158
|
}
|
|
156
159
|
}
|
|
160
|
+
if (reponse.genre === 'planifier') {
|
|
161
|
+
const r = reponsePlanifier({
|
|
162
|
+
etat: etatDArret,
|
|
163
|
+
contexte: reponse.contexte ?? null,
|
|
164
|
+
});
|
|
165
|
+
if (r.refus) {
|
|
166
|
+
throw new ReponseRefusee(r.refus);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
157
169
|
}
|
|
158
170
|
catch (x) {
|
|
159
171
|
if (!(x instanceof WorkflowNotFoundError)) {
|
|
@@ -197,10 +209,12 @@ export async function reprendreLeCircuit(client, racine, ticket, contexte = null
|
|
|
197
209
|
}
|
|
198
210
|
/**
|
|
199
211
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
200
|
-
* journal, and its line names the copy removed.
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
212
|
+
* journal, and its line names the copy removed. A direct circuit stopped on the supervisor's word,
|
|
213
|
+
* read in the state its workflow gave back, has its label `direct` put back before the door. It
|
|
214
|
+
* resets the copy, not Temporal: the finished workflow stays on the server, which the queue,
|
|
215
|
+
* counting only the live circuits, no more holds the ticket back for. A circuit that runs is refused
|
|
216
|
+
* by its name (`ReponseRefusee`) and nothing is removed; a ticket the server no longer holds is
|
|
217
|
+
* removed all the same.
|
|
204
218
|
*/
|
|
205
219
|
export async function recommencerLeCircuit(client, racine, ticket, retirer) {
|
|
206
220
|
const d = await handle(client, racine, ticket)
|
|
@@ -214,7 +228,14 @@ export async function recommencerLeCircuit(client, racine, ticket, retirer) {
|
|
|
214
228
|
if (d?.status.name === 'RUNNING') {
|
|
215
229
|
throw new ReponseRefusee(`--recommencer : un circuit tourne sur ${ticket} ; \`--arreter\` l'arrête d'abord.`);
|
|
216
230
|
}
|
|
217
|
-
|
|
231
|
+
const fin = d?.status.name === 'COMPLETED'
|
|
232
|
+
? (await handle(client, racine, ticket).result())
|
|
233
|
+
: null;
|
|
234
|
+
const retiree = retirer(racine, ticket);
|
|
235
|
+
if (fin?.raison === 'arrete' && fin.etat?.circuit === 'direct') {
|
|
236
|
+
bd(racine, 'update', ticket, '--add-label', 'direct');
|
|
237
|
+
}
|
|
238
|
+
return `copie retirée : ${retiree}`;
|
|
218
239
|
}
|
|
219
240
|
/**
|
|
220
241
|
* Stops the circuit, its session with it (`--arreter`), its motive <contexte>. A circuit that does
|
|
@@ -253,6 +274,13 @@ export async function etendreLeCircuit(client, racine, ticket, paquets, contexte
|
|
|
253
274
|
export async function basculerEnMecanique(client, racine, ticket, commande, contexte, ou = {}) {
|
|
254
275
|
return repondre(client, racine, ticket, { genre: 'mecanique', commande, contexte }, commande === null ? 'basculé : le développeur écrit' : 'basculé : 1.1 Geste mécanique', () => handle(client, racine, ticket).executeUpdate(MECANIQUE, { args: [{ commande, contexte, ...seanceDe(ou) }] }), ou);
|
|
255
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* Switches the direct circuit of <ticket>, stopped on its request for a plan, to the plan, its
|
|
279
|
+
* reason <contexte> (`--planifier`). Refused out of such a stop, by its name.
|
|
280
|
+
*/
|
|
281
|
+
export async function planifierLeCircuit(client, racine, ticket, contexte, ou = {}) {
|
|
282
|
+
return repondre(client, racine, ticket, { genre: 'planifier', contexte }, 'basculé : 1 Plan', () => handle(client, racine, ticket).executeUpdate(PLANIFIER, { args: [{ contexte, ...seanceDe(ou) }] }), ou);
|
|
283
|
+
}
|
|
256
284
|
/** The circuit as it stands: its step, whether it waits, its question. */
|
|
257
285
|
export async function lireLeCircuit(client, racine, ticket) {
|
|
258
286
|
return handle(client, racine, ticket).query(L_ETAT);
|
|
@@ -318,6 +346,7 @@ export async function lireLesCircuits(client, racine, { integres = false } = {})
|
|
|
318
346
|
const reponse = lesReponses(ticket, statut, Boolean(memo.ecrit));
|
|
319
347
|
out.push({
|
|
320
348
|
ticket,
|
|
349
|
+
circuit: etat?.circuit ?? 'long',
|
|
321
350
|
etape: etat?.etape ?? null,
|
|
322
351
|
tentative: etat?.tentative ?? null,
|
|
323
352
|
finale: etat?.finale === true,
|
|
@@ -374,7 +403,7 @@ export const seanceDuSuperviseur = () => process.env.CLAUDE_CODE_SESSION_ID || n
|
|
|
374
403
|
// <recommence>, its circuit stopped on the supervisor's word was just started over: that stop no
|
|
375
404
|
// longer refuses the launch.
|
|
376
405
|
export async function mettreEnFile(client, racine, ticket, recommence = false) {
|
|
377
|
-
aLaPorte(() => ticketAuLancement(racine, ticket));
|
|
406
|
+
const lu = aLaPorte(() => ticketAuLancement(racine, ticket));
|
|
378
407
|
try {
|
|
379
408
|
const d = await client.workflow.getHandle(idDuCircuit(racine, ticket)).describe();
|
|
380
409
|
if (d.status.name === 'RUNNING') {
|
|
@@ -390,7 +419,10 @@ export async function mettreEnFile(client, racine, ticket, recommence = false) {
|
|
|
390
419
|
throw x;
|
|
391
420
|
}
|
|
392
421
|
}
|
|
393
|
-
|
|
422
|
+
// A direct ticket is in the queue by its label: `circuit` is not added to it.
|
|
423
|
+
if (!lu.ticket.labels?.includes('direct')) {
|
|
424
|
+
bd(racine, 'update', ticket, '--add-label', 'circuit');
|
|
425
|
+
}
|
|
394
426
|
await demarrerLesTickets(client, { racine }, fileDuProjet(racine), seanceDuSuperviseur());
|
|
395
427
|
return `▶ ${ticket} est dans la file des tickets du projet : son circuit part dès que ses dépendances sont fermées et qu'une place du réglage est libre ; sa question arrive dans la file de la séance du superviseur (le greffon la pousse), sa fin se lit au panneau.`;
|
|
396
428
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["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