@roomi-fields/grillhouse 0.49.0 → 0.50.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 +38 -0
- package/bin/grillhouse.mjs +2 -0
- package/cadre/templates/projet/.github/workflows/ci.yml +5 -0
- package/cadre/templates/projet/.github/workflows/nuit.yml +6 -4
- package/cadre/templates/projet/CLAUDE.md +13 -96
- package/cadre/templates/projet/docs/agents/issue-tracker.md +5 -5
- package/charte.md +88 -96
- package/dist/temporal/acte.d.ts +9 -0
- package/dist/temporal/acte.js +45 -21
- 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 +35 -13
- 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/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-de-la-machine.mjs +10 -16
- package/scripts/avancement.mjs +2 -0
- package/scripts/base-des-workflows.mjs +2 -1
- package/scripts/binaires.mjs +2 -1
- package/scripts/branche-de-nuit.mjs +2 -1
- package/scripts/cadre.mjs +12 -3
- 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/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 +2 -1
- package/scripts/disque-des-copies.mjs +1 -1
- package/scripts/donnees-cles.mjs +2 -0
- package/scripts/droits.mjs +12 -10
- 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 +113 -89
- package/scripts/enveloppe/lancer.sh +5 -3
- package/scripts/enveloppe/paquets-du-plan.mjs +4 -6
- package/scripts/enveloppe/travail-de-la-copie.mjs +11 -16
- 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 +39 -0
- 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 +5 -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 +17 -4
- 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 +12 -5
- package/scripts/langages/typescript/tests-du-poste.mjs +60 -21
- 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/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/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/nuit.sh +48 -15
- 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/regles-des-places.mjs +4 -6
- package/scripts/repli-de-la-nuit.mjs +107 -35
- 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 +3 -0
- package/scripts/session-start.sh +0 -6
- 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/style-a-l-ecriture.mjs +2 -0
- package/scripts/tableau-des-composants.mjs +5 -7
- package/scripts/tableau.mjs +6 -5
- package/scripts/taches-du-graphe.mjs +3 -0
- package/scripts/ticket-du-circuit.mjs +1 -1
- package/scripts/ticket.mjs +3 -0
- package/scripts/transitions.mjs +30 -19
- 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/architecte/SKILL.md +203 -0
- package/skills/architecte/references/exemple-d-architecture.md +159 -0
- 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 +179 -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 +10 -8
- package/skills/testwriter/SKILL.md +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,44 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.50.0] - 2026-11-24
|
|
10
|
+
|
|
11
|
+
- **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.
|
|
12
|
+
|
|
13
|
+
- **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.
|
|
14
|
+
|
|
15
|
+
- **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.
|
|
16
|
+
|
|
17
|
+
- **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.
|
|
18
|
+
|
|
19
|
+
- **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.
|
|
20
|
+
|
|
21
|
+
- **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.
|
|
22
|
+
|
|
23
|
+
- **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.
|
|
24
|
+
|
|
25
|
+
## [0.49.1] - 2026-11-24
|
|
26
|
+
|
|
27
|
+
- **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.
|
|
28
|
+
|
|
29
|
+
- **A long output of an act no longer comes out altered, and a second sending of the red to a skipped testwriter stops the circuit** (grillhouse-3uv.217): in BPScript (0.49.0) the developpeur sent his red to the testwriter some twenty times in a row under a plan « comportement inchangé » (40 sessions). The act's output was decoded chunk by chunk, so a character of several bytes cut between two chunks of the pipe (near the 64 Ko mark of a 95 Ko red) became replacement characters; the red carried to the next run differed from the one compared, and the guard of the second sending never fired. The output is now decoded as a stream (the acts and the calls of Beads), and the guard no longer depends on the exact equality of a long text: under a plan that skips the testwriter, the second sending stops the circuit « sans-livraison » whatever the output. **Action for projects**: none.
|
|
30
|
+
|
|
31
|
+
- **The architecture document of the frame, its target, enters the repository** (grillhouse-3uv.216): decided by the owner (2026-11-23), who validated the text written by an architect agent. `docs/ARCHITECTURE.md` at the root, 15 lines until now, is replaced by the head document of the target architecture of the frame (components, flows, decisions, the building blocks to come); the common charter names it under « Ce qui décide ». The guards read it as the present state, so the table of components keeps the form they require: the line of the plugin, not yet a package, carries no language, and section 9 says the gap. No behaviour of the code changes. **Action for projects**: none.
|
|
32
|
+
|
|
33
|
+
- **A package of test material leaves the guard of the consumers' arbitrage** (grillhouse-3uv.207): in BPScript (0.48.0) the guard stopped three tickets at 3 Code (« sans-livraison ») because the testwriter added names to the Consommateurs line of 990-corpus, names born with the tests that no plan could announce. The guard no longer judges the interface of a package of the test material (one that exports `./test-fixtures`); a production code that reads it stays refused by the guard of the consumers, and the interface of delivered code is arbitrated as before. **Action for projects**: none.
|
|
34
|
+
|
|
35
|
+
- **The job fusion of the CI plays the preparation of the project** (grillhouse-3uv.210): in OSD (0.49.0, OSD-bpi) the job `fusion` of `ci.yml` was red in a project that declares `grillhouse.outils` (« la clé grillhouse.outils.KNOBKRAFT nomme … qui n'existe pas »): the jobs gardes and tranches played `npm run --if-present ci:preparer`, the job fusion did not, and its command requires the tools like every command of the frame. The job now plays the step after `npm ci` and before the merge, in the template and in the flow of Grillhouse; the architecture and the charter of the template say « chaque job ». **Action for projects**: `npx grillhouse maj` carries the step to a `ci.yml` that bears the frame's mark.
|
|
36
|
+
|
|
37
|
+
- **The night of the poste plays the measures of time that the project's flow does not** (grillhouse-3uv.213): in BPScript (0.49.0, flow of the template since 2026-11-23, 24 measure files), no one played the measures: the night read the word `pc2` of the flow and played `tests-de-nuit --du-poste`, which played the tests tagged `@poste` alone, while the template says « no measure of time plays here ». The night now decides on what the flow plays, read from its commands (`scripts/flux-de-la-nuit.mjs`: a command `tests-de-nuit --mesures`), not on a word: `--du-poste` plays the `@poste` tests, then the measures, unless the flow declares the job that plays them, as the flow of Grillhouse does; then the verdict of that job counts, and the poste plays them only when it was interrupted or never came. The last green is set only when the measures were played and are green, by the poste or by that job. The fallback (`scripts/repli-de-la-nuit.mjs`) took the latest run of the flow without looking at its commit: it now reads the run of the commit the night plays (a run of another commit counts for none; with none, every tranche and the measures play on the poste) and the state of the job `mesures`. The template header of `nuit.yml`, the comment of `nuit.sh` and the architecture say the same. **Action for projects**: none; the next night of the poste plays the measures. A project with a flow of its own that plays them adds a command `tests-de-nuit --mesures` to a job.
|
|
38
|
+
|
|
39
|
+
- **The user's own charter stays out of the role sessions** (grillhouse-3uv.214): `scripts/droits.mjs` launched each role with `--setting-sources project,local` and said the user's CLAUDE.md stayed out, but Claude Code loads `~/.claude/CLAUDE.md` whatever the sources, and the envelope mounted it read-only: 48 transcripts out of 48 carried it, with rules made for the user's own session (commit and push on their own). The envelope no longer mounts it, and the settings of every role exclude it (`claudeMdExcludes`), for the sessions out of the envelope too; the project's charter and the common charter it imports stay loaded. **Action for projects**: none.
|
|
40
|
+
|
|
41
|
+
- **The index of the code enters the envelope of the roles that have it** (grillhouse-3uv.212): the codegraph server, which the charter prescribes and the rights give to the roles that write, did not start in the envelope (947 transcripts of sessions under envelope out of 957 carry « codegraph … ENOENT … Executable not found in $PATH »): the home showed only claude, node, bd, dolt and git's configuration. The envelope of a role whose rights hold the index (`ROLES[role].index`) now mounts read-only `~/.local/bin/codegraph` and `~/.codegraph` (`cheminsDeLIndex`, `scripts/enveloppe/enveloppe.mjs`), and a role without the index receives neither; a program the poste lacks is named in the journal (`⚠ la séance part sans codegraph`). The rtfm server starts already: it comes with its plugin, which the envelope mounts. **Action for projects**: none.
|
|
42
|
+
|
|
43
|
+
- **The frame carries the skill of the architect, and the charter two rules that send a tension to it** (grillhouse-3uv.211): decided by the owner at the grill of grillhouse-2dh (2026-11-23). The plugin has a new skill, `grillhouse:architecte` (`mods/grillhouse/skills/architecte/SKILL.md`), for three works: to instruct a tension between a ticket and the architecture for the owner (the existing, the options, their trade-offs, a recommendation), to survey what the documents say against what the code does, and to bring a prescriptive document (`ARCHITECTURE.md`, `CADRE.md`, `INTERFACE.md`) into conformity after a decision. It carries an accomplished architecture document as an example (`references/exemple-d-architecture.md`, a copy of the architecture of osc-bridge). The common charter receives two rules after « Tous les agents jugent sur le plan »: « Une tension avec l'architecture monte, elle ne se résout pas dans le ticket » (the creator of a ticket, or the explorateur at the plan, who finds no paragraph or one the work contradicts stops and goes up to the supervisor, who loads the skill, instructs the decision and brings it to the owner) and « Un document prescriptif change sur décision seule » (after the decision an architect agent brings the document into conformity and the owner reads the lot; the reviewer returns any other lot that changes a prescriptive document). The supervisor's skill names the new skill. No behaviour of the code changes: neither the alert « en file sans architecture » nor the instructions of the explorateur and of the reviewer, which follow when the architecture document of the frame is written again. **Action for projects**: none; the skill and the rules arrive with the plugin at the update to the version that carries them.
|
|
44
|
+
|
|
45
|
+
- **The two reds of the night of 2026-11-23 on PC2 after grillhouse-3uv.204, both in the tests** (grillhouse-3uv.208): the night of Grillhouse on PC2 (run 45142235840, on 00daa8e3) was red in 2 tests out of 1 254. (A) `tests/unit/dossiers-d-essai.nuit.test.ts` plays by their name five night tests of the envelope, one of which bears `@poste` (claude logged in, the control groups of the user's session), and bore `@equipee` alone: the night of an equipped runner played it. As a tag of Bazel goes with the target to whoever plays it, a night test that names another night test of the repository, its name written whole in a string of its code, now carries what that test requires: the guard `tests-du-poste` reads the name and counts the mark of the poste, or of equipment, of the test named (a name built at run time is not read); `dossiers-d-essai.nuit.test.ts` and `machine.enveloppe-reelle.nuit.spec.ts` bear `@poste`, and the night of the poste keeps them. Same guard, same rules, no migration: no project of the frame has a night test that names another. (B) `tests/temporal/tickets.nuit.spec.ts`, « la file survit à un arrêt du serveur », waited 90 s for a ticket that never started: the test killed its trial server while the circuit of the first ticket was still opening, and a Temporal server killed between the moment it records an activity as started and the arrival of its answer holds that activity until its timeout (90 s of heartbeat and 5 s for an act of the circuit, ten minutes for the measure of its pause). The test now stops its server at rest (`attendreLeRepos` of `tests/temporal/essai.ts`, the predicate `estAuRepos` of `tests/temporal/repos-d-essai.ts`: no workflow task and no activity pending), and the queue's own wake goes from 500 ms to 5 s so that the end of the first circuit, not a timer, wakes it after the restart. The night file played alone is green (14 tests, this one in 3.7 s). Known and unchanged in the product: a server killed at that instant delays a circuit by the same timeout, then the circuit goes on by itself. **Action for projects**: none.
|
|
46
|
+
|
|
9
47
|
## [0.49.0] - 2026-11-23
|
|
10
48
|
|
|
11
49
|
- **The group of the project is read in the main tree, and `grillhouse paquet` refuses a faulty key before it writes** (grillhouse-3uv.205): in SyntHub (SH-bxj, 0.48.0, 2026-11-23), `npx grillhouse paquet packages/gardes`, launched in a copy of work (`.claude/worktrees/paquet-gardes`), ended at 1 on « grillhouse.groupe[0] vaut "../osc-bridge", pas un chemin de projet existant » after it had written the skeleton, and a second launch was refused (« le dossier porte déjà son package.json »). The update read the key in the package.json of the directory it was launched in and resolved its relative paths from there (`lireDuGroupe` of `scripts/grillhouse-maj.mjs`): from a copy, `../osc-bridge` led under `.claude/worktrees/`; `grillhouse maj` launched in a copy failed the same way. The other readers of the key (the survey of the supervisor's session, the queue of the tickets) already receive the main tree. And `creerPaquet` wrote the skeleton before the update judged the key. As git reads its configuration in its common directory whatever the worktree, and as a command validates before it writes (`terraform plan` before `apply`, `cargo new`), the new `groupeDe(dir)` of `scripts/groupe-cles.mjs` reads the key in the package.json of the main tree of the repository (`arbrePrincipal`, as `grillhouse.outils`) and resolves its paths from that tree; the update reads the group through it and writes each `external_projects` relative to the main tree, and `grillhouse paquet` judges the key before its first file: a faulty key is a refusal (⛔, exit code 1, no stack trace), nothing written. **Action for projects**: none; a copy left half built by such a refusal under 0.48.0 is removed (or its package folder and the workspace entry reverted) before the command is played again.
|
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
|
|
@@ -182,6 +182,11 @@ jobs:
|
|
|
182
182
|
- name: Install dependencies
|
|
183
183
|
run: npm ci
|
|
184
184
|
|
|
185
|
+
# The project's preparation (system packages, toolchains), when its package.json has the
|
|
186
|
+
# script `ci:preparer`; the merge reads the project's tools (`grillhouse.outils`).
|
|
187
|
+
- name: Prepare the project
|
|
188
|
+
run: npm run --if-present ci:preparer
|
|
189
|
+
|
|
185
190
|
- name: Reports of the tranches
|
|
186
191
|
uses: actions/download-artifact@v4
|
|
187
192
|
with:
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
#
|
|
3
3
|
# The night of a shared machine: once a night, on the default branch, the project's night tests but
|
|
4
4
|
# those that bear the tag @poste (a night test that depends on the poste: its envelope, its tools,
|
|
5
|
-
# its session; the frame's guard `tests-du-poste` asks for the tag), on Node 26.
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
5
|
+
# its session; the frame's guard `tests-du-poste` asks for the tag), on Node 26. This flow declares
|
|
6
|
+
# no job that plays the measures of time (a command `tests-de-nuit --mesures`, which the night of
|
|
7
|
+
# the poste reads, scripts/flux-de-la-nuit.mjs): a shared machine does not measure a time (the
|
|
8
|
+
# frame's charter, « Une mesure de temps joue la nuit »), so the night of the poste plays them, on
|
|
9
|
+
# its dedicated cores, after the tests tagged @poste. A green run here is never the last green: the
|
|
10
|
+
# night of the poste alone keeps it, once the measures were played and are green.
|
|
9
11
|
name: Nuit
|
|
10
12
|
|
|
11
13
|
on:
|
|
@@ -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,
|
|
@@ -82,6 +75,17 @@ n'attend que les vraies décisions.
|
|
|
82
75
|
ticket, comme une RFC amendée ; les commentaires restent l'historique. Ainsi chaque agent lit la
|
|
83
76
|
même décision.
|
|
84
77
|
|
|
78
|
+
**Une tension avec l'architecture monte, elle ne se résout pas dans le ticket** : le créateur du
|
|
79
|
+
ticket, ou l'explorateur au plan, qui ne trouve aucun paragraphe, ou en trouve un que le travail
|
|
80
|
+
contredit, s'arrête et monte au superviseur. Le superviseur charge la compétence `architecte`,
|
|
81
|
+
instruit la décision (l'existant, les options, leurs compromis) et la porte au responsable, qui
|
|
82
|
+
tranche. Ainsi aucun ticket ne décide de l'architecture.
|
|
83
|
+
|
|
84
|
+
**Un document prescriptif change sur décision seule** : après la décision du responsable, un agent
|
|
85
|
+
architecte met le document en conformité, et le responsable relit son lot ; le relecteur rend tout
|
|
86
|
+
autre lot qui modifie un document prescriptif. Ainsi le document reste la décision, et non la trace
|
|
87
|
+
du code.
|
|
88
|
+
|
|
85
89
|
**Un fait repris se relit à sa pièce** (fichier:ligne depuis la racine de la copie,
|
|
86
90
|
« $ commande » et sa sortie, ou « ticket, critère N » et « ticket, § <section> » pour ce que dit
|
|
87
91
|
le ticket) avant qu'un agent s'appuie dessus, et un fait transmis porte la
|
|
@@ -107,15 +111,17 @@ justification à donner. Chaque sorte de test prouve une chose :
|
|
|
107
111
|
| Banc de temps, témoin de temps | Un temps reste sous sa borne | Non : mesuré la nuit |
|
|
108
112
|
| Test de nuit | Le produit entier, monté dans un projet d'essai | Oui s'il porte le travail du ticket, joué la nuit |
|
|
109
113
|
|
|
110
|
-
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).
|
|
111
116
|
|
|
112
117
|
**La taille d'un test suit la pyramide** (la pyramide des tests de Google, les tailles de
|
|
113
118
|
Bazel) : un test petit vérifie son module par son interface, sans processus ; un test moyen
|
|
114
119
|
assemble quelques modules sur la machine, avec des processus locaux ; un test grand monte un
|
|
115
120
|
projet d'essai et y lance le produit ou le cadre entier : il est un test de nuit (`*.nuit.test.*`,
|
|
116
|
-
`*_nuit_test.py`, un module de `tests/it_nuit/` en Rust), jamais joué au fil du travail. Chaque
|
|
117
|
-
|
|
118
|
-
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
|
|
119
125
|
test de jour valide le code en l'important : lancer la commande grillhouse (son binaire, un
|
|
120
126
|
script du cadre) est réservé aux tests de bout-en-bout, sous un dossier `e2e/`, et la même garde
|
|
121
127
|
refuse les autres. Un test qui a besoin d'un autre paquet construit — le binaire ou la
|
|
@@ -134,21 +140,21 @@ test vit autant que son comportement, pas que son ticket.
|
|
|
134
140
|
**Une mesure de temps joue la nuit** (les tests `manual` de Bazel, les bancs de rustc-perf hors de
|
|
135
141
|
la CI de chaque commit) : le jour sert l'activité, et sa machine est toujours chargée. Un test qui
|
|
136
142
|
mesure un temps (un banc de temps, un témoin de temps) est hors du jour dans chaque langage, comme
|
|
137
|
-
un test de nuit ; la nuit le joue
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
il est rouge, et un délai trop juste s'élargit,
|
|
141
|
-
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.
|
|
142
148
|
|
|
143
149
|
**Un test qui exige de la charge joue la nuit** (les tests de résistance de Chromium et de rustc,
|
|
144
150
|
hors de la passe de chaque changement) : un test qui a besoin d'une machine chargée produit sa
|
|
145
|
-
charge lui-même et est un test de nuit, joué
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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.
|
|
152
158
|
|
|
153
159
|
**Un projet a plusieurs langages, un paquet un seul** : chaque paquet relève du langage de son
|
|
154
160
|
outil, et `npm test`, la vérification et le circuit jouent chaque paquet avec cet outil. Ainsi
|
|
@@ -158,8 +164,8 @@ chaque paquet se construit et se teste d'une seule façon.
|
|
|
158
164
|
composants de `docs/ARCHITECTURE.md` le nomme, l'`INTERFACE.md` du paquet le reprend, et le cadre
|
|
159
165
|
le lit là, sans le deviner aux fichiers ; la garde `grillhouse langages-des-paquets` refuse un
|
|
160
166
|
paquet que l'architecture ne déclare pas, dont le manifeste suit un autre langage, ou qui n'a pas
|
|
161
|
-
le manifeste du sien. Ainsi
|
|
162
|
-
|
|
167
|
+
le manifeste du sien (le document des tests, §5.6). Ainsi l'architecture fixe le langage, et le
|
|
168
|
+
code le suit.
|
|
163
169
|
|
|
164
170
|
**Un test vit dans un fichier à lui**, jamais dans un fichier de code, reconnu au nom ou au
|
|
165
171
|
dossier qu'attend l'outil de son langage : près de son module pour un test unitaire (en Rust, un
|
|
@@ -206,19 +212,12 @@ testwriter et la preuve du rouge, et une séance du développeur écrit, puis le
|
|
|
206
212
|
relecture. Reste au circuit complet ce qu'un utilisateur ou un autre paquet observe (une sortie,
|
|
207
213
|
un code de retour, une interface publiée) ; le texte qui accompagne un changement de comportement
|
|
208
214
|
reste dans son lot. Une configuration dont une garde mesure l'effet reste au circuit. Une
|
|
209
|
-
réorganisation qui a du code
|
|
210
|
-
suite existante
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
testwriter qui ne trouve aucun comportement à tester s'arrête (motif `aucun-comportement`), ou la
|
|
216
|
-
preuve du rouge refuse un lot de tests dont aucun ne peut rougir (arrêt `preuve`), et le
|
|
217
|
-
superviseur répond `--mecanique [<commande>]` (avec sa commande vers 1.1, sans elle vers le
|
|
218
|
-
développeur) ; le relecteur d'un lot du circuit court qui voit un comportement changer le rend
|
|
219
|
-
avec le motif `comportement-change`, et le ticket repart à 2 Tests, sa sorte changée. Cette
|
|
220
|
-
bascule compte parmi les `RENDU` : le troisième arrête toujours le circuit. Ainsi chaque séance
|
|
221
|
-
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.
|
|
222
221
|
|
|
223
222
|
**Un ticket prend l'une de trois voies** : le circuit complet pour un comportement qui change ;
|
|
224
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
|
|
@@ -275,18 +274,18 @@ dossier.
|
|
|
275
274
|
Ainsi le cadre ne maintient aucune spécificité par composant.
|
|
276
275
|
- **Une dette connue s'inscrit et se gèle** (`grillhouse-dette.json`) : une garde refuse tout
|
|
277
276
|
constat neuf, et le compte ne remonte jamais. Une garde à dette neuve du cadre arrive avec sa
|
|
278
|
-
migration, qui inscrit la dette existante des projets (
|
|
279
|
-
|
|
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.
|
|
280
279
|
- **Un flux de la CI déclare les paquets qu'il exerce, le relecteur le lit** (`grillhouse.flux` du
|
|
281
280
|
`package.json` racine) : une garde refuse un flux sans entrée ou un paquet inconnu, et la
|
|
282
|
-
consigne du relecteur nomme chaque flux que le lot touche
|
|
283
|
-
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.
|
|
284
283
|
- **Un fichier engendré se construit** plutôt que de se commiter (au démarrage, au déploiement),
|
|
285
284
|
comme les index de Homebrew ou de caniuse. Un fichier qu'un lecteur ne peut pas construire
|
|
286
285
|
(une page lue sur GitHub, une somme de contrôle publiée) reste commité : le projet le déclare
|
|
287
|
-
avec sa commande (`grillhouse.engendres`
|
|
288
|
-
|
|
289
|
-
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.
|
|
290
289
|
- **Un remplacement supprime le remplacé** dans le même commit, avec ses consommateurs et ses
|
|
291
290
|
gardes. Ainsi le produit garde une seule façon de faire chaque chose.
|
|
292
291
|
- **Une règle retirée emporte ce qu'elle seule tenait** : retirer une règle supprime, dans le même
|
|
@@ -317,16 +316,15 @@ dossier.
|
|
|
317
316
|
- **Les tests se lancent par `npm test`** : `npm test -- <chemins>` pour un lancement ciblé,
|
|
318
317
|
chaque chemin écrit depuis la racine du dépôt ; `npm run test:forcer -- <chemins>` pour rejouer
|
|
319
318
|
pour de vrai un test soupçonné instable. `npm run verifier` joue les gardes, le typage de chaque
|
|
320
|
-
paquet et les tests ; `npm run verifier -- --gardes`, les gardes, la mise en forme et le lint. Aucun
|
|
321
|
-
l'outil de test directement.
|
|
322
|
-
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.
|
|
323
323
|
- **Les tests ne laissent rien dans le dossier temporaire** : un test crée ses fichiers et
|
|
324
324
|
dossiers temporaires par l'outil de son langage, qui les retire à la fin, test rouge compris ;
|
|
325
|
-
aucun chemin ne se bâtit à la main sous le dossier temporaire.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
dossier temporaire, souvent un disque en mémoire que partagent les séances du poste, ne sature
|
|
329
|
-
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.
|
|
330
328
|
- **Un fichier temporaire meurt avec son propriétaire** : une passe ou une séance hors ticket (la
|
|
331
329
|
nuit, une vérification) écrit sous un dossier temporaire à elle, retiré à sa fin, même
|
|
332
330
|
interrompue, et balayé par la suivante quand son processus est tué ; un agent écrit sous celui
|
|
@@ -336,33 +334,27 @@ dossier.
|
|
|
336
334
|
reprendre vit dans la copie du ticket ou sa passation, jamais dans le seul dossier temporaire,
|
|
337
335
|
qui ne porte que ce qui se refait. Le dossier temporaire ne tient ni copie du dépôt, ni
|
|
338
336
|
`node_modules`, ni cache : un cache de compilation va sous `~/.cache/grillhouse/`. Une passe
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
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.
|
|
342
339
|
- **Main reste vert** : la file n'avance main que sur l'arbre que la passe finale du circuit (ou,
|
|
343
340
|
hors du circuit, la vérification du lot direct) a jugé vert, le lot posé sur la pointe de main ;
|
|
344
|
-
elle n'attend aucune CI de branche. La CI du projet
|
|
345
|
-
une fois par heure (le modèle
|
|
346
|
-
après l'entrée d'un lot
|
|
347
|
-
|
|
348
|
-
de
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
quarantaine dans le test lui-même (`it.skip` ou `it.fails`), avec le ticket qui le corrige.
|
|
352
|
-
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.
|
|
353
348
|
- **L'index d'abord** : toute recherche commence par `rtfm_search` (mode `hybrid`) pour le quoi, et
|
|
354
349
|
par `codegraph explore` (ou l'outil `codegraph_explore`) pour l'appel ; le shell lit un fichier
|
|
355
350
|
déjà nommé. Ainsi une affirmation sur le code repose sur ce que le code contient.
|
|
356
351
|
- **Tout se lit, le plan s'écrit** : dans son enveloppe, un agent lit tout le dépôt, index compris,
|
|
357
352
|
et n'écrit que les paquets que le plan de son ticket nomme. Une écriture hors du plan l'arrête,
|
|
358
|
-
et le superviseur étend le plan ou refuse.
|
|
359
|
-
arrêt, sa pièce écrite au ticket : un fichier que la description du ticket nomme,
|
|
360
|
-
composant
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
paquet est un fichier de test ; le circuit étend alors le plan à ces fichiers de test seuls,
|
|
364
|
-
que le testwriter écrit, le code du lecteur restant hors du plan. Ainsi
|
|
365
|
-
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.
|
|
366
358
|
- Tickets : Beads (`bd`), sous le préfixe du projet, voir `docs/agents/issue-tracker.md`.
|
|
367
359
|
- Une compétence du cadre s'appelle avec son préfixe `grillhouse:` ; un document pour un agent
|
|
368
360
|
s'écrit avec `grillhouse:writing-for-agents`.
|