@roomi-fields/grillhouse 0.38.2 → 0.39.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 +12 -0
- package/dist/temporal/circuit/client.d.ts +4 -3
- package/dist/temporal/circuit/client.js +4 -3
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +6 -4
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/tickets/deroule.js +16 -4
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/package.json +1 -1
- package/scripts/activites.mjs +24 -4
- package/scripts/grillhouse-maj.mjs +9 -6
- package/scripts/langages/typescript/index.mjs +5 -4
- package/scripts/recommencer.mjs +5 -3
- package/scripts/sources.mjs +5 -3
- package/skills/explorateur/SKILL.md +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.39.0] - 2026-11-15
|
|
10
|
+
|
|
11
|
+
- **The queue of the tickets counts only the circuits alive, not a finished circuit a ticket still carries** (grillhouse-d0t): the queue held a ticket out of the ready set while any `circuitDuTicket` workflow of it remained un-integrated, whatever its status — a circuit COMPLETED, TERMINATED or FAILED, even one of a ticket already closed (OSC Bridge OB-k7o), kept its ticket frozen out of the queue until Temporal's retention swept it, and the three groups (OSC Bridge, SyntHub, OSD) stalled with `partir:[]`. The queue now counts a ticket in progress only for a circuit alive (`circuits-vivants-seuls`, a Temporal patch so in-flight histories replay unchanged), a finished workflow no longer holding its ticket; the activity `circuitsNonIntegres` stays for the histories still replaying. **Action for projects**: none; a ticket a finished circuit held comes back to the queue on the next measure.
|
|
12
|
+
|
|
13
|
+
- **The proof of the red does not count a Rust integration-test harness with no test of its own as broken** (grillhouse-s2i): a changed test file of the lot that produces no result under its own name was counted « ne se charge pas / non joué », and `preuveReussie` refused on `casses > 0` before it reached the clause « comportement inchangé » (scripts/activites.mjs); but the Rust integration-test harness the charter prescribes (one executable per moment, `tests/it/main.rs` declaring its modules, no `#[test]` of its own) never produces a result under its own name — its tests live in its sub-modules, reported to their files — so a comportement-inchangé lot that added a module to it was refused for the harness alone, though the binary compiled and ran green (OSC Bridge OB-62b.1, code 0). A break is now told from an aggregator by a pure predicate (`casseDeChargement`): a changed test file with no result of its own, on a run that compiled (code 0, no compiler error), is not a break — it loaded, it has no test of its own; a real load failure (code ≠ 0, a compiler error) stays a break. **Action for projects**: none.
|
|
14
|
+
|
|
15
|
+
- **`--recommencer` says what it does: it resets the copy, not Temporal** (grillhouse-r0q): the doc of `--recommencer` (scripts/recommencer.mjs, src/temporal/circuit/commande.ts) announced « a reset of Temporal », but `recommencerLeCircuit` removes only the git copy, the branch, the fiches and the journal — the finished workflow stays on the server. With the queue counting only the circuits alive (grillhouse-d0t), that finished workflow is harmless; the comment now says the truth, at the present tense (it resets the copy, the server keeps the finished workflow, which the queue no longer holds the ticket back for). **Action for projects**: none.
|
|
16
|
+
|
|
17
|
+
- **The explorer classes a fix living entirely in the test matter as comportement inchangé, with no developer** (grillhouse-434): the field `sorte` of the explorer's plan (mods/grillhouse/skills/explorateur) told `mécanique`, `comportement inchangé` (a test adapted, then the developer writes the code) and `comportement`, but not the case where the fix lives entirely in the test matter (test isolation, shared helpers of `tests/common/`, new coverage of an existing behaviour): the product does not change, there is no developer lot, and the red-first is impossible (the testwriter delivers tests and helpers, green at once). On OB-62b.1 the explorer, expecting a red, classed it `comportement`, caught mid-circuit by the testwriter's question (finding OB-62b.1.5). The field now names this case: a lot whose work lives entirely in the test matter is `comportement inchangé` without a developer — the testwriter delivers the tests and helpers, then the checks and the review, no red-first expected — and the explorer tells it at step 1. **Action for projects**: none.
|
|
18
|
+
|
|
19
|
+
- **Turborepo's `.turbo` is the frame's, ignored by every project whatever its language** (grillhouse-ziw): `.turbo` was ignored by the typescript module alone, but since grillhouse-x2w (0.36.0) every language plays its tasks by Turborepo, which writes `.turbo/` in the tree; a cargo or python project's `.gitignore` did not ignore it, so the verifier wrote `crates/<x>/.turbo/…` and the clean-tree check of the integration refused the lot (OSC Bridge OB-4gy). `.turbo` moves to the frame's ignores (`IGNORES_DU_CADRE`), which `grillhouse maj` adds to every frame project's `.gitignore` whatever its language, and leaves the typescript module (`.vitest-reports`, `.cache-outils` stay its); the guard of the découpage (jointure) drops `turbo` from its tool-words, since Turborepo is the frame's common orchestrator since grillhouse-x2w, not a language tool (vitest, cargo stay). **Action for projects**: run `npx grillhouse maj`, which adds `.turbo/` to the project's `.gitignore`.
|
|
20
|
+
|
|
9
21
|
## [0.38.2] - 2026-11-15
|
|
10
22
|
|
|
11
23
|
- **The proof of the red reads a registry of results, written by the complete pass, instead of replaying HEAD's version of each test file** (grillhouse-43l): to tell a test of the lot that existed before the ticket (its green accepted) from a new one (which must be red first), the proof compiled and played HEAD's version of each test file beside the lot — a machinery grown by patches (the TypeScript `vertsDeHead` and the Rust and Python siblings `soeurDAvant`/`testsDeHead`, grillhouse-3e2, 3e2.2, pkl.9) whose drift refused twenty unchanged greens as « verts sans vert attendu » and, on a crate whose shared test matter had changed, read a phantom build failure (E0061) as the lot's red (OSC Bridge OB-62b.1, ~70 M tokens burnt). As Chromium's ResultDB and Mozilla's Treeherder keep each test's result by version of the main branch, the complete pass of `npm run verifier` (the night) now writes `<git common dir>/grillhouse/resultats/<branche>.json` — `{ commit, tests: { "<fichier>": { "<nom>": "passed" } } }`, the green tests of its branch — and the proof reads there which tests main already holds green, by name, no language replaying anything. A test of the lot whose name the registry holds existed before the ticket, its green accepted; one absent is new. A green test that a pass of the day or the night turns red is recorded as a regression in `regressions/<branche>.json`, with the moment it turned red (its last green commit, its first red HEAD), for the night to classify and correct (« Main reste vert »). The whole replay machinery is removed — the siblings and their walk, the trees they played, their guards and their tests — and the state of the repository and the place of its per-branch files move to a module both the last green and the registry share (`scripts/etat-du-depot.mjs`). **Action for projects**: none; the registry builds itself on the next green night, and until then the proof accepts each green it cannot yet name.
|
|
@@ -20,9 +20,10 @@ export declare class ReponseRefusee extends Error {
|
|
|
20
20
|
export declare function reprendreLeCircuit(client: Client, racine: string, ticket: string, contexte?: string | null, ou?: OuReprendre): Promise<string>;
|
|
21
21
|
/**
|
|
22
22
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
23
|
-
* journal, and its line names the copy removed.
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* journal, and its line names the copy removed. It resets the copy, not Temporal: the finished
|
|
24
|
+
* workflow stays on the server, which the queue, counting only the live circuits, no more holds the
|
|
25
|
+
* ticket back for (grillhouse-d0t). A circuit that runs is refused by its name (`ReponseRefusee`)
|
|
26
|
+
* and nothing is removed; a ticket the server no longer holds is removed all the same.
|
|
26
27
|
*/
|
|
27
28
|
export declare function recommencerLeCircuit(client: Client, racine: string, ticket: string, retirer: (racine: string, ticket: string) => string): Promise<string>;
|
|
28
29
|
/**
|
|
@@ -151,9 +151,10 @@ export async function reprendreLeCircuit(client, racine, ticket, contexte = null
|
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
154
|
-
* journal, and its line names the copy removed.
|
|
155
|
-
*
|
|
156
|
-
*
|
|
154
|
+
* journal, and its line names the copy removed. It resets the copy, not Temporal: the finished
|
|
155
|
+
* workflow stays on the server, which the queue, counting only the live circuits, no more holds the
|
|
156
|
+
* ticket back for (grillhouse-d0t). A circuit that runs is refused by its name (`ReponseRefusee`)
|
|
157
|
+
* and nothing is removed; a ticket the server no longer holds is removed all the same.
|
|
157
158
|
*/
|
|
158
159
|
export async function recommencerLeCircuit(client, racine, ticket, retirer) {
|
|
159
160
|
const d = await handle(client, racine, ticket)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","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3E,cAAc,EAAE,IAAI,EAAE,cAAc,IAAI,IAAI;YAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,IAAI,EAAE;YAC5B,IAAI,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;YACvF,MAAM,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,CAAC;YAClC,UAAU;YACV,SAAS,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;YACjC,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,KAAK;YACZ,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC;YACxB,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI;SAChD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
// - `--reprendre`, `--depuis` and `--etendre` answer the stop of the circuit (the updates of its
|
|
23
23
|
// workflow, or a new workflow on the state a stopped one gave back), `--arreter` stops it (its
|
|
24
24
|
// signal); a package of `--etendre` the repository does not hold is refused before, by its name; `--contexte` gives the supervisor's text to each, and `--depuis` requires it.
|
|
25
|
-
// - `--recommencer` starts a stopped circuit over,
|
|
26
|
-
// it carries), its sheets and its journal are removed, then the ticket goes in the queue
|
|
27
|
-
// circuit starts from the testwriter in a fresh copy; the ticket, its plan and its
|
|
28
|
-
//
|
|
25
|
+
// - `--recommencer` starts a stopped circuit over, resetting its copy, not Temporal: its copy (with
|
|
26
|
+
// any work it carries), its sheets and its journal are removed, then the ticket goes in the queue
|
|
27
|
+
// and its circuit starts from the testwriter in a fresh copy; the ticket, its plan and its
|
|
28
|
+
// comments stay. The finished workflow stays on the server, but the queue counts only the live
|
|
29
|
+
// circuits and no more holds the ticket back (grillhouse-d0t). A circuit that runs is refused; it
|
|
30
|
+
// goes alone (./appel.ts).
|
|
29
31
|
// - Each writes one line on the standard output, exit 0. A malformed call writes the usage, a
|
|
30
32
|
// refusal (`ReponseRefusee`, the ticket refused) its reason, on the error stream, exit 2. A
|
|
31
33
|
// server that does not answer, or Beads that fails, is said on the error stream, exit 1.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commande.js","sourceRoot":"","sources":["../../../src/temporal/circuit/commande.ts"],"names":[],"mappings":";AACA,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,8FAA8F;AAC9F,iEAAiE;AACjE,qFAAqF;AACrF,oFAAoF;AACpF,+DAA+D;AAC/D,8CAA8C;AAC9C,EAAE;AACF,8FAA8F;AAC9F,qFAAqF;AACrF,kGAAkG;AAClG,+FAA+F;AAC/F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,kGAAkG;AAClG,gGAAgG;AAChG,iBAAiB;AACjB,iGAAiG;AACjG,iGAAiG;AACjG,iLAAiL;AACjL,
|
|
1
|
+
{"version":3,"file":"commande.js","sourceRoot":"","sources":["../../../src/temporal/circuit/commande.ts"],"names":[],"mappings":";AACA,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,8FAA8F;AAC9F,iEAAiE;AACjE,qFAAqF;AACrF,oFAAoF;AACpF,+DAA+D;AAC/D,8CAA8C;AAC9C,EAAE;AACF,8FAA8F;AAC9F,qFAAqF;AACrF,kGAAkG;AAClG,+FAA+F;AAC/F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,kGAAk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KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;IAC/E,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAEhB,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CACnC,IAAI,CAAC,EAAE;IACL,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC1B,CAAC,EACD,CAAC,CAAU,EAAE,EAAE;IACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CACF,CAAC"}
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
// on the supervisor's word (`--arreter`, the label `circuit` taken off): Beads, the durable
|
|
14
14
|
// register, keeps it from starting again. A circuit alive whose ticket was closed outside it
|
|
15
15
|
// (delivered directly) before its integration counts no more: the queue stops it (ARRETER) at its
|
|
16
|
-
// next wake, as Zuul drops from its pipeline a change abandoned or merged.
|
|
17
|
-
// (
|
|
16
|
+
// next wake, as Zuul drops from its pipeline a change abandoned or merged. Only the circuits alive
|
|
17
|
+
// (the server's Running: in progress or paused on a question, a place) hold their ticket out of the
|
|
18
|
+
// queue (grillhouse-d0t); a finished circuit not integrated — integrated, stopped, closed outside
|
|
19
|
+
// it, interrupted — holds it no more, as a merge queue counts no finished try. The server keeps the
|
|
20
|
+
// finished circuits readable for the table and the supervisor, only the decision to start stops
|
|
21
|
+
// counting them.
|
|
18
22
|
// Each circuit is a child that outlives the queue and that its cancellation does not reach; a
|
|
19
23
|
// ticket whose circuit runs already, visible or not yet, does not start again. A fault (the
|
|
20
24
|
// setting, the package.json, Beads) starts nothing, named in the query. Past its length of
|
|
@@ -41,6 +45,10 @@ const PLACES_DE_LA_MACHINE = 'places-de-la-machine';
|
|
|
41
45
|
// The patch of the journal of states (grillhouse-4nr.20): a run that recorded its starts and ends
|
|
42
46
|
// before the change replays them without their line.
|
|
43
47
|
const TRACE_DE_LA_FILE = 'trace-de-la-file';
|
|
48
|
+
// The patch of the queue that counts only the circuits alive (grillhouse-d0t): a run that recorded
|
|
49
|
+
// its starts counting the finished circuits not integrated replays them so; a new run counts only
|
|
50
|
+
// the alive, so a finished circuit never holds a ticket out of the queue.
|
|
51
|
+
const CIRCUITS_VIVANTS_SEULS = 'circuits-vivants-seuls';
|
|
44
52
|
const REVEIL_MS = 60_000;
|
|
45
53
|
const LIMITE_D_HISTOIRE = 10_000;
|
|
46
54
|
/** The queue of the tickets of the project at <racine>. */
|
|
@@ -88,8 +96,12 @@ export async function ticketsDuProjet(entree) {
|
|
|
88
96
|
}
|
|
89
97
|
arretes = new Set(fermes);
|
|
90
98
|
vivants = [...new Set([...surLeServeur, ...lances])].filter(t => !arretes.has(t)).sort();
|
|
91
|
-
// A ticket whose circuit is
|
|
92
|
-
|
|
99
|
+
// A ticket whose circuit is alive (Running: in progress or paused) does not start again; a
|
|
100
|
+
// finished circuit not integrated holds no place, as a merge queue drops a change merged or
|
|
101
|
+
// abandoned. circuitsNonIntegres stays for a history in flight that replays it.
|
|
102
|
+
const tenus = patched(CIRCUITS_VIVANTS_SEULS)
|
|
103
|
+
? []
|
|
104
|
+
: await actes.circuitsNonIntegres({ racine });
|
|
93
105
|
const r = await actes.ticketsAPartir({
|
|
94
106
|
racine,
|
|
95
107
|
enCours: [...new Set([...vivants, ...tenus])].sort(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deroule.js","sourceRoot":"","sources":["../../../src/temporal/tickets/deroule.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,iGAAiG;AACjG,kEAAkE;AAClE,iGAAiG;AACjG,4FAA4F;AAC5F,4FAA4F;AAC5F,qCAAqC;AACrC,gGAAgG;AAChG,4FAA4F;AAC5F,mGAAmG;AACnG,mGAAmG;AACnG,iGAAiG;AACjG,4FAA4F;AA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OAAO,CAAC,EAAE,CAAC;gBACX,IAAI,CAAC,CAAC,CAAC,YAAY,oCAAoC,CAAC,EAAE,CAAC;oBACzD,MAAM,CAAC,CAAC;gBACV,CAAC;YACH,CAAC;YACD,OAAO,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACtD,CAAC;QACD,MAAM,GAAG,KAAK,CAAC;QACf,MAAM,SAAS,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACxC,IACE,YAAY,EAAE,CAAC,sBAAsB;YACrC,YAAY,EAAE,CAAC,aAAa,IAAI,iBAAiB,EACjD,CAAC;YACD,MAAM,SAAS,CAAC,mBAAmB,CAAC,CAAC;YACrC,OAAO,aAAa,CAAyB;gBAC3C,GAAG,MAAM;gBACT,OAAO,EAAE,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE;aAC5C,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
package/scripts/activites.mjs
CHANGED
|
@@ -930,6 +930,27 @@ export function preuveReussie(
|
|
|
930
930
|
return rouges > 0;
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
+
// Whether a changed test file of the lot, without a result of its own, is a casse — a real failure
|
|
934
|
+
// to load, the only cause of refusal on `casses`. Before the build (<constructions> present) it
|
|
935
|
+
// cannot load yet and plays at the checks, not a casse. With no result (<res> absent) on a run that
|
|
936
|
+
// ended well (<code> 0, the binary compiled and played), the file loaded and simply holds no test
|
|
937
|
+
// of its own — an aggregator harness (tests/it/main.rs, `mod …;`) or shared test matter; not a
|
|
938
|
+
// casse. With a result but no test (<res> present, 0 tests), it is a casse only when that result
|
|
939
|
+
// itself failed. Returns the kind of casse (`non-joue`, `ne-charge-pas`) or null when there is none.
|
|
940
|
+
export function casseDeChargement({ res, code, constructions }) {
|
|
941
|
+
const tests = res?.tests ?? [];
|
|
942
|
+
if (constructions.length && (!res || tests.length === 0)) {
|
|
943
|
+
return null;
|
|
944
|
+
}
|
|
945
|
+
if (!res) {
|
|
946
|
+
return code === 0 ? null : 'non-joue';
|
|
947
|
+
}
|
|
948
|
+
if (tests.length === 0) {
|
|
949
|
+
return res.etat === 'failed' ? 'ne-charge-pas' : null;
|
|
950
|
+
}
|
|
951
|
+
return null;
|
|
952
|
+
}
|
|
953
|
+
|
|
933
954
|
// The files <fichiers> of the lot, in the copy, split into the ones the day plays (`jour`), the
|
|
934
955
|
// ones only the night plays (`misDeCote`: a night test, a bench, a time witness), by each module's
|
|
935
956
|
// own definition (`horsDuJour` of the join), and the ones out of every package of the language
|
|
@@ -1586,13 +1607,12 @@ export function preuve(ctx, { mesure: derniere = null, fichiers: seuls = null }
|
|
|
1586
1607
|
const res = resultats.find(t => t.fichier === path.join(ctx.copie, f));
|
|
1587
1608
|
const tests = res?.tests ?? [];
|
|
1588
1609
|
const deHead = vertsDuRegistre(registre, f);
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
} else if (!res) {
|
|
1610
|
+
const casse = casseDeChargement({ res, code, constructions });
|
|
1611
|
+
if (casse === 'non-joue') {
|
|
1592
1612
|
casses.push(
|
|
1593
1613
|
`${f} — ne se charge pas : non joué (code ${code}) ; le journal du ticket : ${ctx.journal} (il se cite en pièce, \`${ctx.ticket}.log:<ligne>\`)`
|
|
1594
1614
|
);
|
|
1595
|
-
} else if (
|
|
1615
|
+
} else if (casse === 'ne-charge-pas') {
|
|
1596
1616
|
casses.push(`${f} — ne se charge pas : ${premiereLigne(res.message || res.etat)}`);
|
|
1597
1617
|
}
|
|
1598
1618
|
for (const a of tests) {
|
|
@@ -92,8 +92,9 @@
|
|
|
92
92
|
// names each tool added and `npm install`, which installs them. A project without
|
|
93
93
|
// `packageManager` receives the template's.
|
|
94
94
|
// - What the frame writes in a project (IGNORES_DU_CADRE: the copies of the tickets,
|
|
95
|
-
// `.claude/worktrees
|
|
96
|
-
//
|
|
95
|
+
// `.claude/worktrees`, and Turborepo's `.turbo`, the tool every language plays its tasks by) and
|
|
96
|
+
// what the tools of the declared language write there (`ignorer` of its module: typescript's
|
|
97
|
+
// `.vitest-reports`, cargo's `target`): a `.gitignore` that does not ignore one
|
|
97
98
|
// receives its line, `<nom>/`. The template's `.gitignore` lists none of them: the update is
|
|
98
99
|
// their one source, for a project `init` creates as for an existing one.
|
|
99
100
|
// - The binaries of the declared language (`binaires` of its module: cargo's nextest and
|
|
@@ -199,11 +200,13 @@ const lireJson = (f, defaut) => {
|
|
|
199
200
|
};
|
|
200
201
|
|
|
201
202
|
/**
|
|
202
|
-
* The directories the frame itself writes in a project, which its `.gitignore` ignores: the
|
|
203
|
-
*
|
|
204
|
-
*
|
|
203
|
+
* The directories the frame itself writes in a project, which its `.gitignore` ignores: the copies
|
|
204
|
+
* of the tickets, and the runs and cache of Turborepo (`.turbo`), the tool every language of the
|
|
205
|
+
* frame plays its tasks by (grillhouse-x2w), written whatever the project's language. The template's
|
|
206
|
+
* `.gitignore` lists none of them, nor what the tools of its language write: the update lays both,
|
|
207
|
+
* in a new project as in an existing one.
|
|
205
208
|
*/
|
|
206
|
-
export const IGNORES_DU_CADRE = ['.claude/worktrees'];
|
|
209
|
+
export const IGNORES_DU_CADRE = ['.claude/worktrees', '.turbo'];
|
|
207
210
|
|
|
208
211
|
// Adds to the `.gitignore` of the project at <projet> each directory the frame writes
|
|
209
212
|
// (IGNORES_DU_CADRE) and each its language's tools write (`ignorer` of its module), as `<nom>/`,
|
|
@@ -208,10 +208,11 @@ export default {
|
|
|
208
208
|
binaires: {},
|
|
209
209
|
// No program the installer of Temporal looks for: Node is a tool of the account.
|
|
210
210
|
executables: [],
|
|
211
|
-
// What its tools write in a project:
|
|
212
|
-
//
|
|
213
|
-
//
|
|
214
|
-
|
|
211
|
+
// What its tools write in a project: Vitest's reports of the tranches of a pass (./tranches.mjs),
|
|
212
|
+
// and the cache of the lint and of the format check of the project (`.cache-outils/`). Turborepo's
|
|
213
|
+
// runs and cache (`.turbo`) are the frame's, every language playing by it: IGNORES_DU_CADRE of
|
|
214
|
+
// scripts/grillhouse-maj.mjs ignores them.
|
|
215
|
+
ignorer: ['.vitest-reports', '.cache-outils'],
|
|
215
216
|
// Where its tools write: the cache of Turborepo in the main tree, shared by every copy, written;
|
|
216
217
|
// the logs of Turborepo's tasks (`.turbo/turbo-<task>.log`, written on every run, a task replayed
|
|
217
218
|
// from its cache included, and which no option of Turborepo sends elsewhere) and the cache of
|
package/scripts/recommencer.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// `grillhouse circuit <ticket> --recommencer`: the removal of what a ticket's circuit left, so that
|
|
2
|
-
// a fresh launch starts from the testwriter in a fresh copy.
|
|
3
|
-
//
|
|
4
|
-
// working directory go; the ticket, its description, its plan and its comments are Beads'
|
|
2
|
+
// a fresh launch starts from the testwriter in a fresh copy. It resets the copy, not Temporal: the
|
|
3
|
+
// copy (whatever work it carries, the gesture being asked for), its branch, its sheets, its journal
|
|
4
|
+
// and its working directory go; the ticket, its description, its plan and its comments are Beads'
|
|
5
|
+
// and stay. The finished workflow stays on the server, which the queue, counting only the live
|
|
6
|
+
// circuits, no more holds the ticket back for (grillhouse-d0t).
|
|
5
7
|
import { spawnSync } from 'node:child_process';
|
|
6
8
|
import { existsSync, rmSync } from 'node:fs';
|
|
7
9
|
import path from 'node:path';
|
package/scripts/sources.mjs
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
// text imports a package (`importe`).
|
|
4
4
|
//
|
|
5
5
|
// - Left out: the directories of the frame's tools and of what npm installs (node_modules, .git,
|
|
6
|
-
// dist, coverage, .claude, .beads, .codegraph, .rtfm
|
|
7
|
-
// language
|
|
8
|
-
// `target`), as git
|
|
6
|
+
// dist, coverage, .claude, .beads, .codegraph, .rtfm, and Turborepo's `.turbo`, the tool every
|
|
7
|
+
// language plays its tasks by), and what the tools of the project's language write (`ignorer` of
|
|
8
|
+
// its module, scripts/jointure.d.ts: typescript's `.vitest-reports`, cargo's `target`), as git
|
|
9
|
+
// leaves out what a `.gitignore` names. A project that declares no language
|
|
9
10
|
// (the column « Langage » of its docs/ARCHITECTURE.md) leaves out what every language of the
|
|
10
11
|
// frame writes.
|
|
11
12
|
import { readdirSync } from 'node:fs';
|
|
@@ -22,6 +23,7 @@ const HORS = [
|
|
|
22
23
|
'.beads',
|
|
23
24
|
'.codegraph',
|
|
24
25
|
'.rtfm',
|
|
26
|
+
'.turbo',
|
|
25
27
|
];
|
|
26
28
|
|
|
27
29
|
/** The directories left out in the project at <racine>: the frame's, and what its language's tools
|
|
@@ -85,7 +85,12 @@ change, et ceux qu'il peut casser.
|
|
|
85
85
|
aucun comportement que ses tests mesurent (un test adapté, un seuil relevé dans un test)
|
|
86
86
|
porte `comportement` `inchangé`, le plan « comportement inchangé » : sa preuve accepte chaque
|
|
87
87
|
vert de son lot, puis le développeur écrit le code (une réorganisation en a), les contrôles
|
|
88
|
-
et la relecture.
|
|
88
|
+
et la relecture. Un ticket dont le lot vit entièrement dans la matière de test (le produit ne
|
|
89
|
+
change pas : l'isolation des tests, une aide partagée, la couverture neuve d'un comportement
|
|
90
|
+
existant) porte aussi `comportement` `inchangé`, mais sans développeur : le testwriter livre
|
|
91
|
+
les tests et les aides, puis les contrôles et la relecture ; aucun rouge-d'abord n'est attendu,
|
|
92
|
+
car aucun comportement produit n'est neuf. Je le reconnais dès l'étape 1 et ne le classe pas
|
|
93
|
+
`comportement`. Une sorte absente, ou sans sa raison, ou mécanique sans sa commande, vaut
|
|
89
94
|
`comportement` : le circuit entier ;
|
|
90
95
|
- `ecartes` : chaque composant du relevé que le plan ne touche pas, avec sa raison (il n'a
|
|
91
96
|
rien à changer, par exemple) ; le circuit l'écrit au ticket. Le circuit rejoue le relevé sur
|