@roomi-fields/grillhouse 0.49.1 → 0.50.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.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +24 -0
- package/bin/grillhouse.mjs +2 -0
- package/cadre/templates/projet/CLAUDE.md +13 -96
- package/cadre/templates/projet/docs/agents/issue-tracker.md +5 -5
- package/charte.md +77 -96
- package/dist/temporal/acte.js +2 -1
- package/dist/temporal/acte.js.map +1 -1
- package/dist/temporal/circuit/activites.js +2 -1
- package/dist/temporal/circuit/activites.js.map +1 -1
- package/dist/temporal/circuit/appel.js +2 -2
- package/dist/temporal/circuit/appel.js.map +1 -1
- package/dist/temporal/circuit/client.d.ts +2 -4
- package/dist/temporal/circuit/client.js +5 -8
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +5 -4
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +3 -3
- package/dist/temporal/circuit/contrat.js +2 -2
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +4 -4
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/commande.js +1 -1
- package/dist/temporal/commande.js.map +1 -1
- package/dist/temporal/deroules.js +3 -4
- package/dist/temporal/deroules.js.map +1 -1
- package/dist/temporal/etat.js +1 -1
- package/dist/temporal/etat.js.map +1 -1
- package/dist/temporal/file/activites.js +2 -1
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/client.js.map +1 -1
- package/dist/temporal/file/contrat.js +3 -2
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.js +2 -1
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/installation.js +2 -0
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/nuits/activites.js +4 -3
- package/dist/temporal/nuits/activites.js.map +1 -1
- package/dist/temporal/nuits/appel.js +2 -1
- package/dist/temporal/nuits/appel.js.map +1 -1
- package/dist/temporal/nuits/choix.js +2 -1
- package/dist/temporal/nuits/choix.js.map +1 -1
- package/dist/temporal/nuits/client.js +2 -1
- package/dist/temporal/nuits/client.js.map +1 -1
- package/dist/temporal/nuits/commande.js +2 -1
- package/dist/temporal/nuits/commande.js.map +1 -1
- package/dist/temporal/nuits/contrat.js +2 -1
- package/dist/temporal/nuits/contrat.js.map +1 -1
- package/dist/temporal/nuits/deroule.js +2 -1
- package/dist/temporal/nuits/deroule.js.map +1 -1
- package/dist/temporal/places/activites.js +2 -1
- package/dist/temporal/places/activites.js.map +1 -1
- package/dist/temporal/places/client.js +1 -0
- package/dist/temporal/places/client.js.map +1 -1
- package/dist/temporal/places/deroule.js +4 -5
- package/dist/temporal/places/deroule.js.map +1 -1
- package/dist/temporal/tickets/activites.js +1 -1
- package/dist/temporal/tickets/activites.js.map +1 -1
- package/dist/temporal/tickets/deroule.js +4 -4
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/CADRE.md +10 -68
- package/docs/INTERFACE.md +59 -179
- package/docs/architecture/circuit.md +440 -0
- package/docs/architecture/entree.md +281 -0
- package/docs/architecture/greffon.md +284 -0
- package/docs/architecture/installation.md +306 -0
- package/docs/architecture/machine.md +383 -0
- package/docs/architecture/tests.md +337 -0
- package/hooks/crochet.mjs +3 -1
- package/package.json +1 -1
- package/scripts/abi-des-dependances.mjs +2 -1
- package/scripts/activites.mjs +8 -8
- package/scripts/aiguillage.mjs +4 -4
- package/scripts/arbitrages.mjs +1 -1
- package/scripts/arbres-juges.mjs +2 -1
- package/scripts/attente-a-l-arret.mjs +7 -8
- package/scripts/attente-au-tour.mjs +2 -2
- package/scripts/attente-de-la-machine.mjs +10 -16
- package/scripts/avancement.mjs +2 -0
- package/scripts/base-des-workflows.mjs +2 -1
- package/scripts/bilan.mjs +39 -61
- package/scripts/binaires.mjs +2 -1
- package/scripts/branche-de-nuit.mjs +2 -1
- package/scripts/cadre.mjs +37 -9
- package/scripts/ci-de-main.mjs +2 -1
- package/scripts/circuit.mjs +101 -618
- package/scripts/circuits-cles.mjs +4 -6
- package/scripts/circuits-du-serveur.mjs +1 -1
- package/scripts/codes-de-sortie.mjs +1 -1
- package/scripts/coeurs-dedies.mjs +2 -4
- package/scripts/commande-du-langage.mjs +2 -0
- package/scripts/commandes-composees.mjs +3 -3
- package/scripts/commandes-du-path.mjs +1 -1
- package/scripts/composants-affectes.mjs +3 -1
- package/scripts/composition-des-langages.mjs +2 -0
- package/scripts/conformite.d.ts +2 -1
- package/scripts/conformite.mjs +2 -0
- package/scripts/consommation-des-passes.mjs +5 -4
- package/scripts/consommation.mjs +1 -0
- package/scripts/copies-finies.mjs +9 -10
- package/scripts/crochet.mjs +1 -0
- package/scripts/crochets.mjs +2 -1
- package/scripts/depart-du-ticket.mjs +2 -2
- package/scripts/dependances-internes.mjs +4 -2
- package/scripts/dernier-vert.mjs +3 -3
- package/scripts/dette.d.ts +2 -1
- package/scripts/dette.mjs +2 -0
- package/scripts/direct.mjs +66 -6
- package/scripts/disque-des-copies.mjs +1 -1
- package/scripts/donnees-cles.mjs +2 -0
- package/scripts/droits.mjs +18 -13
- package/scripts/echantillonneur-de-la-passe.mjs +1 -1
- package/scripts/effets.mjs +3 -3
- package/scripts/engendres.mjs +1 -1
- package/scripts/enveloppe/codes.mjs +1 -0
- package/scripts/enveloppe/enveloppe.mjs +61 -84
- package/scripts/enveloppe/lancer.sh +5 -3
- package/scripts/enveloppe/paquets-du-plan.mjs +4 -6
- package/scripts/enveloppe/travail-de-la-copie.mjs +17 -17
- package/scripts/etapes.mjs +10 -9
- package/scripts/etat-du-depot.mjs +2 -1
- package/scripts/faits-du-circuit.mjs +19 -19
- package/scripts/fermeture-de-la-machine.mjs +2 -2
- package/scripts/fichier-du-poste.mjs +3 -4
- package/scripts/fichiers-nommes.mjs +2 -1
- package/scripts/file-des-tickets.mjs +3 -1
- package/scripts/flux-de-la-nuit.mjs +2 -1
- package/scripts/flux-des-paquets.mjs +2 -1
- package/scripts/fusion-du-changelog.mjs +2 -1
- package/scripts/garde-de-la-memoire.mjs +1 -1
- package/scripts/gardes-du-cadre.mjs +2 -0
- package/scripts/greffons.mjs +2 -2
- package/scripts/grillhouse-maj.mjs +55 -150
- package/scripts/groupe-cles.mjs +2 -1
- package/scripts/index-interfaces.mjs +2 -0
- package/scripts/init.mjs +2 -1
- package/scripts/integration/file.mjs +3 -3
- package/scripts/integration/integrer.mjs +5 -6
- package/scripts/integration/rejeu.mjs +4 -2
- package/scripts/integration/verdict.mjs +2 -1
- package/scripts/jointure.d.ts +2 -1
- package/scripts/journal-des-etats.mjs +2 -2
- package/scripts/langages/cargo/binaires.mjs +3 -2
- package/scripts/langages/cargo/clippy.mjs +2 -0
- package/scripts/langages/cargo/commandes.mjs +72 -17
- package/scripts/langages/cargo/composants.mjs +4 -3
- package/scripts/langages/cargo/elements-du-lot.mjs +2 -0
- package/scripts/langages/cargo/etiquettes.mjs +87 -0
- package/scripts/langages/cargo/executables-de-tests.mjs +3 -1
- package/scripts/langages/cargo/exemples.mjs +6 -4
- package/scripts/langages/cargo/frontieres.mjs +2 -0
- package/scripts/langages/cargo/index-interfaces.mjs +2 -0
- package/scripts/langages/cargo/index.mjs +8 -9
- package/scripts/langages/cargo/migrations/0.28.4-tailles-des-tests.mjs +8 -8
- package/scripts/langages/cargo/migrations/0.34.0-executables-de-tests.mjs +7 -8
- package/scripts/langages/cargo/mise-a-jour.mjs +6 -3
- package/scripts/langages/cargo/sccache.mjs +10 -6
- package/scripts/langages/cargo/squelette.mjs +2 -0
- package/scripts/langages/cargo/tailles-des-tests.mjs +2 -0
- package/scripts/langages/cargo/verdict.mjs +8 -6
- package/scripts/langages/typescript/chemins-des-tests.mjs +2 -1
- package/scripts/langages/typescript/code-mort.mjs +2 -1
- package/scripts/langages/typescript/composants.mjs +7 -5
- package/scripts/langages/typescript/consommateurs-arbitres.mjs +2 -1
- package/scripts/langages/typescript/consommateurs.d.ts +2 -1
- package/scripts/langages/typescript/consommateurs.mjs +5 -7
- package/scripts/langages/typescript/construire.mjs +2 -1
- package/scripts/langages/typescript/elements-du-lot.mjs +2 -1
- package/scripts/langages/typescript/exemples.mjs +2 -1
- package/scripts/langages/typescript/frontieres.mjs +3 -2
- package/scripts/langages/typescript/index-interfaces.mjs +3 -2
- package/scripts/langages/typescript/index.mjs +3 -2
- package/scripts/langages/typescript/interfaces-contre-code.mjs +2 -1
- package/scripts/langages/typescript/lecteurs.mjs +2 -1
- package/scripts/langages/typescript/migrations/0.23.0-config-vitest.mjs +5 -6
- package/scripts/langages/typescript/migrations/0.24.4-noms-declares-inutilises.mjs +4 -8
- package/scripts/langages/typescript/migrations/0.24.6-lignes-mal-formees.mjs +5 -9
- package/scripts/langages/typescript/migrations/0.24.7-matiere-dans-les-tests.mjs +6 -10
- package/scripts/langages/typescript/migrations/0.25.0-chemins-des-tests.mjs +5 -6
- package/scripts/langages/typescript/migrations/0.25.0-tailles-des-tests.mjs +6 -8
- package/scripts/langages/typescript/migrations/0.30.0-prefixe-des-tickets.mjs +5 -4
- package/scripts/langages/typescript/migrations/0.30.0-tailles-des-outils-lourds.mjs +7 -7
- package/scripts/langages/typescript/migrations/0.30.0-titres-nommant-un-ticket.mjs +5 -6
- package/scripts/langages/typescript/migrations/0.33.0-binaire-de-jour.mjs +6 -6
- package/scripts/langages/typescript/migrations/0.33.0-tests-du-poste.mjs +5 -5
- package/scripts/langages/typescript/migrations/0.34.1-cache-des-outils.mjs +4 -4
- package/scripts/langages/typescript/migrations/0.49.0-tests-equipes.mjs +7 -7
- package/scripts/langages/typescript/mise-a-jour.mjs +5 -5
- package/scripts/langages/typescript/module-absent.mjs +2 -1
- package/scripts/langages/typescript/parcours.mjs +2 -1
- package/scripts/langages/typescript/references-par-les-types.mjs +2 -1
- package/scripts/langages/typescript/regle-des-tests.mjs +2 -1
- package/scripts/langages/typescript/resume-du-lanceur.mjs +1 -1
- package/scripts/langages/typescript/resumes.mjs +2 -1
- package/scripts/langages/typescript/squelette.mjs +2 -1
- package/scripts/langages/typescript/tailles-des-tests.mjs +5 -4
- package/scripts/langages/typescript/tests-de-nuit.mjs +5 -4
- package/scripts/langages/typescript/tests-du-poste.mjs +2 -1
- package/scripts/langages/typescript/tests.mjs +44 -66
- package/scripts/langages/typescript/titres-de-tests.mjs +2 -2
- package/scripts/langages/typescript/tranches.mjs +2 -1
- package/scripts/langages/typescript/turbo-des-paquets.mjs +87 -148
- package/scripts/langages/typescript/verdict.mjs +2 -1
- package/scripts/langages/typescript/verifier.mjs +64 -99
- package/scripts/langages/typescript/verrou-des-dependances.mjs +2 -1
- package/scripts/langages/typescript/vitest-config/avancement.reporter.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/base.mjs +5 -5
- package/scripts/langages/typescript/vitest-config/bornes.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/changements.mjs +6 -10
- package/scripts/langages/typescript/vitest-config/cibles.mjs +3 -3
- package/scripts/langages/typescript/vitest-config/delais.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/delais.setup.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/duree.classement.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/duree.reporter.mjs +4 -3
- package/scripts/langages/typescript/vitest-config/lances.mjs +3 -2
- package/scripts/langages/typescript/vitest-config/machine.setup.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/mesure.mjs +1 -1
- package/scripts/langages/typescript/vitest-config/mesure.setup.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/registre.setup.mjs +1 -0
- package/scripts/langages/typescript/vitest-config/resultats.mjs +2 -1
- package/scripts/langages/typescript/vitest-config/resultats.setup.mjs +1 -0
- package/scripts/langages/typescript/vitest.nuit.config.mjs +3 -2
- package/scripts/langages-des-paquets.mjs +3 -1
- package/scripts/langages.mjs +5 -3
- package/scripts/lecture-unique.mjs +2 -1
- package/scripts/ligne-etat/defaut.sh +2 -1
- package/scripts/ligne-etat/ligne-etat.mjs +1 -0
- package/scripts/lint-des-scripts.mjs +1 -0
- package/scripts/machine.mjs +4 -4
- package/scripts/matiere-de-test.d.ts +2 -1
- package/scripts/matieres-lues.mjs +2 -0
- package/scripts/messages-non-lus.mjs +2 -4
- package/scripts/mesure/avancement.mjs +1 -1
- package/scripts/mesure/base-de-passe.mjs +10 -13
- package/scripts/mesure/pression.mjs +3 -4
- package/scripts/mesure-de-la-machine.mjs +2 -1
- package/scripts/migrations/0.23.0-charte-importee.mjs +7 -13
- package/scripts/migrations/0.23.0-crochets-de-seance.mjs +6 -8
- package/scripts/migrations/0.23.0-marche-du-projet.mjs +8 -12
- package/scripts/migrations/0.23.2-copies-du-cadre.mjs +9 -32
- package/scripts/migrations/0.24.0-circuit-simplifie.mjs +11 -39
- package/scripts/migrations/0.24.12-tri-des-decouvertes.mjs +6 -9
- package/scripts/migrations/0.24.2-api-extractor-du-paquet.mjs +8 -19
- package/scripts/migrations/0.25.0-script-des-tests.mjs +7 -13
- package/scripts/migrations/0.27.0-langages-dans-l-architecture.mjs +9 -23
- package/scripts/migrations/0.30.0-ci-appelle-la-verification.mjs +7 -9
- package/scripts/migrations/0.31.0-paquets-dans-le-graphe.mjs +7 -18
- package/scripts/migrations/0.33.0-cache-distant.mjs +6 -9
- package/scripts/migrations/0.33.0-ci-du-cadre.mjs +5 -8
- package/scripts/migrations/0.33.0-node-26.mjs +5 -8
- package/scripts/migrations/0.35.0-greffon-mattpocock-retire.mjs +5 -10
- package/scripts/migrations/0.44.0-node-26-seul.mjs +6 -9
- package/scripts/migrations/0.44.0-seuil-des-codes-de-tickets.mjs +6 -7
- package/scripts/migrations/0.47.0-ci-de-main.mjs +6 -7
- package/scripts/migrations/0.48.0-ci-declenchee-par-la-file.mjs +6 -6
- package/scripts/migrations/0.48.0-poussee-retiree.mjs +3 -5
- package/scripts/migrations/0.49.0-reservation-de-trois-coeurs.mjs +3 -4
- package/scripts/migrations/0.50.0-reglages-hors-de-la-charte.mjs +81 -0
- package/scripts/migrations-des-gardes.mjs +2 -0
- package/scripts/migrations.mjs +4 -0
- package/scripts/newday.mjs +2 -2
- package/scripts/nuit.sh +7 -5
- package/scripts/outil.mjs +2 -1
- package/scripts/outils-cles.mjs +6 -6
- package/scripts/paquet-npm.mjs +3 -2
- package/scripts/paquet.mjs +3 -4
- package/scripts/paquets.d.ts +1 -1
- package/scripts/paquets.mjs +2 -0
- package/scripts/passe-de-la-machine.mjs +9 -12
- package/scripts/places-de-la-machine.mjs +36 -53
- package/scripts/places-du-serveur.mjs +5 -4
- package/scripts/plafond-de-la-machine.mjs +19 -19
- package/scripts/poussee-retiree.mjs +2 -1
- package/scripts/prefixe-des-tickets.mjs +1 -0
- package/scripts/preparation.mjs +2 -1
- package/scripts/recommencer.mjs +2 -2
- package/scripts/references-changees.mjs +1 -1
- package/scripts/registre-des-resultats.mjs +3 -1
- package/scripts/registre.mjs +14 -16
- package/scripts/regles-des-places.mjs +4 -6
- package/scripts/repli-de-la-nuit.mjs +2 -1
- package/scripts/reponses-du-circuit.mjs +4 -3
- package/scripts/reprise.mjs +3 -2
- package/scripts/resultats.mjs +71 -93
- package/scripts/retirer-copie.sh +2 -1
- package/scripts/retirer-les-copies-finies.mjs +2 -1
- package/scripts/seances.mjs +3 -2
- package/scripts/services-du-noyau.mjs +2 -0
- package/scripts/session-start.sh +33 -52
- package/scripts/sigle-du-projet.mjs +1 -2
- package/scripts/sortie.mjs +2 -1
- package/scripts/sources.mjs +2 -0
- package/scripts/sous-commandes.mjs +2 -1
- package/scripts/sous-modules.sh +24 -43
- package/scripts/structure-guard.sh +2 -1
- package/scripts/style-a-l-ecriture.mjs +2 -0
- package/scripts/suiveur.mjs +1 -1
- package/scripts/superviseur.mjs +36 -55
- package/scripts/tableau-des-composants.mjs +5 -7
- package/scripts/tableau.mjs +78 -121
- package/scripts/taches-du-graphe.mjs +3 -0
- package/scripts/ticket-du-circuit.mjs +1 -1
- package/scripts/transitions.mjs +15 -15
- package/scripts/un-commit-par-ticket.mjs +2 -1
- package/scripts/verdict-de-la-nuit.mjs +2 -1
- package/scripts/verrou-de-fichier.mjs +1 -0
- package/scripts/verrous/commande.mjs +2 -1
- package/scripts/verrous/ecriture-hors-enveloppe.mjs +1 -0
- package/scripts/verrous/ticket-du-sous-agent.mjs +1 -0
- package/scripts/verrous/verrou.mjs +3 -3
- package/scripts/workflows-du-cadre.mjs +2 -1
- package/skills/developpeur/SKILL.md +6 -10
- package/skills/explorateur/SKILL.md +1 -1
- package/skills/grill/SKILL.md +4 -5
- package/skills/grill/references/paquets.md +5 -8
- package/skills/pitmaster/SKILL.md +176 -268
- package/skills/pitmaster/references/cadre.md +7 -6
- package/skills/pitmaster/references/consigne-agent.md +36 -32
- package/skills/pitmaster/references/tour.md +2 -2
- package/skills/redacteur/references/documents-d-un-composant.md +9 -8
- package/skills/testwriter/SKILL.md +8 -11
- package/types/index.d.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,30 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.50.1] - 2026-11-24
|
|
10
|
+
|
|
11
|
+
- **The copy of the plugin into the package leaves out what git ignores** (grillhouse-3uv.243): an entry of `mods/grillhouse` that git ignores (a cache a tool of the plugin's package writes, `.cache-outils/`) no longer enters the published package nor the list its tests check. **Action for projects**: none.
|
|
12
|
+
|
|
13
|
+
- **The direct command survives a copy already locked and hands an advance conflict to its agent** (grillhouse-3uv.242): it reads the lock of the copy on `git worktree list --porcelain` instead of the English message of git, so a resumption no longer stops on « est déjà verrouillé » under a French git; and the copy moves onto main before the agent's session, the files its work meets in conflict named in the agent's instruction, instead of stopping and leaving them to the supervisor, whom the lock keeps from writing code. **Action for projects**: none.
|
|
14
|
+
|
|
15
|
+
- **The sessions of the agents play in Code Mode** (grillhouse-3uv.241): decided by the owner (2026-11-24). The settings of every role set `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` in their `env` block, in and out of the envelope, so the agents call their tools from the REPL; the role's hooks and permissions still apply to them, and the sheet still comes out. **Action for projects**: none.
|
|
16
|
+
|
|
17
|
+
## [0.50.0] - 2026-11-24
|
|
18
|
+
|
|
19
|
+
- **The typed lint runs after the build of its package**: the task `lint` depends on `build` and `^build`, like `typecheck`, in the frame's `turbo.json` and in the templates of a project's; it no longer reads types from a `dist/` being written, which turned a type to `any` and made the final pass red at random. **Action for projects**: none.
|
|
20
|
+
|
|
21
|
+
- **The cargo module reads the tags of a night test and plays no bench out of the poste** (grillhouse-3uv.238): `tests-de-nuit --hors-du-poste` leaves out the `tests/it_nuit/` modules and `tests/<nom>_nuit.rs` targets tagged `// @poste: <reason>`, with `--sans-equipement` those tagged `// @equipee: <reason>` too, and plays no bench `it_budget`; the benches play with `--mesures`, as in the module typescript. **Action for projects**: none.
|
|
22
|
+
|
|
23
|
+
- **The charters and the documents shrink to one rule and one link, the settings leave the charter of the projects** (grillhouse-3uv.236): decided by the owner (2026-11-24). What a mechanism document already tells is no longer told again in the charters, the skills, the README, `STRUCTURE.md` and `CONTRIBUTING.md`: each says its rule and links the document of the mechanism; the « Commandes » section of the template charter keeps the commands and one link to the document of the installation (§4.2 and §4.3), which lists the keys `grillhouse.*` and the files of the poste. The repository no longer carries the mark `.claude/template`. The migration `0.50.0-reglages-hors-de-la-charte` writes nothing: it tells a project whose `CLAUDE.md` describes settings what stays to it. **Action for projects**: take out of `CLAUDE.md` the descriptions of the settings that the update names, and put the link line of the template in their place (`cadre/templates/projet/CLAUDE.md`, « Commandes »); the update never rewrites a charter.
|
|
24
|
+
|
|
25
|
+
- **The plugin is a declared package of the workspace**: `mods/grillhouse` has its manifest (private), its tests are the task `test:unit` of the graph (`claude plugin test .`) instead of the root script `gardes`, and the dead code guard measures it; the published package carries the plugin as before. **Action for projects**: none.
|
|
26
|
+
|
|
27
|
+
- **The documents of the tests, of the installation and of the plugin enter the repository, the head document aligns on them**: `packages/grillhouse/docs/architecture/tests.md` (the tests and the languages), `installation.md` (the installation and the settings) and `greffon.md` (the plugin and the board) are the references of those mechanisms, decided point by point by the owner; the head document `docs/ARCHITECTURE.md` follows them (sixteen changes, the links of section 10), the circuit document precises a sentence on the supervisor, the entry document corrects its address, and the header of the tests command (`scripts/langages/typescript/tests.mjs`) no longer contradicts its code: a night test named is refused, and only a time budget bench and a time witness named by their file play. No behaviour of the code changes. **Action for projects**: none.
|
|
28
|
+
|
|
29
|
+
- **The documents of the entry on main and of the machine enter the repository, the head document aligns on them**: `packages/grillhouse/docs/architecture/entree.md` (the entry on main, the CI and the night) and `packages/grillhouse/docs/architecture/machine.md` (the machine and the envelope) are the references of those mechanisms, decided point by point by the owner; the head document `docs/ARCHITECTURE.md` follows them (nine sentences and two links). No behaviour of the code changes. **Action for projects**: none.
|
|
30
|
+
|
|
31
|
+
- **The document of the circuit enters the repository, the head document aligns on it**: `packages/grillhouse/docs/architecture/circuit.md` (the steps, the roles, the decision rule, the stops, the three circuits, the fallback path, the queue) is the reference of the circuit, and the package publishes it. The head document `docs/ARCHITECTURE.md` follows the owner decisions: one circuit place held by the arbiter and counted by project and by machine, a reservation at each launch of a step, the direct circuit run like the others, the fallback path and its check that records the verified content; it links the circuit document from section 10. No behaviour of the code changes. **Action for projects**: none.
|
|
32
|
+
|
|
9
33
|
## [0.49.1] - 2026-11-24
|
|
10
34
|
|
|
11
35
|
- **A test of the board no longer reads the Temporal server of the workstation** (grillhouse-3uv.218): the tests that run the board script read the circuits and the night of the workstation, so a silent or slow Temporal server changed their output. They now give the board its own matter, and the script and the tests share one function for the output of the command (`--texte` or JSON). No behaviour of the board changes. **Action for projects**: none.
|
package/bin/grillhouse.mjs
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// The frame's one command: `grillhouse <sous-commande> [arguments…]`, as `turbo run` or
|
|
3
3
|
// `changeset version` are one executable with subcommands. A project calls `npx grillhouse
|
|
4
4
|
// <sous-commande>` (`grillhouse <sous-commande>` in its npm scripts), never a path of the frame.
|
|
5
|
+
// The aiguillage by the published version is installation.md §5.5, in
|
|
6
|
+
// packages/grillhouse/docs/architecture/.
|
|
5
7
|
//
|
|
6
8
|
// - Each subcommand is a script of the package (`scripts/`), run with the arguments that follow
|
|
7
9
|
// it, in the working directory of the call, which is the project's. A `.mjs` of the core runs in
|
|
@@ -37,100 +37,17 @@ interface publiée…>. Le cadre et l'architecture montent toujours (charte comm
|
|
|
37
37
|
|
|
38
38
|
## Commandes
|
|
39
39
|
|
|
40
|
-
- `npm test`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
- `npm test` : construit, puis joue les tests ; une tâche dont rien n'a bougé est relue de son
|
|
41
|
+
cache. `npm test -- <chemins>` : un lancement ciblé, chaque chemin écrit depuis la racine.
|
|
42
|
+
`npm run test:forcer` : rejoue pour de vrai.
|
|
43
|
+
- `npm run verifier` : les gardes du cadre et du projet, le typage de chaque paquet, la mise en
|
|
44
|
+
forme, le lint et les tests ; 0 vert, 1 rouge, 75 à repasser. `npm run verifier -- --tout` : la
|
|
45
|
+
passe complète, chaque test joué pour de vrai. `npm run verifier -- --gardes` : les gardes, la
|
|
46
|
+
mise en forme et le lint.
|
|
47
|
+
- `npm run typecheck` · `npm run lint` · `npm run format:check`.
|
|
48
|
+
- Ce que joue chaque commande, et comment elle choisit les tests : le document des tests
|
|
49
|
+
(`node_modules/@roomi-fields/grillhouse/docs/architecture/tests.md`, §5.1 et §5.4).
|
|
49
50
|
- Préfixe des tickets : `<prefixe>-`.
|
|
50
|
-
- Les
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- La plage de nuit : la clé `grillhouse.plageDeNuit` du `package.json` (`{ "debut": 23, "fin": 8 }`
|
|
54
|
-
par défaut : les heures, à l'heure locale, où l'attente d'une réponse compte au bilan comme nuit,
|
|
55
|
-
à part de l'attente du superviseur et de celle du responsable).
|
|
56
|
-
- Les outils du projet : la clé `grillhouse.outils` du `package.json` (`{ "<VARIABLE>": "<chemin>" }`,
|
|
57
|
-
un chemin absolu ou sous `~` : un outil hors du dépôt que les tests exigent ; la forme longue
|
|
58
|
-
`{ "<VARIABLE>": { "chemin": "<chemin>", "contenu": true } }` le hache par son contenu : son
|
|
59
|
-
empreinte SHA-256 (fichier, ou liste triée des entrées d'un dossier) entre dans le hachage des
|
|
60
|
-
tâches par le `globalEnv` du `turbo.json` racine et se donne aux passes en `<VARIABLE>_EMPREINTE`,
|
|
61
|
-
un outil changé rejouant toutes les tâches du projet, et la forme courte reste non hachée ; l'enveloppe d'un
|
|
62
|
-
agent le monte en lecture seule et lui passe la variable, et le circuit, `npm run verifier` et la
|
|
63
|
-
nuit jouent avec la même ; lue dans l'arbre principal ; un chemin qui recouvrirait l'enveloppe
|
|
64
|
-
(`/`, la maison, un dossier caché de la maison hors `~/.local` et `~/.cache`, le trousseau
|
|
65
|
-
`~/.local/share/keyrings`, un montage de l'enveloppe) et une clé fautive sont refusés par leur nom avant tout travail).
|
|
66
|
-
- Les fichiers engendrés commités : la clé `grillhouse.engendres` du `package.json`
|
|
67
|
-
(`{ "<nom>": { "commande": "<ligne du shell>", "fichiers": ["<motif>"], "lit": ["<motif>"] } }`,
|
|
68
|
-
chaque motif depuis la racine : un fichier qu'un lecteur ne peut pas construire, une page lue
|
|
69
|
-
sur GitHub ou une somme de contrôle publiée ; l'intégration, la file et l'avance d'une copie
|
|
70
|
-
sur main ne le fusionnent pas, elles prennent la version de main et rejouent sa commande sur le
|
|
71
|
-
lot appliqué ; lue dans l'arbre principal ; une entrée que le lot retire de la clé n'est plus
|
|
72
|
-
rejouée, et ses fichiers suivent le lot, leur suppression comprise ; une clé sans commande, sans
|
|
73
|
-
fichiers ou avec un motif hors du dépôt est refusée par son nom avant tout travail).
|
|
74
|
-
- Les dossiers de matière de test : la clé `grillhouse.matieres` du `package.json` (une liste de
|
|
75
|
-
dossiers du dépôt, chacun depuis la racine : des cas qu'aucun paquet ne possède, comme le
|
|
76
|
-
`conformance/` que rejouent les tests d'un crate, le `filegroup(testonly)` de Bazel ou le
|
|
77
|
-
`tests/ui` de rustc ; le testwriter y écrit tout fichier, dans chaque langage, et son enveloppe
|
|
78
|
-
les monte en écriture, celle du développeur en lecture seule ; le relecteur et la preuve du
|
|
79
|
-
rouge les comptent comme de la matière de test, jamais du code ; lue dans l'arbre principal ;
|
|
80
|
-
un chemin vide, absolu, hors du dépôt, absent de l'arbre principal, ou qui est un paquet, en
|
|
81
|
-
contient un ou y est contenu, et une clé fautive sont refusés par le nom
|
|
82
|
-
`grillhouse.matieres` avant tout travail ; sans la clé, rien ne change).
|
|
83
|
-
- Le nombre de circuits à la fois : la clé `grillhouse.circuits` du `package.json` (un entier
|
|
84
|
-
≥ 1, **1** quand elle est absente : les circuits actifs du projet à la fois, que la file des
|
|
85
|
-
tickets tient ; un circuit arrêté sur une question au superviseur, ou repris et en attente de sa
|
|
86
|
-
place de la machine, garde sa place dans la limite, comme une carte bloquée dans la limite d'un
|
|
87
|
-
tableau Kanban : la file ne démarre aucun ticket de plus tant qu'il n'a pas sa réponse ; un
|
|
88
|
-
circuit reporté à une heure, en attente d'un autre projet ou de la nuit, ou arrêté sur une
|
|
89
|
-
question au responsable, rend sa place ; le tableau nomme, pour un projet à sa limite, les
|
|
90
|
-
circuits en attente du superviseur ; un circuit arrêté n'occupe aucune place de la machine ; lue dans l'arbre principal ; toute autre valeur est refusée par son nom avant tout
|
|
91
|
-
travail). La machine borne aussi : un ticket ne part que s'il a une place de circuit de la
|
|
92
|
-
machine, commune à ses projets et donnée dans l'ordre d'arrivée (`GRILLHOUSE_PLACES` de
|
|
93
|
-
`~/.config/grillhouse/machine.env`, 3 par défaut ; un direct en tient une aussi, de son
|
|
94
|
-
agent à sa relecture), et la place d'une copie de plus sur le disque
|
|
95
|
-
des copies (la plus grande copie mesurée du projet, sinon 1 Go, 8 Go pour Rust, plus 4 Go) ;
|
|
96
|
-
sinon il reste en file, non démarré, et le panneau dit « attend une place » ou « attend le
|
|
97
|
-
disque » avec les copies en pause qui l'occupent. Une passe (la passe lourde d'un circuit,
|
|
98
|
-
`npm run verifier`, la nuit) ne prend aucune place : elle prend sa part, que la clé suivante règle.
|
|
99
|
-
- La part d'une passe : la clé `grillhouse.part` du `package.json` (`{ "coeurs": <entier ≥ 1>,
|
|
100
|
-
"memoireGo": <nombre > 0> }`, chacun facultatif : ses cœurs et sa mémoire, que la passe réserve du
|
|
101
|
-
budget de la machine, son matériel moins la réserve de l'utilisateur —
|
|
102
|
-
`GRILLHOUSE_RESERVE_COEURS` et `GRILLHOUSE_RESERVE_MEMOIRE_GO` de `~/.config/grillhouse/machine.env`,
|
|
103
|
-
4 Go par défaut, et en cœurs min(4, max(0, cœurs − 4)) : 0 sur 4 cœurs ou moins, 2 sur 6, 4 à
|
|
104
|
-
partir de 8 ; zéro admis, une réserve réglée qui égale les cœurs est refusée ; lue dans l'arbre principal ; toute autre valeur est
|
|
105
|
-
refusée par son nom avant tout travail). Absente, la réservation vaut 3 cœurs pour un
|
|
106
|
-
circuit ordinaire, 2 pour un direct, et en mémoire le plus
|
|
107
|
-
grand pic des passes de jour du projet à son registre des consommations, plus un quart, jamais
|
|
108
|
-
sous le tiers du budget, qu'elle vaut quand le registre n'a pas de mesure ; une clé qui ne déclare que les cœurs
|
|
109
|
-
ou que la mémoire garde le défaut de l'autre ; une part plus grande que le budget vaut le budget, une seule passe jouant alors à la
|
|
110
|
-
fois. Les réservations s'additionnent contre le budget : une séance d'agent et une passe réservent
|
|
111
|
-
leurs cœurs le temps de leur phase, aucune à l'ouverture d'un circuit ni pendant qu'il est arrêté,
|
|
112
|
-
et ce qui ne tient pas attend dans l'ordre d'arrivée, son rang gardé d'une phase à l'autre. La passe n'a que cette part : le système la tient dans un groupe de contrôle de Linux à elle
|
|
113
|
-
(poids de processeur et plafond de mémoire tirés de la part, sans plafond dur de processeur), et
|
|
114
|
-
elle attend, en disant ce qu'elle attend (cœurs, mémoire, charge), quand le budget manque ; la
|
|
115
|
-
nuit joue sur la part du projet, comme une passe, sans réserver la machine ; une mesure de temps
|
|
116
|
-
et un test qui exige de la charge jouent sur des cœurs dédiés (la clé `grillhouse.mesure`). Une séance d'agent est
|
|
117
|
-
bornée comme une passe : elle tourne dans un groupe de contrôle à elle, avec un plafond dur de
|
|
118
|
-
processeur égal aux cœurs de la part (les passes qu'elle lance jouent dans ce plafond, sans groupe
|
|
119
|
-
à elles) ; sans gestionnaire de groupes, elle part sans borne et le journal du circuit le dit.
|
|
120
|
-
- Le sigle du projet : la clé `grillhouse.sigle` du `package.json` (une chaîne non vide sans
|
|
121
|
-
espace, le nom court du projet aux affichages partagés entre projets, comme le panneau de
|
|
122
|
-
plusieurs projets ; absente, le préfixe de tickets
|
|
123
|
-
de `.beads/config.yaml` sert ; une autre valeur est une faute que le panneau dit en alerte, le
|
|
124
|
-
préfixe restant le sigle).
|
|
125
|
-
- La CI de main : le flux `.github/workflows/ci.yml` que le cadre pose joue sur main, par paquets, au
|
|
126
|
-
plus une fois par heure et seulement si main a bougé depuis son dernier passage, sur la machine du
|
|
127
|
-
projet (la variable `RUNNER`). Un lot entre sur main sur sa passe finale, sans attendre la CI ; la
|
|
128
|
-
CI voit ce que la passe finale ne joue pas (autres plates-formes, matrice de versions, flux hors
|
|
129
|
-
`npm run verifier`). Son rouge alerte le superviseur avec les lots entrés depuis le dernier vert,
|
|
130
|
-
ouvre un ticket de défaut sous `a-valider`, et n'arrête pas la file.
|
|
131
|
-
- La machine vierge : le flux `.github/workflows/machine-vierge.yml` que le cadre pose rejoue, sur un
|
|
132
|
-
exécuteur `ubuntu-latest` de GitHub neuf (jamais la variable `RUNNER`), l'installation à neuf puis
|
|
133
|
-
`npm run verifier` complet ; il part au plus une fois par jour sur main, et saute le jour où main est
|
|
134
|
-
le commit de son dernier passage vert, et à chaque étiquette `v*`. Il ne part sur aucune poussée : son
|
|
135
|
-
rouge ne bloque aucune file, il se voit dans GitHub. Un projet qui veut un autre système (macOS, ARM)
|
|
136
|
-
reprend le flux à lui en ôtant la ligne de marque de sa première ligne.
|
|
51
|
+
- Les réglages du projet (les clés `grillhouse.*` du `package.json`) et ceux du poste
|
|
52
|
+
(`~/.config/grillhouse/`) : leur liste et ce que chacun règle sont au document de l'installation
|
|
53
|
+
(`node_modules/@roomi-fields/grillhouse/docs/architecture/installation.md`, §4.2 et §4.3). Cette charte n'en décrit aucun.
|
|
@@ -7,20 +7,20 @@ Issues for this repo live in Beads, a git-backed tracker: data under `.beads/`,
|
|
|
7
7
|
- One ticket = one agent session's worth of work; the body holds the brief, the plan, and (on close) the answer.
|
|
8
8
|
- Every ticket opens with an **Architecture** section, three answers written before any code: the mature model (how the mature product of the domain handles it, named), the address (where it lives in the specified architecture), the common mechanism (existing, or missing — then the missing mechanism is the work, and the reported case only its witness). A ticket without it does not start.
|
|
9
9
|
- A realisation ticket is created with its **Acceptance criteria** section (`## Critères d'acceptation`) after « Architecture »: criteria numbered `1.`, `2.`… (cited « critère 1 » in tests and comments), each a checkable statement answering a real need of the current use, edge cases and refusals included, covering every place that applies the same rule (found through the index). So the flow starts on criteria already numbered, and no agent rewrites the ticket to number them; a ticket does not go to the `testwriter` without them. A criterion on the changelog reads « the CHANGELOG says it », never tied to a section title (each release moves the entry out of the open section): the `relecteur` judges the entry on the lot; no test reads it. The entry goes in the CHANGELOG.md of the published package the lot touches, in the folder of that package (the root `CHANGELOG.md` only for a project whose root is its package).
|
|
10
|
-
- A change of behaviour is one ticket that passes from agent to agent, never a ticket per post: in the ticket's copy, the `testwriter` writes the tests; the `developpeur` finds them there and writes the code; the `relecteur` gives its verdict (`ACCEPTÉ` or `RENDU`, each finding naming its recipient, a role and a component) in its sheet, which the circuit writes on the same ticket; the circuit
|
|
10
|
+
- A change of behaviour is one ticket that passes from agent to agent, never a ticket per post: in the ticket's copy, the `testwriter` writes the tests; the `developpeur` finds them there and writes the code; the `relecteur` gives its verdict (`ACCEPTÉ` or `RENDU`, each finding naming its recipient, a role and a component) in its sheet, which the circuit writes on the same ticket; the circuit leads them, sends a lot `RENDU` back to the agents its findings name, and on `ACCEPTÉ` commits the lot in one commit on the branch `agent/<ticket>` (the ticket is labelled `en-file`); the queue brings that branch onto main, closes the ticket and pushes main (the circuit's document, `node_modules/@roomi-fields/grillhouse/docs/architecture/circuit.md`, §5.2, §5.3; the entry on main, `entree.md` beside it, §5.1).
|
|
11
11
|
- One ticket, one delivery: a goal whose split is unknown opens an exploration ticket (no code, agent `explorateur`), which closes on the realisation tickets it proposes, recorded closed and labelled `decouverte`; the supervisor reopens those the owner validates. A realisation ticket names the components it touches (« Numéros et titres ») and enters in one commit, under its own number alone; the `commit-msg` hook refuses a second commit for a closed ticket whose delivery stands, and lets a ticket reopened after its delivery (open in Beads) take correction commits; a revert (`Revert "…"`, `Reapply "…"`) passes and withdraws the delivery it names.
|
|
12
12
|
- An open ticket is born of the owner's word, or of a direct need of a project that uses the frame (a defect it meets). A discovery during work is recorded, with its example and address, in a closed ticket under the ticket that found it, labelled `decouverte` (see « Numéros et titres »). Once the ticket's lot is on main, the tri of the discoveries (step 5.3, the `explorateur`) gives each one its verdict at its ticket, with its piece, as a label: `traitee`, `doublon` or `sans-suite` leave it closed; `a-porter` (a defect of the actual use) or `non-confirmee` (no proof played again, what lacks written) reopen it under `a-valider`, for the owner. A discovery that blocks stops the agent, and its handoff names it.
|
|
13
13
|
- Types: `epic` (a chantier, always at the root: an epic has no mother), `task`, `bug`, `decision`. A mother under a chantier is a `task`; the session start lists an epic that has a mother. Priority `0`-`4`, 0 highest.
|
|
14
|
-
- Comments carry progress and handoffs: `bd comments add <id> "<text>"`. In a ticket's circuit, each comment carries its author: the circuit launches each session with `BEADS_ACTOR` naming its role (`explorateur`, `questionneur`, `testwriter`, `developpeur`, `relecteur`), writes its own lines (`Circuit · …`) as `circuit` and the reviewer's verdict as `relecteur`; the queue
|
|
14
|
+
- Comments carry progress and handoffs: `bd comments add <id> "<text>"`. In a ticket's circuit, each comment carries its author: the circuit launches each session with `BEADS_ACTOR` naming its role (`explorateur`, `questionneur`, `testwriter`, `developpeur`, `relecteur`), writes its own lines (`Circuit · …`) as `circuit` and the reviewer's verdict as `relecteur`; the queue writes as `file`; a verdict is a comment of the author `relecteur` whose first word is `ACCEPTÉ` or `RENDU`. An agent does not change its author: its rights refuse bd's `--actor`, `-a`/`--author` and the variable `BEADS_ACTOR`.
|
|
15
15
|
- Labels used by the skills: `a-valider` (proposed, waits for the owner), `decouverte` (a discovery recorded closed; the tri reopens it under `a-valider` when its verdict is `a-porter` or `non-confirmee`), `traitee`, `doublon`, `sans-suite`, `a-porter`, `non-confirmee` (the verdict of the tri of a discovery), `circuit` (the owner said to launch it: the ticket is in the flow, and only such a ticket waits in the pane's AGENTS), `attend-responsable` (a rule waits for the owner's word), `arbitrage` (a design question the supervisor settles, his « ## Arbitrage » comment at the ticket; the lot enters only with its verdict).
|
|
16
16
|
|
|
17
17
|
## Numéros et titres
|
|
18
18
|
|
|
19
|
-
- A chantier is an `epic` at the root; under it, every subject has a mother ticket (a `task`), open while work remains under it. Every ticket is created under its mother, so Beads numbers it natively: `
|
|
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: `
|
|
19
|
+
- A chantier is an `epic` at the root; under it, every subject has a mother ticket (a `task`), open while work remains under it. Every ticket is created under its mother, so Beads numbers it natively: `12.1`, `12.2`, `12.2.1`.
|
|
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: `mon-projet-`). 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 »): `12.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 »). Run again for the same mother and the same title, it creates no second ticket: it prints the id of the existing one and says so (a closed ticket counts for a discovery alone: a defect that comes back gets a new ticket); past 5 s on a call of Beads, it says which one it waits for. One creation runs at a time in a project, its copies included: another launched meanwhile waits for it.
|
|
22
22
|
|
|
23
|
-
- A ticket goes through the
|
|
23
|
+
- A ticket goes through the numbered steps of its circuit, one list for every ticket (the circuit's document, §5.1): 1 Plan (`explorateur`, then `questionneur`), 2 Tests (`testwriter`), 3 Code (`developpeur`), 4 Passe finale et relecture (`relecteur` at 4.3), 5 Intégration, and their sub-steps. No branch is pushed and no CI of a branch is read; the CI of the project plays afterwards on main, and a red opens a defect ticket under `a-valider` (the entry on main, §5.2). 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 « 12.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
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Les règles que tout agent applique, identiques dans chaque projet qui installe le cadre. La charte
|
|
4
4
|
du projet (`CLAUDE.md`) l'importe depuis le paquet installé et porte ce qui lui est propre : son
|
|
5
|
-
nom, son responsable, ce qui décide chez lui, ses critères d'arbitrage, ses commandes
|
|
6
|
-
d'un rôle vit dans sa compétence
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
nom, son responsable, ce qui décide chez lui, ses critères d'arbitrage, ses commandes ; elle ne
|
|
6
|
+
décrit aucun réglage. Le détail d'un rôle vit dans sa compétence ; celui d'un mécanisme du cadre
|
|
7
|
+
dans son document, sous `node_modules/@roomi-fields/grillhouse/docs/architecture/` : le circuit
|
|
8
|
+
(`circuit.md`), l'entrée sur main, la CI et la nuit (`entree.md`), la machine et l'enveloppe
|
|
9
|
+
(`machine.md`), les tests et les langages (`tests.md`), l'installation et les réglages d'un
|
|
10
|
+
projet (`installation.md`), le greffon et le panneau (`greffon.md`). Une règle de cette charte
|
|
11
|
+
renvoie au paragraphe qui la décrit. Ce fichier ne se modifie pas dans un projet : un écart se
|
|
12
|
+
propose à Grillhouse. Ainsi les projets suivent un seul cadre, et chaque séance ne charge que ce
|
|
13
|
+
qu'elle applique.
|
|
10
14
|
|
|
11
15
|
## Ce qui décide
|
|
12
16
|
|
|
@@ -44,33 +48,22 @@ professionnel.
|
|
|
44
48
|
structurée de son rôle, sur laquelle le circuit décide. Ainsi la passation sert l'humain, et
|
|
45
49
|
la fiche le circuit.
|
|
46
50
|
|
|
47
|
-
Un ticket parcourt les étapes de son circuit
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
3.1 Contrôles ; 4 Passe finale et relecture : la passe finale, la régénération des références,
|
|
52
|
-
puis le relecteur, qui rend une ligne de conformité par élément que le lot ajoute, change ou
|
|
53
|
-
supprime ; 5 Intégration, et 5.3 Tri des découvertes, l'explorateur, sur le lot entré sur main.
|
|
54
|
-
Ainsi chaque agent travaille dans son cadre,
|
|
55
|
-
et le numéro d'une étape dit où en est chaque ticket.
|
|
51
|
+
Un ticket parcourt les étapes de son circuit, chacune tenue par un rôle, agent du cadre, sous ses
|
|
52
|
+
droits, ou par le circuit lui-même ; leur liste est une seule (`etapes.mjs`), et le document du
|
|
53
|
+
circuit la décrit (§5.1), avec ce que chaque rôle écrit (§3.3). Ainsi chaque agent travaille dans
|
|
54
|
+
son cadre, et le numéro d'une étape dit où en est chaque ticket.
|
|
56
55
|
|
|
57
56
|
**Le circuit fait les gestes, une vraie question monte** : le circuit fait lui-même les gestes
|
|
58
|
-
mécaniques que la liste des étapes écrit (
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
**Le greffon pousse les questions
|
|
63
|
-
acquitte** :
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
avec son message, répondue) et ne revient qu'une fois lue, à l'intervalle de la clé `grillhouse.rappel`
|
|
69
|
-
(10 minutes par défaut) compté depuis sa lecture, jamais tant qu'elle est en file ; sa réponse au
|
|
70
|
-
circuit l'acquitte, et `--chez-le-responsable` la tait jusqu'à cette réponse quand le superviseur l'a
|
|
71
|
-
portée au responsable. Sans séance de superviseur ni
|
|
72
|
-
greffon, rien n'est poussé : le tableau, l'ouverture de séance et le crochet de fin de tour portent
|
|
73
|
-
les questions. Ainsi une question ne dépend d'aucune attente que la séance relance.
|
|
57
|
+
mécaniques que la liste des étapes écrit (le document du circuit, §5.5) ; tout autre arrêt monte
|
|
58
|
+
au superviseur avec sa pièce, et il monte au responsable ce qui lui revient (§5.4).
|
|
59
|
+
Ainsi aucune séance ne juge ce qu'une règle tranche.
|
|
60
|
+
|
|
61
|
+
**Le greffon pousse les questions des circuits à la séance du superviseur, et la réponse les
|
|
62
|
+
acquitte** : seule la séance qui tient le verrou du superviseur les reçoit, un message par
|
|
63
|
+
relevé, jamais pendant un de ses tours ; une question lue et restée sans réponse revient à
|
|
64
|
+
l'intervalle de rappel du projet. Les états d'une question, le groupe de projets et la réponse
|
|
65
|
+
portée au responsable sont au document du greffon (§5.1). Ainsi une question ne dépend d'aucune
|
|
66
|
+
attente que la séance relance.
|
|
74
67
|
|
|
75
68
|
**Un agent qui a la réponse l'applique** : une décision qu'il sait trancher et qu'il recommande
|
|
76
69
|
(un nom, une signature, un paquet à retirer de son plan), il la prend et l'écrit dans sa fiche,
|
|
@@ -118,15 +111,17 @@ justification à donner. Chaque sorte de test prouve une chose :
|
|
|
118
111
|
| Banc de temps, témoin de temps | Un temps reste sous sa borne | Non : mesuré la nuit |
|
|
119
112
|
| Test de nuit | Le produit entier, monté dans un projet d'essai | Oui s'il porte le travail du ticket, joué la nuit |
|
|
120
113
|
|
|
121
|
-
Ainsi la preuve du rouge mesure le travail, et aucun test ne rougit pour la forme.
|
|
114
|
+
Ainsi la preuve du rouge mesure le travail, et aucun test ne rougit pour la forme. La preuve, ce
|
|
115
|
+
qu'elle joue et ce qu'elle refuse : le document des tests (§5.2).
|
|
122
116
|
|
|
123
117
|
**La taille d'un test suit la pyramide** (la pyramide des tests de Google, les tailles de
|
|
124
118
|
Bazel) : un test petit vérifie son module par son interface, sans processus ; un test moyen
|
|
125
119
|
assemble quelques modules sur la machine, avec des processus locaux ; un test grand monte un
|
|
126
120
|
projet d'essai et y lance le produit ou le cadre entier : il est un test de nuit (`*.nuit.test.*`,
|
|
127
|
-
`*_nuit_test.py`, un module de `tests/it_nuit/` en Rust), jamais joué au fil du travail. Chaque
|
|
128
|
-
|
|
129
|
-
un grand test de jour, et la dette
|
|
121
|
+
`*_nuit_test.py`, un module de `tests/it_nuit/` en Rust), jamais joué au fil du travail. Chaque
|
|
122
|
+
test prend la plus petite taille qui prouve son critère, dans Grillhouse comme dans chaque projet.
|
|
123
|
+
La garde des tailles (`grillhouse tailles-des-tests`) refuse un grand test de jour, et la dette
|
|
124
|
+
inscrite des grands tests existants ne fait que baisser (les gardes : le document des tests, §3.4). Un
|
|
130
125
|
test de jour valide le code en l'important : lancer la commande grillhouse (son binaire, un
|
|
131
126
|
script du cadre) est réservé aux tests de bout-en-bout, sous un dossier `e2e/`, et la même garde
|
|
132
127
|
refuse les autres. Un test qui a besoin d'un autre paquet construit — le binaire ou la
|
|
@@ -145,21 +140,21 @@ test vit autant que son comportement, pas que son ticket.
|
|
|
145
140
|
**Une mesure de temps joue la nuit** (les tests `manual` de Bazel, les bancs de rustc-perf hors de
|
|
146
141
|
la CI de chaque commit) : le jour sert l'activité, et sa machine est toujours chargée. Un test qui
|
|
147
142
|
mesure un temps (un banc de temps, un témoin de temps) est hors du jour dans chaque langage, comme
|
|
148
|
-
un test de nuit ; la nuit le joue
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
il est rouge, et un délai trop juste s'élargit,
|
|
152
|
-
le jour avance, et une mesure se prend au repos.
|
|
143
|
+
un test de nuit ; la nuit le joue sur des cœurs dédiés que personne d'autre ne touche, et un
|
|
144
|
+
échec sous charge y est « à repasser » (75) (la nuit : le document de l'entrée sur main, §5.3 ;
|
|
145
|
+
les cœurs dédiés : le document de la machine, §5.2). Le jour n'attend aucun repos : un délai de
|
|
146
|
+
test est un garde-fou, pas une mesure ; dépassé, il est rouge, et un délai trop juste s'élargit,
|
|
147
|
+
très au-dessus de la durée normale du test. Ainsi le jour avance, et une mesure se prend au repos.
|
|
153
148
|
|
|
154
149
|
**Un test qui exige de la charge joue la nuit** (les tests de résistance de Chromium et de rustc,
|
|
155
150
|
hors de la passe de chaque changement) : un test qui a besoin d'une machine chargée produit sa
|
|
156
|
-
charge lui-même et est un test de nuit, joué
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
151
|
+
charge lui-même et est un test de nuit, joué sur des cœurs dédiés (`grillhouse.mesure`), comme
|
|
152
|
+
une mesure de temps. Pendant la nuit d'un projet, les autres projets continuent de travailler :
|
|
153
|
+
seuls une mesure de temps et un test qui exige de la charge prennent des cœurs que personne d'autre
|
|
154
|
+
ne touche (l'étiquette `exclusive` de Bazel, donnée aux seuls tests qui l'exigent, non à la
|
|
155
|
+
suite). De jour, personne ne fabrique de charge : un test soupçonné instable se rejoue par
|
|
156
|
+
`npm run test:forcer`, sans boucle ni processus lancés pour occuper la machine. Ainsi la charge
|
|
157
|
+
d'un test reste la sienne, et le jour garde sa machine.
|
|
163
158
|
|
|
164
159
|
**Un projet a plusieurs langages, un paquet un seul** : chaque paquet relève du langage de son
|
|
165
160
|
outil, et `npm test`, la vérification et le circuit jouent chaque paquet avec cet outil. Ainsi
|
|
@@ -169,8 +164,8 @@ chaque paquet se construit et se teste d'une seule façon.
|
|
|
169
164
|
composants de `docs/ARCHITECTURE.md` le nomme, l'`INTERFACE.md` du paquet le reprend, et le cadre
|
|
170
165
|
le lit là, sans le deviner aux fichiers ; la garde `grillhouse langages-des-paquets` refuse un
|
|
171
166
|
paquet que l'architecture ne déclare pas, dont le manifeste suit un autre langage, ou qui n'a pas
|
|
172
|
-
le manifeste du sien. Ainsi
|
|
173
|
-
|
|
167
|
+
le manifeste du sien (le document des tests, §5.6). Ainsi l'architecture fixe le langage, et le
|
|
168
|
+
code le suit.
|
|
174
169
|
|
|
175
170
|
**Un test vit dans un fichier à lui**, jamais dans un fichier de code, reconnu au nom ou au
|
|
176
171
|
dossier qu'attend l'outil de son langage : près de son module pour un test unitaire (en Rust, un
|
|
@@ -217,19 +212,12 @@ testwriter et la preuve du rouge, et une séance du développeur écrit, puis le
|
|
|
217
212
|
relecture. Reste au circuit complet ce qu'un utilisateur ou un autre paquet observe (une sortie,
|
|
218
213
|
un code de retour, une interface publiée) ; le texte qui accompagne un changement de comportement
|
|
219
214
|
reste dans son lot. Une configuration dont une garde mesure l'effet reste au circuit. Une
|
|
220
|
-
réorganisation qui a du code
|
|
221
|
-
suite existante
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
testwriter qui ne trouve aucun comportement à tester s'arrête (motif `aucun-comportement`), ou la
|
|
227
|
-
preuve du rouge refuse un lot de tests dont aucun ne peut rougir (arrêt `preuve`), et le
|
|
228
|
-
superviseur répond `--mecanique [<commande>]` (avec sa commande vers 1.1, sans elle vers le
|
|
229
|
-
développeur) ; le relecteur d'un lot du circuit court qui voit un comportement changer le rend
|
|
230
|
-
avec le motif `comportement-change`, et le ticket repart à 2 Tests, sa sorte changée. Cette
|
|
231
|
-
bascule compte parmi les `RENDU` : le troisième arrête toujours le circuit. Ainsi chaque séance
|
|
232
|
-
du circuit a un lot à écrire.
|
|
215
|
+
réorganisation qui a du code et dont les tests s'adaptent (« comportement tests-adaptés ») garde le
|
|
216
|
+
circuit complet, la suite existante faisant la preuve. La bascule marche dans les deux sens, sur le
|
|
217
|
+
même plan, ses paquets et ses critères gardés : un lot de tests dont aucun ne peut rougir passe au
|
|
218
|
+
circuit court, un lot du circuit court qui change un comportement repart au circuit complet ; ses
|
|
219
|
+
arrêts, les réponses du superviseur et leur compte parmi les `RENDU` sont au document du circuit
|
|
220
|
+
(§5.6, §5.4). Ainsi chaque séance du circuit a un lot à écrire.
|
|
233
221
|
|
|
234
222
|
**Un ticket prend l'une de trois voies** : le circuit complet pour un comportement qui change ;
|
|
235
223
|
le circuit court pour un geste sans comportement neuf, que l'explorateur juge au plan par son critère, et que la bascule rend dans les deux sens ; hors
|
|
@@ -286,18 +274,18 @@ dossier.
|
|
|
286
274
|
Ainsi le cadre ne maintient aucune spécificité par composant.
|
|
287
275
|
- **Une dette connue s'inscrit et se gèle** (`grillhouse-dette.json`) : une garde refuse tout
|
|
288
276
|
constat neuf, et le compte ne remonte jamais. Une garde à dette neuve du cadre arrive avec sa
|
|
289
|
-
migration, qui inscrit la dette existante des projets (
|
|
290
|
-
|
|
277
|
+
migration, qui inscrit la dette existante des projets (le document des tests, §5.5). Ainsi la
|
|
278
|
+
dette ne fait que baisser, et un projet monte sans geste à la main.
|
|
291
279
|
- **Un flux de la CI déclare les paquets qu'il exerce, le relecteur le lit** (`grillhouse.flux` du
|
|
292
280
|
`package.json` racine) : une garde refuse un flux sans entrée ou un paquet inconnu, et la
|
|
293
|
-
consigne du relecteur nomme chaque flux que le lot touche
|
|
294
|
-
changement est lu avant le commit.
|
|
281
|
+
consigne du relecteur nomme chaque flux que le lot touche (le document des tests, §3.4). Ainsi un
|
|
282
|
+
flux qui ne suit pas un changement est lu avant le commit.
|
|
295
283
|
- **Un fichier engendré se construit** plutôt que de se commiter (au démarrage, au déploiement),
|
|
296
284
|
comme les index de Homebrew ou de caniuse. Un fichier qu'un lecteur ne peut pas construire
|
|
297
285
|
(une page lue sur GitHub, une somme de contrôle publiée) reste commité : le projet le déclare
|
|
298
|
-
avec sa commande (`grillhouse.engendres`
|
|
299
|
-
|
|
300
|
-
entrent tous deux.
|
|
286
|
+
avec sa commande (`grillhouse.engendres`), et l'entrée sur main le régénère sur le lot au lieu
|
|
287
|
+
de le fusionner (le document de l'entrée sur main, §5.1). Ainsi deux tickets qui touchent ses
|
|
288
|
+
sources entrent tous deux.
|
|
301
289
|
- **Un remplacement supprime le remplacé** dans le même commit, avec ses consommateurs et ses
|
|
302
290
|
gardes. Ainsi le produit garde une seule façon de faire chaque chose.
|
|
303
291
|
- **Une règle retirée emporte ce qu'elle seule tenait** : retirer une règle supprime, dans le même
|
|
@@ -328,16 +316,15 @@ dossier.
|
|
|
328
316
|
- **Les tests se lancent par `npm test`** : `npm test -- <chemins>` pour un lancement ciblé,
|
|
329
317
|
chaque chemin écrit depuis la racine du dépôt ; `npm run test:forcer -- <chemins>` pour rejouer
|
|
330
318
|
pour de vrai un test soupçonné instable. `npm run verifier` joue les gardes, le typage de chaque
|
|
331
|
-
paquet et les tests ; `npm run verifier -- --gardes`, les gardes, la mise en forme et le lint. Aucun
|
|
332
|
-
l'outil de test directement.
|
|
333
|
-
tant que rien ne
|
|
319
|
+
paquet et les tests ; `npm run verifier -- --gardes`, les gardes, la mise en forme et le lint. Aucun
|
|
320
|
+
agent ne lance l'outil de test directement. Ce que chaque commande joue : le document des tests
|
|
321
|
+
(§5.1, §5.4). Ainsi chaque test tourne avec ce dont il dépend, et une seule fois tant que rien ne
|
|
322
|
+
change.
|
|
334
323
|
- **Les tests ne laissent rien dans le dossier temporaire** : un test crée ses fichiers et
|
|
335
324
|
dossiers temporaires par l'outil de son langage, qui les retire à la fin, test rouge compris ;
|
|
336
|
-
aucun chemin ne se bâtit à la main sous le dossier temporaire.
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
dossier temporaire, souvent un disque en mémoire que partagent les séances du poste, ne sature
|
|
340
|
-
jamais.
|
|
325
|
+
aucun chemin ne se bâtit à la main sous le dossier temporaire. Une passe de tests échoue en
|
|
326
|
+
nommant ce qu'un test y laisse (le document des tests, §4.2). Ainsi le dossier temporaire,
|
|
327
|
+
souvent un disque en mémoire que partagent les séances du poste, ne sature jamais.
|
|
341
328
|
- **Un fichier temporaire meurt avec son propriétaire** : une passe ou une séance hors ticket (la
|
|
342
329
|
nuit, une vérification) écrit sous un dossier temporaire à elle, retiré à sa fin, même
|
|
343
330
|
interrompue, et balayé par la suivante quand son processus est tué ; un agent écrit sous celui
|
|
@@ -347,33 +334,27 @@ dossier.
|
|
|
347
334
|
reprendre vit dans la copie du ticket ou sa passation, jamais dans le seul dossier temporaire,
|
|
348
335
|
qui ne porte que ce qui se refait. Le dossier temporaire ne tient ni copie du dépôt, ni
|
|
349
336
|
`node_modules`, ni cache : un cache de compilation va sous `~/.cache/grillhouse/`. Une passe
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
disques.
|
|
337
|
+
qui ne trouve pas la place de disque qu'elle exige attend, et dit ce qui l'occupe (le document de
|
|
338
|
+
la machine, §5.2). Ainsi le poste ne sature jamais ses disques.
|
|
353
339
|
- **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
|
|
354
340
|
hors du circuit, la vérification du lot direct) a jugé vert, le lot posé sur la pointe de main ;
|
|
355
|
-
elle n'attend aucune CI de branche. La CI du projet
|
|
356
|
-
une fois par heure (le modèle
|
|
357
|
-
après l'entrée d'un lot
|
|
358
|
-
|
|
359
|
-
de
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
quarantaine dans le test lui-même (`it.skip` ou `it.fails`), avec le ticket qui le corrige.
|
|
363
|
-
Ainsi chaque rouge a son ticket.
|
|
341
|
+
elle n'attend aucune CI de branche. La CI du projet rejoue ensuite main entier, par paquets de
|
|
342
|
+
lots, au plus une fois par heure (le modèle du TAP de Google), la file la déclenchant elle-même
|
|
343
|
+
après l'entrée d'un lot, sans l'attendre. Un rouge de la CI de main ou de la nuit alerte le
|
|
344
|
+
superviseur avec les lots entrés depuis le dernier vert, sans arrêter la file, et ouvre un ticket
|
|
345
|
+
de défaut : un rouge de main est un défaut ouvert tant que ce ticket n'est pas fermé (le document
|
|
346
|
+
de l'entrée sur main, §2, §5.2). Un test connu rouge se met en quarantaine dans le test lui-même,
|
|
347
|
+
avec le ticket qui le corrige. Ainsi chaque rouge a son ticket.
|
|
364
348
|
- **L'index d'abord** : toute recherche commence par `rtfm_search` (mode `hybrid`) pour le quoi, et
|
|
365
349
|
par `codegraph explore` (ou l'outil `codegraph_explore`) pour l'appel ; le shell lit un fichier
|
|
366
350
|
déjà nommé. Ainsi une affirmation sur le code repose sur ce que le code contient.
|
|
367
351
|
- **Tout se lit, le plan s'écrit** : dans son enveloppe, un agent lit tout le dépôt, index compris,
|
|
368
352
|
et n'écrit que les paquets que le plan de son ticket nomme. Une écriture hors du plan l'arrête,
|
|
369
|
-
et le superviseur étend le plan ou refuse.
|
|
370
|
-
arrêt, sa pièce écrite au ticket : un fichier que la description du ticket nomme,
|
|
371
|
-
composant
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
paquet est un fichier de test ; le circuit étend alors le plan à ces fichiers de test seuls,
|
|
375
|
-
que le testwriter écrit, le code du lecteur restant hors du plan. Ainsi
|
|
376
|
-
l'agent lit ce dont il a besoin, et les gardes tiennent l'architecture.
|
|
353
|
+
et le superviseur étend le plan ou refuse. Dans trois cas, le circuit étend le plan lui-même,
|
|
354
|
+
sans arrêt, sa pièce écrite au ticket : un fichier que la description du ticket nomme, un
|
|
355
|
+
composant écarté du plan qui rougit, et les seuls fichiers de test d'un paquet lecteur que le lot
|
|
356
|
+
fait rougir (le document du circuit, §5.5). Ainsi l'agent lit ce dont il a besoin, et les gardes tiennent
|
|
357
|
+
l'architecture.
|
|
377
358
|
- Tickets : Beads (`bd`), sous le préfixe du projet, voir `docs/agents/issue-tracker.md`.
|
|
378
359
|
- Une compétence du cadre s'appelle avec son préfixe `grillhouse:` ; un document pour un agent
|
|
379
360
|
s'écrit avec `grillhouse:writing-for-agents`.
|
package/dist/temporal/acte.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// The launcher of an act (circuit.md §3.1, « Activités du circuit et lanceur d'acte »; §2.3). One
|
|
2
|
+
// act of the circuit (scripts/faits-du-circuit.mjs), which the activities of the workflow of a
|
|
2
3
|
// ticket (./circuit/activites.ts) and of the queue of a project (./file/activites.ts) play, in a
|
|
3
4
|
// process of its own, in the main tree of the repository, as
|
|
4
5
|
// a CI runner plays each job in a child process. While the act plays, the activity sends a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acte.js","sourceRoot":"","sources":["../../src/temporal/acte.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"acte.js","sourceRoot":"","sources":["../../src/temporal/acte.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,+FAA+F;AAC/F,iGAAiG;AACjG,6DAA6D;AAC7D,2FAA2F;AAC3F,kGAAkG;AAClG,+FAA+F;AAC/F,iGAAiG;AACjG,mGAAmG;AACnG,gGAAgG;AAChG,4FAA4F;AAC5F,gGAAgG;AAChG,0GAA0G;AAC1G,0FAA0F;AAC1F,mGAAmG;AACnG,+FAA+F;AAC/F,mGAAmG;AACnG,kGAAkG;AAClG,4FAA4F;AAC5F,0EAA0E;AAC1E,4FAA4F;AAC5F,0BAA0B;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAEhG,gGAAgG;AAChG,MA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C,kBAAkB,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// The activities of the workflow of a ticket (./deroule.ts
|
|
1
|
+
// The activities of the workflow of a ticket (./deroule.ts; circuit.md §3.1, « Activités du
|
|
2
|
+
// circuit et lanceur d'acte »): each plays one act of the circuit
|
|
2
3
|
// in a process of its own (../acte.ts); each act but `effet` gives back the effects it emitted,
|
|
3
4
|
// which the workflow plays one by one (`jouerUnEffet`); and the acts of its pause on a question,
|
|
4
5
|
// its copy measured and its place asked again (`ActivitesDeLaPause`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activites.js","sourceRoot":"","sources":["../../../src/temporal/circuit/activites.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"activites.js","sourceRoot":"","sources":["../../../src/temporal/circuit/activites.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,kEAAkE;AAClE,gGAAgG;AAChG,iGAAiG;AACjG,sEAAsE;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAI1D,MAAM,EAAE,GAAG,CAAC,CAAqB,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;AAI/C,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,CAA4B;IAE5B,OAAO,KAAK,CAA4B,QAAQ,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,CAA4B;IAE5B,OAAO,KAAK,CAA4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EAAE,CAAC;IAC3B,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,mBAAmB,CAAC,CAAC,CAAC,MAAM,EAAE;YACnD,MAAM,EAAE,CAAC,CAAC,MAAM;YAChB,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;YAC3C,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC;SAC3B,CAAC,CAAC;QACH,OAAO,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;YAAS,CAAC;QACT,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,CAA6B;IAE7B,OAAO,KAAK,CAA6B,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// The reading of the command line of `grillhouse circuit` (./commande.ts runs it
|
|
2
|
-
// combinations, and the text of the refusal of a fresh launch after `--arreter`.
|
|
1
|
+
// The reading of the command line of `grillhouse circuit` (./commande.ts runs it; circuit.md §3.1,
|
|
2
|
+
// « Commande du circuit »): its options, their combinations, and the text of the refusal of a fresh launch after `--arreter`.
|
|
3
3
|
import { ETAPES_DE_REPRISE } from './contrat.js';
|
|
4
4
|
export const USAGE = 'usage: npx grillhouse circuit <ticket> [--reprendre [--contexte <texte>] | ' +
|
|
5
5
|
'--depuis <testwriter|preuve|developpeur|controles|passe-finale> --contexte <texte> | ' +
|