@roomi-fields/grillhouse 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +14 -0
- package/cadre/templates/c/package.json +19 -0
- package/cadre/templates/projet/.github/workflows/ci.yml +34 -49
- package/cadre/templates/projet/CLAUDE.md +6 -0
- package/cadre/templates/projet/docs/agents/issue-tracker.md +1 -1
- package/charte.md +17 -9
- package/dist/temporal/circuit/client.d.ts +14 -5
- package/dist/temporal/circuit/client.js +39 -9
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/file/activites.d.ts +2 -0
- package/dist/temporal/file/activites.js +7 -0
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +26 -18
- package/dist/temporal/file/contrat.js +8 -5
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.d.ts +1 -1
- package/dist/temporal/file/deroule.js +91 -42
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/tickets/activites.js +4 -13
- package/dist/temporal/tickets/activites.js.map +1 -1
- package/docs/ARCHITECTURE.md +117 -82
- package/docs/INTERFACE.md +36 -19
- package/hooks/register.tsx +1 -1
- package/package.json +1 -1
- package/scripts/activites.mjs +5 -11
- package/scripts/arbres-juges.mjs +59 -0
- package/scripts/avancement.mjs +2 -38
- package/scripts/branche-de-nuit.mjs +14 -45
- package/scripts/ci-de-main.mjs +273 -0
- package/scripts/dernier-vert.mjs +12 -8
- package/scripts/etapes.mjs +1 -1
- package/scripts/faits-du-circuit.mjs +41 -25
- package/scripts/integration/file.mjs +126 -587
- package/scripts/integration/integrer.mjs +6 -5
- package/scripts/langages/c/binaires.json +4 -0
- package/scripts/langages/c/binaires.mjs +83 -0
- package/scripts/langages/c/clang-format.mjs +62 -0
- package/scripts/langages/c/clang-tidy.mjs +93 -0
- package/scripts/langages/c/clang.mjs +42 -0
- package/scripts/langages/c/commandes.mjs +530 -0
- package/scripts/langages/c/composants.mjs +209 -0
- package/scripts/langages/c/exemples.mjs +250 -0
- package/scripts/langages/c/index-interfaces.mjs +77 -0
- package/scripts/langages/c/index.mjs +120 -0
- package/scripts/langages/c/lot.mjs +41 -0
- package/scripts/langages/c/mise-a-jour.mjs +70 -0
- package/scripts/langages/c/squelette.mjs +61 -0
- package/scripts/langages/c/verdict.mjs +99 -0
- package/scripts/langages/typescript/turbo-des-paquets.mjs +16 -5
- package/scripts/langages-des-paquets.mjs +30 -2
- package/scripts/langages.mjs +1 -0
- package/scripts/mesure/avancement.mjs +1 -1
- package/scripts/migrations/0.47.0-ci-de-main.mjs +48 -0
- package/scripts/migrations.mjs +2 -2
- package/scripts/session-start.sh +0 -9
- package/scripts/sortie.mjs +1 -1
- package/scripts/superviseur.mjs +146 -88
- package/scripts/tableau.mjs +23 -8
- package/skills/grill/SKILL.md +6 -5
- package/skills/pitmaster/SKILL.md +9 -7
- package/skills/redacteur/references/documents-d-un-composant.md +1 -1
- package/scripts/ci-des-branches.mjs +0 -93
- package/scripts/migrations/0.33.0-ci-des-branches-de-ticket.mjs +0 -31
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
// pushed (`fermerLEntree`); `effet-de-la-file`, one effect they gave back, under the key of its
|
|
60
60
|
// activity. Their lines go to the error output.
|
|
61
61
|
import { appendFileSync, readFileSync } from 'node:fs';
|
|
62
|
-
import path from 'node:path';
|
|
63
62
|
import { pathToFileURL } from 'node:url';
|
|
64
63
|
import {
|
|
65
64
|
aLaFin,
|
|
@@ -83,17 +82,19 @@ import {
|
|
|
83
82
|
} from './circuit.mjs';
|
|
84
83
|
import {
|
|
85
84
|
avancerMain,
|
|
86
|
-
conclureLaCI,
|
|
87
85
|
direLIssue,
|
|
88
86
|
fermerLEntree,
|
|
89
|
-
|
|
90
|
-
lireLesPassagesDeLaCI,
|
|
91
|
-
relireLesLecturesDues,
|
|
87
|
+
jugerLeCandidat,
|
|
92
88
|
outilsDeLaFile,
|
|
93
89
|
preparerLaBranche,
|
|
94
90
|
situerLeLot,
|
|
95
91
|
} from './integration/file.mjs';
|
|
96
|
-
import {
|
|
92
|
+
import {
|
|
93
|
+
ghDans,
|
|
94
|
+
lireLaCiDeMain,
|
|
95
|
+
lotsDepuisLeVert,
|
|
96
|
+
ouvrirLeDefautDeMain,
|
|
97
|
+
} from './ci-de-main.mjs';
|
|
97
98
|
|
|
98
99
|
import { ecrireLEffet } from './effets.mjs';
|
|
99
100
|
import { Arret, commenter, geste } from './ticket-du-circuit.mjs';
|
|
@@ -467,29 +468,44 @@ Object.assign(ACTES, {
|
|
|
467
468
|
const o = laFile(racine);
|
|
468
469
|
return { ...fermerLEntree(o, { ticket, branche, commit }), effets: o.rendus };
|
|
469
470
|
},
|
|
470
|
-
//
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
const
|
|
474
|
-
|
|
475
|
-
|
|
471
|
+
// The final pass on the candidate, played in the queue's copy (`jugerLeCandidat`).
|
|
472
|
+
async juger({ racine, ticket, branche, commit }) {
|
|
473
|
+
const o = laFile(racine);
|
|
474
|
+
const r = jugerLeCandidat(o, { ticket, branche, commit });
|
|
475
|
+
return { ...r, effets: o.rendus };
|
|
476
|
+
},
|
|
477
|
+
// The CI of main read once, in the main tree: the defect ticket of a red passage opened for the
|
|
478
|
+
// owner (`ouvrirLeDefautDeMain`, one per passage), the lots entered since the last green named by
|
|
479
|
+
// git. `{ etat }`: `verte`, `rouge` or `non-lue`.
|
|
480
|
+
async 'surveiller-la-ci-de-main'({ racine }) {
|
|
481
|
+
const o = laFile(racine);
|
|
482
|
+
const lecture = lireLaCiDeMain({ racine, gh: ghDans(racine) });
|
|
483
|
+
if (lecture.etat === 'rouge') {
|
|
484
|
+
const pointe = o.principale ?? 'main';
|
|
485
|
+
const lots = lotsDepuisLeVert(racine, { vert: lecture.vert, pointe });
|
|
486
|
+
const r = ouvrirLeDefautDeMain({ racine, bd: o.bd }, lecture, lots);
|
|
487
|
+
if (r.faute) {
|
|
488
|
+
o.dire(`⚠ ${r.faute}`);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return { etat: lecture.etat };
|
|
492
|
+
},
|
|
493
|
+
// The acts of the former path of the queue (the CI of a ticket's branch, the readings of the
|
|
494
|
+
// workflows of main), kept for the executions in flight whose history replays them, retired
|
|
495
|
+
// by grillhouse-3uv.131 once they are drained: they read nothing and judge nothing, the lot
|
|
496
|
+
// having been prepared as the queue's former path did, and the final pass of its circuit
|
|
497
|
+
// having judged it.
|
|
498
|
+
async passages() {
|
|
499
|
+
return { etat: 'verte', passage: 'ancien-chemin' };
|
|
476
500
|
},
|
|
477
|
-
|
|
478
|
-
async 'inscrire-flux-de-main'({ racine, ...e }) {
|
|
479
|
-
inscrireLesFluxDeMain(laFile(racine), e);
|
|
501
|
+
async 'inscrire-flux-de-main'() {
|
|
480
502
|
return null;
|
|
481
503
|
},
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
const o = laFile(racine);
|
|
485
|
-
return {
|
|
486
|
-
...relireLesLecturesDues(o, { maintenant, ci }),
|
|
487
|
-
effets: o.rendus,
|
|
488
|
-
};
|
|
504
|
+
async 'relire-flux-de-main'() {
|
|
505
|
+
return { dues: 0, effets: [] };
|
|
489
506
|
},
|
|
490
|
-
async conclure(
|
|
491
|
-
|
|
492
|
-
return { ...conclureLaCI(o, e), effets: o.rendus };
|
|
507
|
+
async conclure() {
|
|
508
|
+
return { avancer: true, effets: [] };
|
|
493
509
|
},
|
|
494
510
|
// One effect an act of the queue gave back, under the key of its activity, with the outcome of
|
|
495
511
|
// the queue when it is not written (`ecrireLEffet`).
|